fork download
  1. using System;
  2.  
  3. public class Program {
  4. public static void Main() {
  5. foreach (var arquivo in AppDomain.CurrentDomain.GetAssemblies()) {
  6. foreach (var tipo in arquivo.GetTypes()) {
  7. if (typeof(Type).IsAssignableFrom(tipo)) {
  8. Console.WriteLine(tipo);
  9. }
  10. }
  11. }
  12. }
  13. }
  14.  
  15. //https://pt.stackoverflow.com/q/42910/101
Success #stdin #stdout 0.03s 17436KB
stdin
Standard input is empty
stdout
System.RuntimeType
System.ReflectionOnlyType
System.Type
System.MonoType
System.Reflection.TypeDelegator
System.Reflection.TypeInfo
System.Reflection.Emit.SymbolType
System.Reflection.Emit.ArrayType
System.Reflection.Emit.ByRefType
System.Reflection.Emit.PointerType
System.Reflection.Emit.EnumBuilder
System.Reflection.Emit.GenericTypeParameterBuilder
System.Reflection.Emit.TypeBuilder
System.Reflection.Emit.TypeBuilderInstantiation