Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros

◆ GetTypeByName() [2/3]

static RuntimeType System.RuntimeTypeHandle.GetTypeByName ( string name,
bool throwOnError,
bool ignoreCase,
ref StackCrawlMark stackMark,
AssemblyLoadContext assemblyLoadContext )
inlinestaticpackage

Definition at line 465 of file RuntimeTypeHandle.cs.

466 {
467 if (string.IsNullOrEmpty(name))
468 {
469 if (throwOnError)
470 {
471 throw new TypeLoadException(SR.Arg_TypeLoadNullStr);
472 }
473 return null;
474 }
475 RuntimeType o = null;
476 object o2 = null;
479 GC.KeepAlive(o2);
480 return o;
481 }
static void GetTypeByName(string name, bool throwOnError, bool ignoreCase, StackCrawlMarkHandle stackMark, ObjectHandleOnStack assemblyLoadContext, ObjectHandleOnStack type, ObjectHandleOnStack keepalive)

References System.SR.Arg_TypeLoadNullStr, System.Runtime.Serialization.Dictionary, System.RuntimeTypeHandle.GetTypeByName(), and System.GC.KeepAlive().