Click or drag to resize

OptimizationLevel Class



Determines the level of optimization of the generated code.
Inheritance Hierarchy
SystemEnum
  Microsoft.CodeAnalysisOptimizationLevel

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class OptimizationLevel : Enum

The OptimizationLevel type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberDebug
Disables all optimizations and instruments the generated code to improve debugging experience.
Public fieldStatic memberRelease
Enables all optimizations, debugging experience might be degraded.
Public fieldvalue__
Top
See Also