Sdílet prostřednictvím


CompilationReference Class

Definition

Reference to another C# or VB compilation.

public ref class CompilationReference abstract : Microsoft::CodeAnalysis::MetadataReference, IEquatable<Microsoft::CodeAnalysis::CompilationReference ^>
public abstract class CompilationReference : Microsoft.CodeAnalysis.MetadataReference, IEquatable<Microsoft.CodeAnalysis.CompilationReference>
type CompilationReference = class
    inherit MetadataReference
    interface IEquatable<CompilationReference>
Public MustInherit Class CompilationReference
Inherits MetadataReference
Implements IEquatable(Of CompilationReference)
Inheritance
CompilationReference
Implements

Properties

Compilation
Display
Properties (Inherited from MetadataReference)

Methods

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

Returns an instance of the reference with specified aliases.

WithAliases(ImmutableArray<String>)

Returns an instance of the reference with specified aliases.

WithEmbedInteropTypes(Boolean)

Returns an instance of the reference with specified interop types embedding.

WithProperties(MetadataReferenceProperties)

Returns an instance of the reference with specified properties, or this instance if properties haven't changed.

Applies to