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