2 writes to Type
ILCompiler.Compiler (2)
Compiler\TypePreinit.cs (2)
3733
Type
= type;
3741
Type
= type;
17 references to Type
ILCompiler.Compiler (17)
Compiler\DependencyAnalysis\GCStaticsPreInitDataNode.cs (9)
23
Debug.Assert(!preinitializationInfo.
Type
.IsCanonicalSubtype(CanonicalFormKind.Specific));
27
protected override string GetName(NodeFactory factory) => GetMangledName(_preinitializationInfo.
Type
, factory.NameMangler);
31
sb.Append(GetMangledName(_preinitializationInfo.
Type
, nameMangler));
35
public MetadataType Type => _preinitializationInfo.
Type
;
51
public override bool IsShareable => EETypeNode.IsTypeNodeShareable(_preinitializationInfo.
Type
);
57
MetadataType type = _preinitializationInfo.
Type
;
82
int pad = _preinitializationInfo.
Type
.GCStaticFieldSize.AsInt - builder.CountBytes - initialOffset;
95
return comparer.Compare(_preinitializationInfo.
Type
, ((GCStaticsPreInitDataNode)other)._preinitializationInfo.
Type
);
Compiler\PreinitializationManager.cs (7)
115
if (item.
Type
.IsCanonicalSubtype(CanonicalFormKind.Any))
121
logger.LogMessage($"Preinitialized type '{item.
Type
}'");
126
logger.LogMessage($"Could not preinitialize '{item.
Type
}': {item.FailureReason}");
156
protected override bool CompareKeyToValue(MetadataType key, TypePreinit.PreinitializationInfo value) => key == value.
Type
;
157
protected override bool CompareValueToValue(TypePreinit.PreinitializationInfo value1, TypePreinit.PreinitializationInfo value2) => value1.
Type
== value2.
Type
;
159
protected override int GetValueHashCode(TypePreinit.PreinitializationInfo value) => value.
Type
.GetHashCode();
Compiler\TypePreinit.cs (1)
3748
Debug.Assert(field.OwningType ==
Type
);