15 references to DiagnosticId
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (7)
CommandLineTests.cs (7)
15285
[InlineData(/*analyzerConfigSeverity*/"warning", "/warnaserror:" + CompilationAnalyzerWithSeverity.
DiagnosticId
, /*expectError*/true, /*expectWarning*/false)]
15286
[InlineData(/*analyzerConfigSeverity*/"error", "/warnaserror:" + CompilationAnalyzerWithSeverity.
DiagnosticId
, /*expectError*/true, /*expectWarning*/false)]
15287
[InlineData(/*analyzerConfigSeverity*/null, "/warnaserror:" + CompilationAnalyzerWithSeverity.
DiagnosticId
, /*expectError*/true, /*expectWarning*/false)]
15289
[InlineData(/*analyzerConfigSeverity*/"warning", "/nowarn:" + CompilationAnalyzerWithSeverity.
DiagnosticId
, /*expectError*/false, /*expectWarning*/false)]
15290
[InlineData(/*analyzerConfigSeverity*/"error", "/nowarn:" + CompilationAnalyzerWithSeverity.
DiagnosticId
, /*expectError*/false, /*expectWarning*/false)]
15291
[InlineData(/*analyzerConfigSeverity*/null, "/nowarn:" + CompilationAnalyzerWithSeverity.
DiagnosticId
, /*expectError*/false, /*expectWarning*/false)]
15301
TestCompilationOptionsOverrideAnalyzerConfigCore(src, CompilationAnalyzerWithSeverity.
DiagnosticId
, analyzerConfigSeverity, additionalArg, expectError, expectWarning, analyzer);
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
1058
DiagnosticId
,
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (7)
CommandLineTests.vb (7)
10470
<InlineData("warning", "/warnaserror:" & CompilationAnalyzerWithSeverity.
DiagnosticId
, True, False)>
10471
<InlineData("error", "/warnaserror:" & CompilationAnalyzerWithSeverity.
DiagnosticId
, True, False)>
10472
<InlineData(Nothing, "/warnaserror:" & CompilationAnalyzerWithSeverity.
DiagnosticId
, True, False)>
10473
<InlineData("warning", "/nowarn:" & CompilationAnalyzerWithSeverity.
DiagnosticId
, False, False)>
10474
<InlineData("error", "/nowarn:" & CompilationAnalyzerWithSeverity.
DiagnosticId
, False, False)>
10475
<InlineData(Nothing, "/nowarn:" & CompilationAnalyzerWithSeverity.
DiagnosticId
, False, False)>
10485
TestCompilationOptionsOverrideAnalyzerConfigCore(src, CompilationAnalyzerWithSeverity.
DiagnosticId
, analyzerConfigSeverity, additionalArg, expectError, expectWarning, analyzer)