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