共用方式為


CompilationOptions.MetadataReferenceResolver Property

Definition

Resolves paths to metadata references specified in source via #r directives. Null if the compilation can't contain references to metadata other than those explicitly passed to its factory (such as #r directives in sources).

public:  property Microsoft::CodeAnalysis::MetadataReferenceResolver ^ MetadataReferenceResolver {  public:
Microsoft::CodeAnalysis::MetadataReferenceResolver ^ get(); protected:
 void set(Microsoft::CodeAnalysis::MetadataReferenceResolver ^ value); };
public Microsoft.CodeAnalysis.MetadataReferenceResolver MetadataReferenceResolver { get; protected set; }
public Microsoft.CodeAnalysis.MetadataReferenceResolver? MetadataReferenceResolver { get; protected set; }
member this.MetadataReferenceResolver : Microsoft.CodeAnalysis.MetadataReferenceResolver with get, set
Public Property MetadataReferenceResolver As MetadataReferenceResolver

Property Value

Applies to