CompilationOptions.MetadataReferenceResolver 属性

定义

通过 #r 指令解析源中指定的元数据引用的路径。 如果编译不能包含对显式传递给其工厂 (的元数据的引用,例如源) 中的#r指令,则为 Null。

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

属性值

适用于