Sdílet prostřednictvím


MetadataReferenceProperties Struct

Definition

Information about a metadata reference.

public value class MetadataReferenceProperties : IEquatable<Microsoft::CodeAnalysis::MetadataReferenceProperties>
public struct MetadataReferenceProperties : IEquatable<Microsoft.CodeAnalysis.MetadataReferenceProperties>
type MetadataReferenceProperties = struct
Public Structure MetadataReferenceProperties
Implements IEquatable(Of MetadataReferenceProperties)
Inheritance
MetadataReferenceProperties
Implements

Constructors

MetadataReferenceProperties(MetadataImageKind, ImmutableArray<String>, Boolean)

Initializes reference properties.

Properties

Aliases

Aliases for the metadata reference. Empty if the reference has no aliases.

Assembly

Default properties for an assembly reference.

EmbedInteropTypes

True if interop types defined in the referenced metadata should be embedded into the compilation referencing the metadata.

GlobalAlias

Alias that represents a global declaration space.

Kind

The image kind (assembly or module) the reference refers to.

Module

Default properties for a module reference.

Methods

Equals(MetadataReferenceProperties)
Equals(Object)
GetHashCode()
WithAliases(IEnumerable<String>)

Returns MetadataReferenceProperties with specified aliases.

WithAliases(ImmutableArray<String>)

Returns MetadataReferenceProperties with specified aliases.

WithEmbedInteropTypes(Boolean)

Returns MetadataReferenceProperties with EmbedInteropTypes set to specified value.

Operators

Equality(MetadataReferenceProperties, MetadataReferenceProperties)
Inequality(MetadataReferenceProperties, MetadataReferenceProperties)

Applies to