3 writes to NamespaceOrEnclosingType
ILCompiler.MetadataTransform (3)
ILCompiler\Metadata\Transform.Type.cs (2)
237
record.
NamespaceOrEnclosingType
= enclosingType;
243
record.
NamespaceOrEnclosingType
= namespaceDefinition;
Internal\Metadata\NativeFormat\Writer\NativeFormatWriterGen.cs (1)
4377
NamespaceOrEnclosingType
= visitor.Visit(this, NamespaceOrEnclosingType);
11 references to NamespaceOrEnclosingType
ILCompiler.MetadataTransform (11)
Internal\Metadata\NativeFormat\Writer\NativeFormatWriterGen.cs (9)
4377
NamespaceOrEnclosingType = visitor.Visit(this,
NamespaceOrEnclosingType
);
4394
if (!Object.Equals(
NamespaceOrEnclosingType
, other.
NamespaceOrEnclosingType
)) return false;
4405
hash = ((hash << 13) - (hash >> 19)) ^ (
NamespaceOrEnclosingType
== null ? 0 :
NamespaceOrEnclosingType
.GetHashCode());
4420
Debug.Assert(
NamespaceOrEnclosingType
== null ||
4421
NamespaceOrEnclosingType
.HandleType == HandleType.NamespaceDefinition ||
4422
NamespaceOrEnclosingType
.HandleType == HandleType.TypeDefinition);
4423
writer.Write(
NamespaceOrEnclosingType
);
Internal\Metadata\NativeFormat\Writer\NativeMetadataWriter.cs (2)
680
if (this.
NamespaceOrEnclosingType
is TypeDefinition enclosingType)
687
else if (this.
NamespaceOrEnclosingType
is NamespaceDefinition namespaceDefinition && namespaceDefinition.Name != null)