共用方式為


CompilationOptions.SourceReferenceResolver Property

Definition

Gets the resolver for resolving source document references for the compilation. Null if the compilation is not allowed to contain source file references, such as #line pragmas and #load directives.

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

Property Value

Applies to