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