2 writes to WarningLevel
Microsoft.CodeAnalysis (1)
Compilation\CompilationOptions.cs (1)
308
this.
WarningLevel
= warningLevel;
Microsoft.CodeAnalysis.CSharp (1)
CSharpCompilationOptions.cs (1)
529
return new CSharpCompilationOptions(this) {
WarningLevel
= warningLevel };
12 references to WarningLevel
Microsoft.CodeAnalysis (4)
Compilation\CompilationOptions.cs (3)
643
this.
WarningLevel
== other.
WarningLevel
&&
690
Hash.Combine(this.
WarningLevel
,
Compilation\DeterministicKeyBuilder.cs (1)
547
writer.Write("warningLevel", options.
WarningLevel
);
Microsoft.CodeAnalysis.CSharp (7)
CSharpCompilationOptions.cs (6)
255
warningLevel: other.
WarningLevel
,
524
if (warningLevel == this.
WarningLevel
)
735
if (
WarningLevel
< 0)
737
builder.Add(Diagnostic.Create(MessageProvider.Instance, (int)ErrorCode.ERR_BadCompilationOptionValue, nameof(
WarningLevel
),
WarningLevel
));
799
WarningLevel
,
Errors\MessageProvider.cs (1)
130
options.
WarningLevel
,
Microsoft.CodeAnalysis.Workspaces (1)
Serialization\AbstractOptionsSerializationService.cs (1)
50
writer.WriteInt32(options.
WarningLevel
);