Udostępnij za pośrednictwem


CSharpCompilationOptions.WithOptimizationLevel(OptimizationLevel) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::CSharpCompilationOptions ^ WithOptimizationLevel(Microsoft::CodeAnalysis::OptimizationLevel value);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions WithOptimizationLevel (Microsoft.CodeAnalysis.OptimizationLevel value);
override this.WithOptimizationLevel : Microsoft.CodeAnalysis.OptimizationLevel -> Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions
Public Function WithOptimizationLevel (value As OptimizationLevel) As CSharpCompilationOptions

Parameters

Returns

Applies to