共用方式為


CSharpCompilationOptions.WithSyntaxTreeOptionsProvider Method

Definition

public Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions WithSyntaxTreeOptionsProvider (Microsoft.CodeAnalysis.SyntaxTreeOptionsProvider? provider);
override this.WithSyntaxTreeOptionsProvider : Microsoft.CodeAnalysis.SyntaxTreeOptionsProvider -> Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions
Public Function WithSyntaxTreeOptionsProvider (provider As SyntaxTreeOptionsProvider) As CSharpCompilationOptions

Parameters

Returns

Applies to