다음을 통해 공유


CompilationOptions.WithOptimizationLevel(OptimizationLevel) 메서드

정의

최적화를 사용하거나 사용하지 않도록 설정하여 새 옵션 인스턴스를 만듭니다.

public:
 Microsoft::CodeAnalysis::CompilationOptions ^ WithOptimizationLevel(Microsoft::CodeAnalysis::OptimizationLevel value);
public Microsoft.CodeAnalysis.CompilationOptions WithOptimizationLevel (Microsoft.CodeAnalysis.OptimizationLevel value);
member this.WithOptimizationLevel : Microsoft.CodeAnalysis.OptimizationLevel -> Microsoft.CodeAnalysis.CompilationOptions
Public Function WithOptimizationLevel (value As OptimizationLevel) As CompilationOptions

매개 변수

반환

적용 대상