1 write to _type
ILCompiler.Compiler (1)
Compiler\DependencyAnalysis\NonGCStaticsNode.cs (1)
30
_type
= type;
28 references to _type
ILCompiler.Compiler (28)
Compiler\DependencyAnalysis\NonGCStaticsNode.cs (28)
43
else if (_preinitializationManager.IsPreinitialized(
_type
))
52
foreach (FieldDesc field in
_type
.GetFields())
82
sb.Append(nameMangler.NodeMangler.NonGCStatics(
_type
));
94
return GetClassConstructorContextStorageSize(
_type
.Context.Target,
_type
);
119
public bool HasCCtorContext => TypeHasCctorContext(_preinitializationManager,
_type
);
121
public bool HasLazyStaticConstructor => _preinitializationManager.HasLazyStaticConstructor(
_type
);
123
public override bool IsShareable => EETypeNode.IsTypeNodeShareable(
_type
);
125
public MetadataType Type =>
_type
;
153
int fieldAlignment =
_type
.NonGCStaticFieldAlignment.AsInt;
157
public override bool HasConditionalStaticDependencies =>
_type
.ConvertToCanonForm(CanonicalFormKind.Specific) !=
_type
;
164
new CombinedDependencyListEntry(factory.NecessaryTypeSymbol(
_type
),
165
factory.NativeLayout.TemplateTypeLayout(
_type
.ConvertToCanonForm(CanonicalFormKind.Specific)),
173
if (factory.PreinitializationManager.HasEagerStaticConstructor(
_type
))
175
sink.Add(factory.EagerCctorIndirection(
_type
.GetStaticConstructor()), "Eager .cctor");
177
ModuleUseBasedDependencyAlgorithm.AddDependenciesDueToModuleUse(sink, factory,
_type
.Module);
191
int classConstructorContextStorageSize = GetClassConstructorContextStorageSize(factory.Target,
_type
);
194
Debug.Assert(classConstructorContextStorageSize >= GetClassConstructorContextSize(
_type
.Context.Target));
197
builder.EmitZeros(classConstructorContextStorageSize - GetClassConstructorContextSize(
_type
.Context.Target));
211
MethodDesc cctorMethod =
_type
.GetStaticConstructor();
220
if (_preinitializationManager.IsPreinitialized(
_type
))
222
TypePreinit.PreinitializationInfo preinitInfo = _preinitializationManager.GetPreinitializationInfo(
_type
);
224
foreach (FieldDesc field in
_type
.GetFields())
239
int pad =
_type
.NonGCStaticFieldSize.AsInt - builder.CountBytes + initialOffset;
245
builder.EmitZeros(
_type
.NonGCStaticFieldSize.AsInt);
257
return comparer.Compare(
_type
, ((NonGCStaticsNode)other).
_type
);