Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetTypeInfo()

static TypeInfo System.Reflection.IntrospectionExtensions.GetTypeInfo ( this Type type)
inlinestatic

Definition at line 5 of file IntrospectionExtensions.cs.

6 {
7 if (type == null)
8 {
9 throw new ArgumentNullException("type");
10 }
11 if (type is IReflectableType reflectableType)
12 {
13 return reflectableType.GetTypeInfo();
14 }
15 return new TypeDelegator(type);
16 }

References System.type.