共用方式為


CompilationOptions.WithSourceReferenceResolver 方法

定義

public:
 Microsoft::CodeAnalysis::CompilationOptions ^ WithSourceReferenceResolver(Microsoft::CodeAnalysis::SourceReferenceResolver ^ resolver);
public Microsoft.CodeAnalysis.CompilationOptions WithSourceReferenceResolver (Microsoft.CodeAnalysis.SourceReferenceResolver resolver);
public Microsoft.CodeAnalysis.CompilationOptions WithSourceReferenceResolver (Microsoft.CodeAnalysis.SourceReferenceResolver? resolver);
member this.WithSourceReferenceResolver : Microsoft.CodeAnalysis.SourceReferenceResolver -> Microsoft.CodeAnalysis.CompilationOptions
Public Function WithSourceReferenceResolver (resolver As SourceReferenceResolver) As CompilationOptions

參數

傳回

適用於