Share via


CSharpCompilationOptions.WithWarningLevel(Int32) Method

Definition

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

Returns

Applies to