22 references to StaticIndex
ILCompiler.ReadyToRun (22)
Compiler\ReadyToRunMetadataFieldLayoutAlgorithm.cs (22)
270int[][] nonGcStaticsCount = new int[StaticIndex.Count][] 276int[] gcPointerCount = new int[StaticIndex.Count]; 277int[] gcBoxedCount = new int[StaticIndex.Count]; 287int index = (IsFieldThreadStatic(in fieldDef, module.MetadataReader) ? StaticIndex.ThreadLocal : StaticIndex.Regular); 324LayoutInt[] nonGcStaticFieldOffsets = new LayoutInt[StaticIndex.Count] 326offsetsForType.NonGcOffsets[StaticIndex.Regular], 327offsetsForType.NonGcOffsets[StaticIndex.ThreadLocal], 330LayoutInt[][] nonGcStatics = new LayoutInt[StaticIndex.Count][] 338for (int index = 0; index < StaticIndex.Count; index++) 347LayoutInt[] gcBoxedFieldOffsets = new LayoutInt[StaticIndex.Count] 349offsetsForType.GcOffsets[StaticIndex.Regular], 350offsetsForType.GcOffsets[StaticIndex.ThreadLocal], 353LayoutInt[] gcPointerFieldOffsets = new LayoutInt[StaticIndex.Count] 355offsetsForType.GcOffsets[StaticIndex.Regular] + new LayoutInt(gcBoxedCount[StaticIndex.Regular] * pointerSize), 356offsetsForType.GcOffsets[StaticIndex.ThreadLocal] + new LayoutInt(gcBoxedCount[StaticIndex.ThreadLocal] * pointerSize) 365int index = (IsFieldThreadStatic(in fieldDef, module.MetadataReader) ? StaticIndex.ThreadLocal : StaticIndex.Regular); 574NonGcOffsets = new LayoutInt[StaticIndex.Count] { nonGcOffset, tlsNonGcOffset }; 575GcOffsets = new LayoutInt[StaticIndex.Count] { gcOffset, tlsGcOffset };