共用方式為


CompilationOptions.WithMetadataReferenceResolver 方法

定義

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

參數

傳回

適用於