Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
A list of all the classes loaded by the CLR on start-up

39 items listed (if you ignore #12)

13 primitives

52 in total


List compiled from the code in SystemDomain::LoadBaseSystemClasses()

  1. System.Object
  2. System.__Canon (special class, used as a generic 'placeholder')
  3. System.ValueType
  4. System.Enum
  5. System.RuntimeType
  6. System.Array
  7. System.SZArrayHelper (internal array helper class)
  8. System.ByReference<T> (new class, to make Span<T> possible)
  9. System.Nullable<T>
  10. System.Object[] (i.e. the Object array class)
  11. System.TypedReference
  12. All the built-in 'primitive' or 'value' types (13 in total):
  • System.Void (void)
  • System.Boolean (bool)
  • System.Char (char)
  • System.SByte (sbyte)
  • System.Byte (byte)
  • System.Int16 (short)
  • System.UInt16 (ushort)
  • System.Int32 (int)
  • System.UInt32 (uint)
  • System.Int64 (long)
  • System.UInt64 (ulong)
  • System.Single (float)
  • System.Double (double)
  1. System.IntPtr
  2. System.UIntPtr
  3. System.Delegate
  4. System.MulticastDelegate
  5. System.Collections.Generic.IEnumerable<T>
  6. System.Collections.Generic.ICollection<T>
  7. System.Collections.Generic.IList<T>
  8. System.Collections.Generic.IReadonlyCollection<T>
  9. System.Collections.Generic.IReadonlyList<T>
  10. System.String
  11. System.Byte[] (i.e. the Byte array class)
  12. System.Exception
  13. System.OutOfMemoryException
  14. System.StackOverflowException
  15. System.ExecutionEngineException
  16. System.ThreadAbortException
  17. System.Threading.Thread
  18. System.__ComObject (#ifdef FEATURE_COMINTEROP)
  19. System.Runtime.InteropServices.WindowsRuntime.RuntimeClass
  20. System.Collections.Generic.IDictionary<T,U>
  21. System.Collections.Generic.IReadOnlyDictionary<T,U>
  22. System.Collections.Generic.Attribute
  23. System.EventHandler<T>
  24. System.Collections.IEnumerable
  25. System.Collections.ICollection
  26. System.Collections.IList
  27. System.IDisposable (#endif // FEATURE_COMINTEROP)
  28. System.Runtime.CompilerServices.ICastable (#ifdef FEATURE_ICASTABLE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment