195 references to WithWarningLevel
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (1)
src\Analyzers\CSharp\Tests\RemoveUnnecessaryImports\RemoveUnnecessaryImportsTests.cs (1)
2065
return solution.WithProjectCompilationOptions(projectId, compilationOptions.
WithWarningLevel
(warningLevel));
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (6)
CodeGen\CodeGenAsyncTests.cs (1)
1067
CreateCompilation(source, options: TestOptions.UnsafeDebugExe.
WithWarningLevel
(7)).VerifyDiagnostics(
CodeGen\CodeGenLocalFunctionTests.cs (2)
2439
VerifyOutput(source, "2", TestOptions.ReleaseExe.
WithWarningLevel
(0));
4609
VerifyOutput(source, output, TestOptions.ReleaseExe.WithAllowUnsafe(true).
WithWarningLevel
(0), verify: Verification.Passes);
CodeGen\CodeGenOperators.cs (1)
2290
CompileAndVerify(source, expectedOutput: "0", options: TestOptions.ReleaseExe.
WithWarningLevel
(5)).VerifyDiagnostics(
CodeGen\CodeGenOptimizedNullableOperators.cs (1)
1406
CompileAndVerify(source, expectedOutput: expectedOutput, options: TestOptions.ReleaseExe.
WithWarningLevel
(4)).VerifyDiagnostics(
Emit\EntryPointTests.cs (1)
18
return CreateCompilation(source, options: TestOptions.ReleaseExe.
WithWarningLevel
(5).WithMainTypeName(mainTypeName), parseOptions: parseOptions);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\NumericIntPtrTests.cs (2)
1021
var comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(5), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1024
comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(6), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (21)
Attributes\AttributeTests_CallerInfoAttributes.cs (1)
3323
CreateCompilationWithMscorlib461(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(0)).VerifyDiagnostics(
Attributes\AttributeTests_MarshalAs.cs (2)
704
options: TestOptions.ReleaseDll.
WithWarningLevel
(7))
709
options: TestOptions.ReleaseDll.
WithWarningLevel
(8))
Attributes\AttributeTests_NativeInteger.cs (1)
1421
comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(6), parseOptions: TestOptions.Regular9);
FlowAnalysis\StructTests.cs (16)
560
options: TestOptions.ReleaseDll.
WithWarningLevel
(5),
570
options: TestOptions.ReleaseDll.
WithWarningLevel
(5),
580
options: TestOptions.ReleaseDll.
WithWarningLevel
(CodeAnalysis.Diagnostic.DefaultWarningLevel),
587
options: TestOptions.ReleaseDll.
WithWarningLevel
(CodeAnalysis.Diagnostic.DefaultWarningLevel),
649
CreateCompilation(source2, references: new MetadataReference[] { sourceReference }, options: TestOptions.ReleaseDll.
WithWarningLevel
(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
651
CreateCompilation(source2, references: new MetadataReference[] { metadataReference }, options: TestOptions.ReleaseDll.
WithWarningLevel
(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
653
CreateCompilation(source2, references: new MetadataReference[] { sourceReference }, options: TestOptions.ReleaseDll.
WithWarningLevel
(5)).VerifyDiagnostics(
658
CreateCompilation(source2, references: new MetadataReference[] { metadataReference }, options: TestOptions.ReleaseDll.
WithWarningLevel
(5)).VerifyDiagnostics(
694
CreateCompilation(source2, references: new MetadataReference[] { sourceReference }, options: TestOptions.ReleaseDll.
WithWarningLevel
(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
696
CreateCompilation(source2, references: new MetadataReference[] { metadataReference }, options: TestOptions.ReleaseDll.
WithWarningLevel
(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
698
CreateCompilation(source2, references: new MetadataReference[] { sourceReference }, options: TestOptions.ReleaseDll.
WithWarningLevel
(5)).VerifyDiagnostics(
703
CreateCompilation(source2, references: new MetadataReference[] { metadataReference }, options: TestOptions.ReleaseDll.
WithWarningLevel
(5)).VerifyDiagnostics(
738
CreateCompilation(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.
WithWarningLevel
(5)).VerifyDiagnostics(
786
CreateCompilation(source2, references: new MetadataReference[] { moduleReference }, options: WithNullableEnable().
WithWarningLevel
(5)).VerifyDiagnostics(
814
CreateCompilation(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.
WithWarningLevel
(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
816
CreateCompilation(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.
WithWarningLevel
(5)).VerifyDiagnostics(
Semantics\RecordTests.cs (1)
2818
comp = CreateCompilation(src, parseOptions: TestOptions.Regular8, options: TestOptions.ReleaseDll.
WithWarningLevel
(6));
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
src\Analyzers\CSharp\Tests\RemoveUnnecessaryImports\RemoveUnnecessaryImportsTests.cs (1)
2065
return solution.WithProjectCompilationOptions(projectId, compilationOptions.
WithWarningLevel
(warningLevel));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (54)
Semantics\NameOfTests.cs (2)
240
var option = TestOptions.ReleaseExe.
WithWarningLevel
(0);
420
var option = TestOptions.ReleaseExe.
WithWarningLevel
(0);
Semantics\NativeIntegerTests.cs (2)
3489
var comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(5), parseOptions: TestOptions.Regular9);
3492
comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(6), parseOptions: TestOptions.Regular9);
Semantics\NullableConversionTests.cs (1)
653
var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe.
WithWarningLevel
(0));
Semantics\RefFieldTests.cs (2)
5484
CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(9), targetFramework: TargetFramework.Net70).VerifyDiagnostics();
5493
CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(10), targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics);
Semantics\SemanticErrorTests.cs (3)
12810
CreateCompilation(text, options: TestOptions.ReleaseDll.
WithWarningLevel
(5)).VerifyDiagnostics(
18393
CreateCompilation(source, options: TestOptions.DebugExe.
WithWarningLevel
(5)).VerifyDiagnostics();
21091
this.CompileAndVerify(source: text, expectedOutput: expected, options: TestOptions.ReleaseExe.
WithWarningLevel
(4)).VerifyDiagnostics(compatibleExpected);
Semantics\WarningVersionTests.cs (41)
48
CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics();
49
CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(3)).VerifyDiagnostics();
50
CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(4)).VerifyDiagnostics();
51
CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(5)).VerifyDiagnostics(whenWave5);
52
CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(6)).VerifyDiagnostics(whenWave5);
78
CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics();
79
CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(4)).VerifyDiagnostics();
80
CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(5)).VerifyDiagnostics(whenWave5);
117
CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics();
118
CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(4)).VerifyDiagnostics();
119
CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(5)).VerifyDiagnostics(whenWave5);
157
options: TestOptions.DebugDll.
WithWarningLevel
(CodeAnalysis.Diagnostic.DefaultWarningLevel),
166
options: TestOptions.DebugDll.
WithWarningLevel
(5),
179
options: TestOptions.DebugDll.
WithWarningLevel
(5),
189
.
WithWarningLevel
(5)
235
options: TestOptions.DebugDll.
WithWarningLevel
(CodeAnalysis.Diagnostic.DefaultWarningLevel),
244
options: TestOptions.DebugDll.
WithWarningLevel
(5),
258
.
WithWarningLevel
(5),
268
.
WithWarningLevel
(5)
321
options: TestOptions.DebugDll.
WithWarningLevel
(CodeAnalysis.Diagnostic.DefaultWarningLevel),
330
options: TestOptions.DebugDll.
WithWarningLevel
(5),
346
options: TestOptions.DebugDll.
WithWarningLevel
(5),
359
.
WithWarningLevel
(5)
392
CreateCompilation(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.
WithWarningLevel
(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
394
CreateCompilation(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.
WithWarningLevel
(5)).VerifyDiagnostics(
445
options: TestOptions.DebugDll.
WithWarningLevel
(CodeAnalysis.Diagnostic.DefaultWarningLevel),
454
options: TestOptions.DebugDll.
WithWarningLevel
(5),
467
options: TestOptions.DebugDll.
WithWarningLevel
(5),
477
.
WithWarningLevel
(5)
532
options: TestOptions.DebugDll.
WithWarningLevel
(CodeAnalysis.Diagnostic.DefaultWarningLevel),
541
options: TestOptions.DebugDll.
WithWarningLevel
(5),
554
options: TestOptions.DebugDll.
WithWarningLevel
(5),
564
.
WithWarningLevel
(5)
619
options: TestOptions.DebugDll.
WithWarningLevel
(CodeAnalysis.Diagnostic.DefaultWarningLevel),
628
options: TestOptions.DebugDll.
WithWarningLevel
(5),
641
options: TestOptions.DebugDll.
WithWarningLevel
(5),
651
.
WithWarningLevel
(5)
683
CreateCompilation(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.
WithWarningLevel
(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
685
CreateCompilation(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.
WithWarningLevel
(5)).VerifyDiagnostics(
713
CreateCompilation(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.
WithWarningLevel
(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
715
CreateCompilation(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.
WithWarningLevel
(5)).VerifyDiagnostics(
SourceGeneration\GeneratorDriverTests.cs (3)
1183
verifyDiagnosticsWithOptions(options.
WithWarningLevel
(0));
1185
verifyDiagnosticsWithOptions(options.
WithWarningLevel
(2),
1188
verifyDiagnosticsWithOptions(options.
WithWarningLevel
(3),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (40)
Compilation\CompilationAPITests.cs (2)
230
CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(0)).VerifyDiagnostics(
288
var compilationOptions = TestOptions.DebugDll.
WithWarningLevel
(0);
Compilation\CSharpCompilationOptionsTests.cs (5)
123
TestProperty((old, value) => old.
WithWarningLevel
(value), opt => opt.WarningLevel, 3);
239
Assert.Equal(1, new CSharpCompilationOptions(OutputKind.ConsoleApplication).
WithWarningLevel
(1).WarningLevel);
240
new CSharpCompilationOptions(OutputKind.ConsoleApplication).
WithWarningLevel
(-1).VerifyErrors(
244
new CSharpCompilationOptions(OutputKind.ConsoleApplication).
WithWarningLevel
(5).VerifyErrors();
245
new CSharpCompilationOptions(OutputKind.ConsoleApplication).
WithWarningLevel
(int.MaxValue).VerifyErrors();
Compilation\GetUnusedImportDirectivesTests.cs (2)
291
comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(3));
317
var comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(0));
Symbols\ExtendedPartialMethodsTests.cs (20)
2726
var comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2732
comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2770
var comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2773
comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2798
var comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2807
comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3102
var comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3105
comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3129
var comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3132
comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3210
var comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3234
comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3317
var comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(5));
3320
comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(6));
3355
var comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(5));
3373
comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(6));
3416
var comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(5));
3419
comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(6));
3457
var comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(5));
3460
comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(6));
Symbols\SymbolErrorTests.cs (11)
13378
var regularComp = CreateCompilation(text, options: TestOptions.ReleaseDll.
WithWarningLevel
(4));
13804
comp = CreateCompilation(source, options: TestOptions.ReleaseDll.
WithWarningLevel
(4));
21336
comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.
WithWarningLevel
(6));
21339
comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.
WithWarningLevel
(7));
21397
comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.
WithWarningLevel
(6));
21400
comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.
WithWarningLevel
(7));
21442
comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.
WithWarningLevel
(6));
21461
comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.
WithWarningLevel
(7));
21484
var comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.
WithWarningLevel
(7));
21502
comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.
WithWarningLevel
(7));
21529
comp = CreateCompilation(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.
WithWarningLevel
(7));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (69)
Diagnostics\DiagnosticTest.cs (69)
634
option = commonoption.
WithWarningLevel
(3);
643
option = commonoption.
WithWarningLevel
(2);
646
option = commonoption.
WithWarningLevel
(2).WithGeneralDiagnosticOption(ReportDiagnostic.Error);
649
option = commonoption.
WithWarningLevel
(2).WithSpecificDiagnosticOptions(warnings);
684
option = commonoption.
WithWarningLevel
(3);
690
option = commonoption.
WithWarningLevel
(2);
693
option = commonoption.
WithWarningLevel
(2).WithGeneralDiagnosticOption(ReportDiagnostic.Error);
696
option = commonoption.
WithWarningLevel
(2).WithSpecificDiagnosticOptions(warnings);
738
option = commonoption.
WithWarningLevel
(3);
747
option = commonoption.
WithWarningLevel
(2);
750
option = commonoption.
WithWarningLevel
(2).WithGeneralDiagnosticOption(ReportDiagnostic.Error);
753
option = commonoption.
WithWarningLevel
(2).WithSpecificDiagnosticOptions(warnings);
794
option = commonoption.
WithWarningLevel
(3);
803
option = commonoption.
WithWarningLevel
(2);
806
option = commonoption.
WithWarningLevel
(2).WithGeneralDiagnosticOption(ReportDiagnostic.Error);
809
option = commonoption.
WithWarningLevel
(2).WithSpecificDiagnosticOptions(warnings);
850
option = commonoption.
WithWarningLevel
(3);
859
option = commonoption.
WithWarningLevel
(2);
862
option = commonoption.
WithWarningLevel
(2).WithGeneralDiagnosticOption(ReportDiagnostic.Error);
865
option = commonoption.
WithWarningLevel
(2).WithSpecificDiagnosticOptions(warnings);
908
option = commonoption.
WithWarningLevel
(3);
917
option = commonoption.
WithWarningLevel
(2);
920
option = commonoption.
WithWarningLevel
(2).WithGeneralDiagnosticOption(ReportDiagnostic.Error);
923
option = commonoption.
WithWarningLevel
(2).WithSpecificDiagnosticOptions(warnings);
966
option = commonoption.
WithWarningLevel
(3);
975
option = commonoption.
WithWarningLevel
(2);
978
option = commonoption.
WithWarningLevel
(2).WithGeneralDiagnosticOption(ReportDiagnostic.Error);
981
option = commonoption.
WithWarningLevel
(2).WithSpecificDiagnosticOptions(warnings);
1028
option = commonoption.
WithWarningLevel
(3);
1040
option = commonoption.
WithWarningLevel
(2);
1043
option = commonoption.
WithWarningLevel
(2).WithGeneralDiagnosticOption(ReportDiagnostic.Error);
1046
option = commonoption.
WithWarningLevel
(2).WithSpecificDiagnosticOptions(warnings);
1101
option = commonoption.
WithWarningLevel
(3);
1116
option = commonoption.
WithWarningLevel
(2);
1119
option = commonoption.
WithWarningLevel
(2).WithGeneralDiagnosticOption(ReportDiagnostic.Error);
1122
option = commonoption.
WithWarningLevel
(2).WithSpecificDiagnosticOptions(warnings);
1169
option = commonoption.
WithWarningLevel
(3);
1181
option = commonoption.
WithWarningLevel
(2);
1184
option = commonoption.
WithWarningLevel
(2).WithGeneralDiagnosticOption(ReportDiagnostic.Error);
1187
option = commonoption.
WithWarningLevel
(2).WithSpecificDiagnosticOptions(warnings);
1228
option = commonoption.
WithWarningLevel
(3);
1234
option = commonoption.
WithWarningLevel
(2);
1237
option = commonoption.
WithWarningLevel
(2).WithGeneralDiagnosticOption(ReportDiagnostic.Error);
1240
option = commonoption.
WithWarningLevel
(2).WithSpecificDiagnosticOptions(warnings);
1281
option = commonoption.
WithWarningLevel
(3);
1287
option = commonoption.
WithWarningLevel
(2);
1290
option = commonoption.
WithWarningLevel
(2).WithGeneralDiagnosticOption(ReportDiagnostic.Error);
1293
option = commonoption.
WithWarningLevel
(2).WithSpecificDiagnosticOptions(warnings);
1335
option = commonoption.
WithWarningLevel
(3);
1341
option = commonoption.
WithWarningLevel
(2);
1344
option = commonoption.
WithWarningLevel
(2).WithGeneralDiagnosticOption(ReportDiagnostic.Error);
1347
option = commonoption.
WithWarningLevel
(2).WithSpecificDiagnosticOptions(warnings);
1382
option = commonoption.
WithWarningLevel
(3);
1385
option = commonoption.
WithWarningLevel
(2);
1388
option = commonoption.
WithWarningLevel
(2).WithGeneralDiagnosticOption(ReportDiagnostic.Error);
1391
option = commonoption.
WithWarningLevel
(2).WithSpecificDiagnosticOptions(warnings);
1436
option = commonoption.
WithWarningLevel
(3);
1442
option = commonoption.
WithWarningLevel
(2);
1445
option = commonoption.
WithWarningLevel
(2).WithGeneralDiagnosticOption(ReportDiagnostic.Error);
1448
option = commonoption.
WithWarningLevel
(2).WithSpecificDiagnosticOptions(warnings);
1515
option = commonoption.
WithWarningLevel
(2);
1565
option = commonoption.
WithWarningLevel
(2);
1618
option = commonoption.
WithWarningLevel
(2);
1671
option = commonoption.
WithWarningLevel
(2);
1715
option = commonoption.
WithWarningLevel
(2);
1746
option = commonoption.
WithWarningLevel
(2);
1792
option = commonoption.
WithWarningLevel
(2);
1847
option = commonoption.
WithWarningLevel
(2);
2280
option = commonoption.
WithWarningLevel
(2);
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ProjectSystemShim\CSharpProjectShim.OptionsProcessor.cs (1)
150
.
WithWarningLevel
(warningLevel);