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

◆ GetTypeForObject()

virtual TypeInfo System.Reflection.ReflectionContext.GetTypeForObject ( object value)
inlinevirtual

Definition at line 9 of file ReflectionContext.cs.

10 {
11 if (value == null)
12 {
13 throw new ArgumentNullException("value");
14 }
15 return MapType(value.GetType().GetTypeInfo());
16 }
TypeInfo MapType(TypeInfo type)

References System.Reflection.ReflectionContext.MapType(), and System.value.