16 references to StaticClassConstructionContext
System.Private.CoreLib (13)
Internal\Runtime\Augments\RuntimeAugments.cs (2)
354
StaticClassConstructionContext
* context = (
StaticClassConstructionContext
*)staticClassConstructionContext;
System\Runtime\CompilerServices\ClassConstructorRunner.cs (11)
33
private static unsafe object CheckStaticClassConstructionReturnGCStaticBase(
StaticClassConstructionContext
* context, object gcStaticBase)
39
private static unsafe IntPtr CheckStaticClassConstructionReturnNonGCStaticBase(
StaticClassConstructionContext
* context, IntPtr nonGcStaticBase)
45
private static unsafe object CheckStaticClassConstructionReturnThreadStaticBase(TypeManagerSlot* pModuleData, int typeTlsIndex,
StaticClassConstructionContext
* context)
53
public static unsafe void EnsureClassConstructorRun(
StaticClassConstructionContext
* pContext)
129
private static unsafe bool DeadlockAwareAcquire(CctorHandle cctor,
StaticClassConstructionContext
* pContext)
255
private
StaticClassConstructionContext
* _pContext;
260
public static CctorHandle GetCctor(
StaticClassConstructionContext
* pContext)
312
if (segment[i]._pContext == default(
StaticClassConstructionContext
*))
337
Debug.Assert(resultArray[resultIndex]._pContext == default(
StaticClassConstructionContext
*));
490
private static unsafe void NoisyLog(string format,
StaticClassConstructionContext
* pContext, int threadId)
500
private static unsafe void DebugLog(string format,
StaticClassConstructionContext
* pContext, int threadId)
System.Private.TypeLoader (3)
Internal\Runtime\TypeLoader\TypeBuilder.cs (1)
27
public static unsafe int ClassConstructorOffset => -sizeof(System.Runtime.CompilerServices.
StaticClassConstructionContext
);
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.Metadata.cs (2)
344
ptr -= sizeof(System.Runtime.CompilerServices.
StaticClassConstructionContext
);
376
return (IntPtr)(pNonGcStaticBase - sizeof(System.Runtime.CompilerServices.
StaticClassConstructionContext
));