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.CSharpCompilationOptionsPublic Function WithWarningLevel (warningLevel As Integer) As CSharpCompilationOptionsParameters
- warningLevel
- Int32