CSharpCompilationOptions.WithWarningLevel(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
Microsoft::CodeAnalysis::CSharp::CSharpCompilationOptions ^ WithWarningLevel(int warningLevel);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions WithWarningLevel (int warningLevel);
member this.WithWarningLevel : int -> Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions
Public Function WithWarningLevel (warningLevel As Integer) As CSharpCompilationOptions
Parameters
- warningLevel
- Int32