mscorlib(4.0.0.0) API with additions
IntrospectionExtensions.cs
1 namespace System.Reflection
2 {
4  [__DynamicallyInvokable]
5  public static class IntrospectionExtensions
6  {
10  [__DynamicallyInvokable]
11  public static TypeInfo GetTypeInfo(this Type type)
12  {
13  if (type == null)
14  {
15  throw new ArgumentNullException("type");
16  }
17  return ((IReflectableType)type)?.GetTypeInfo();
18  }
19  }
20 }
The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method th...
Represents type declarations for class types, interface types, array types, value types,...
Definition: TypeInfo.cs:11
Contains methods for converting T:System.Type objects.
Represents type declarations: class types, interface types, array types, value types,...
Definition: Type.cs:18
static TypeInfo GetTypeInfo(this Type type)
Returns the T:System.Reflection.TypeInfo representation of the specified type.
Represents a type that you can reflect over.