5 writes to NamespaceOrEnclosingType
ILCompiler.MetadataTransform (5)
ILCompiler\Metadata\Transform.Type.cs (4)
203
parentReferenceRecord.
NamespaceOrEnclosingType
= GetNestedReferenceParent(containingType);
207
parentReferenceRecord.
NamespaceOrEnclosingType
= HandleNamespaceReference(containingType.Module, containingType.GetNamespace());
219
record.
NamespaceOrEnclosingType
= GetNestedReferenceParent(entity);
223
record.
NamespaceOrEnclosingType
= HandleNamespaceReference(entity.Module, entity.GetNamespace());
Internal\Metadata\NativeFormat\Writer\NativeFormatWriterGen.cs (1)
4639
NamespaceOrEnclosingType
= visitor.Visit(this, NamespaceOrEnclosingType);
13 references to NamespaceOrEnclosingType
ILCompiler.MetadataTransform (13)
Internal\Metadata\NativeFormat\Writer\NativeFormatWriterGen.cs (9)
4639
NamespaceOrEnclosingType = visitor.Visit(this,
NamespaceOrEnclosingType
);
4648
if (!Object.Equals(
NamespaceOrEnclosingType
, other.
NamespaceOrEnclosingType
)) return false;
4659
hash = ((hash << 13) - (hash >> 19)) ^ (
NamespaceOrEnclosingType
== null ? 0 :
NamespaceOrEnclosingType
.GetHashCode());
4668
Debug.Assert(
NamespaceOrEnclosingType
== null ||
4669
NamespaceOrEnclosingType
.HandleType == HandleType.NamespaceReference ||
4670
NamespaceOrEnclosingType
.HandleType == HandleType.TypeReference);
4671
writer.Write(
NamespaceOrEnclosingType
);
Internal\Metadata\NativeFormat\Writer\NativeMetadataWriter.cs (4)
710
if (
NamespaceOrEnclosingType
is NamespaceReference)
711
s +=
NamespaceOrEnclosingType
.ToString(false) + ".";
712
if (
NamespaceOrEnclosingType
is TypeReference)
713
s +=
NamespaceOrEnclosingType
.ToString(false) + "+";