22 references to StaticIndex
ILCompiler.ReadyToRun (22)
Compiler\ReadyToRunMetadataFieldLayoutAlgorithm.cs (22)
280int[][] nonGcStaticsCount = new int[StaticIndex.Count][] 286int[] gcPointerCount = new int[StaticIndex.Count]; 287int[] gcBoxedCount = new int[StaticIndex.Count]; 297int index = (IsFieldThreadStatic(in fieldDef, module.MetadataReader) ? StaticIndex.ThreadLocal : StaticIndex.Regular); 334LayoutInt[] nonGcStaticFieldOffsets = new LayoutInt[StaticIndex.Count] 336offsetsForType.NonGcOffsets[StaticIndex.Regular], 337offsetsForType.NonGcOffsets[StaticIndex.ThreadLocal], 340LayoutInt[][] nonGcStatics = new LayoutInt[StaticIndex.Count][] 348for (int index = 0; index < StaticIndex.Count; index++) 357LayoutInt[] gcBoxedFieldOffsets = new LayoutInt[StaticIndex.Count] 359offsetsForType.GcOffsets[StaticIndex.Regular], 360offsetsForType.GcOffsets[StaticIndex.ThreadLocal], 363LayoutInt[] gcPointerFieldOffsets = new LayoutInt[StaticIndex.Count] 365offsetsForType.GcOffsets[StaticIndex.Regular] + new LayoutInt(gcBoxedCount[StaticIndex.Regular] * pointerSize), 366offsetsForType.GcOffsets[StaticIndex.ThreadLocal] + new LayoutInt(gcBoxedCount[StaticIndex.ThreadLocal] * pointerSize) 375int index = (IsFieldThreadStatic(in fieldDef, module.MetadataReader) ? StaticIndex.ThreadLocal : StaticIndex.Regular); 588NonGcOffsets = new LayoutInt[StaticIndex.Count] { nonGcOffset, tlsNonGcOffset }; 589GcOffsets = new LayoutInt[StaticIndex.Count] { gcOffset, tlsGcOffset };