Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ReflectionContext.cs
Go to the documentation of this file.
1namespace System.Reflection;
2
3public abstract class ReflectionContext
4{
5 public abstract Assembly MapAssembly(Assembly assembly);
6
7 public abstract TypeInfo MapType(TypeInfo type);
8
9 public virtual TypeInfo GetTypeForObject(object value)
10 {
11 if (value == null)
12 {
13 throw new ArgumentNullException("value");
14 }
15 return MapType(value.GetType().GetTypeInfo());
16 }
17}
TypeInfo MapType(TypeInfo type)
Assembly MapAssembly(Assembly assembly)
virtual TypeInfo GetTypeForObject(object value)