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

◆ EnterContextualReflection() [2/2]

static ContextualReflectionScope System.Runtime.Loader.AssemblyLoadContext.EnterContextualReflection ( Assembly? activating)
inlinestaticinherited

Definition at line 583 of file AssemblyLoadContext.cs.

584 {
585 if (activating == null)
586 {
587 return new ContextualReflectionScope(null);
588 }
590 if (loadContext == null)
591 {
592 throw new ArgumentException(SR.Arg_MustBeRuntimeAssembly, "activating");
593 }
594 return loadContext.EnterContextualReflection();
595 }
static ? AssemblyLoadContext GetLoadContext(Assembly assembly)

References System.SR.Arg_MustBeRuntimeAssembly, and System.Runtime.Loader.AssemblyLoadContext.GetLoadContext().