1 write to _type
ILCompiler.Compiler (1)
Compiler\DependencyAnalysis\NonGCStaticsNode.cs (1)
29
_type
= type;
30 references to _type
ILCompiler.Compiler (30)
Compiler\DependencyAnalysis\NonGCStaticsNode.cs (30)
42
else if (_preinitializationManager.IsPreinitialized(
_type
))
51
foreach (FieldDesc field in
_type
.GetFields())
81
sb.Append(nameMangler.NodeMangler.NonGCStatics(
_type
));
93
return GetClassConstructorContextStorageSize(
_type
.Context.Target,
_type
);
118
public bool HasCCtorContext => TypeHasCctorContext(_preinitializationManager,
_type
);
120
public bool HasLazyStaticConstructor => _preinitializationManager.HasLazyStaticConstructor(
_type
);
122
public override bool IsShareable => EETypeNode.IsTypeNodeShareable(
_type
);
124
public MetadataType Type =>
_type
;
146
public override bool HasConditionalStaticDependencies =>
_type
.ConvertToCanonForm(CanonicalFormKind.Specific) !=
_type
;
154
new CombinedDependencyListEntry(factory.NecessaryTypeSymbol(
_type
),
155
factory.NativeLayout.TemplateTypeLayout(
_type
.ConvertToCanonForm(CanonicalFormKind.Specific)),
166
if (factory.PreinitializationManager.HasEagerStaticConstructor(
_type
))
168
dependencyList.Add(factory.EagerCctorIndirection(
_type
.GetStaticConstructor()), "Eager .cctor");
171
ModuleUseBasedDependencyAlgorithm.AddDependenciesDueToModuleUse(ref dependencyList, factory,
_type
.Module);
187
int alignmentRequired = Math.Max(
_type
.NonGCStaticFieldAlignment.AsInt, GetClassConstructorContextAlignment(
_type
.Context.Target));
188
int classConstructorContextStorageSize = GetClassConstructorContextStorageSize(factory.Target,
_type
);
191
Debug.Assert(classConstructorContextStorageSize >= GetClassConstructorContextSize(
_type
.Context.Target));
194
builder.EmitZeros(classConstructorContextStorageSize - GetClassConstructorContextSize(
_type
.Context.Target));
208
MethodDesc cctorMethod =
_type
.GetStaticConstructor();
214
builder.RequireInitialAlignment(
_type
.NonGCStaticFieldAlignment.AsInt);
217
if (_preinitializationManager.IsPreinitialized(
_type
))
219
TypePreinit.PreinitializationInfo preinitInfo = _preinitializationManager.GetPreinitializationInfo(
_type
);
221
foreach (FieldDesc field in
_type
.GetFields())
236
int pad =
_type
.NonGCStaticFieldSize.AsInt - builder.CountBytes + initialOffset;
242
builder.EmitZeros(
_type
.NonGCStaticFieldSize.AsInt);
254
return comparer.Compare(
_type
, ((NonGCStaticsNode)other).
_type
);