10 references to CurrentContextualReflectionContext
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Activator.RuntimeType.cs (1)
125assembly = RuntimeAssembly.InternalLoad(assemblyName, ref stackMark, AssemblyLoadContext.CurrentContextualReflectionContext);
src\libraries\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyLoadContext.cs (3)
540/// <see cref="CurrentContextualReflectionContext"/> 555/// <see cref="CurrentContextualReflectionContext"/> 587_predecessor = CurrentContextualReflectionContext;
src\System\Reflection\Assembly.CoreCLR.cs (3)
22return RuntimeAssembly.InternalLoad(assemblyString, ref stackMark, AssemblyLoadContext.CurrentContextualReflectionContext); 37return RuntimeAssembly.InternalLoad(partialName, ref stackMark, AssemblyLoadContext.CurrentContextualReflectionContext); 53return RuntimeAssembly.InternalLoad(assemblyRef, ref stackMark, AssemblyLoadContext.CurrentContextualReflectionContext);
src\System\Reflection\Emit\RuntimeAssemblyBuilder.cs (1)
58(AssemblyLoadContext.CurrentContextualReflectionContext ?? AssemblyLoadContext.GetLoadContext(callingAssembly)) ??
src\System\Reflection\TypeNameResolver.CoreCLR.cs (1)
183_suppressContextualReflectionContext ? null : AssemblyLoadContext.CurrentContextualReflectionContext,
System.Private.Xml (1)
System\Xml\Serialization\Compilation.cs (1)
601var baseALC = AssemblyLoadContext.GetLoadContext(assembly) ?? AssemblyLoadContext.CurrentContextualReflectionContext;