15 references to DiagnosticId
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (7)
CommandLineTests.cs (7)
15264
[InlineData(/*analyzerConfigSeverity*/"warning", "/warnaserror:" + CompilationAnalyzerWithSeverity.
DiagnosticId
, /*expectError*/true, /*expectWarning*/false)]
15265
[InlineData(/*analyzerConfigSeverity*/"error", "/warnaserror:" + CompilationAnalyzerWithSeverity.
DiagnosticId
, /*expectError*/true, /*expectWarning*/false)]
15266
[InlineData(/*analyzerConfigSeverity*/null, "/warnaserror:" + CompilationAnalyzerWithSeverity.
DiagnosticId
, /*expectError*/true, /*expectWarning*/false)]
15268
[InlineData(/*analyzerConfigSeverity*/"warning", "/nowarn:" + CompilationAnalyzerWithSeverity.
DiagnosticId
, /*expectError*/false, /*expectWarning*/false)]
15269
[InlineData(/*analyzerConfigSeverity*/"error", "/nowarn:" + CompilationAnalyzerWithSeverity.
DiagnosticId
, /*expectError*/false, /*expectWarning*/false)]
15270
[InlineData(/*analyzerConfigSeverity*/null, "/nowarn:" + CompilationAnalyzerWithSeverity.
DiagnosticId
, /*expectError*/false, /*expectWarning*/false)]
15280
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)
10471
<InlineData("warning", "/warnaserror:" & CompilationAnalyzerWithSeverity.
DiagnosticId
, True, False)>
10472
<InlineData("error", "/warnaserror:" & CompilationAnalyzerWithSeverity.
DiagnosticId
, True, False)>
10473
<InlineData(Nothing, "/warnaserror:" & CompilationAnalyzerWithSeverity.
DiagnosticId
, True, False)>
10474
<InlineData("warning", "/nowarn:" & CompilationAnalyzerWithSeverity.
DiagnosticId
, False, False)>
10475
<InlineData("error", "/nowarn:" & CompilationAnalyzerWithSeverity.
DiagnosticId
, False, False)>
10476
<InlineData(Nothing, "/nowarn:" & CompilationAnalyzerWithSeverity.
DiagnosticId
, False, False)>
10486
TestCompilationOptionsOverrideAnalyzerConfigCore(src, CompilationAnalyzerWithSeverity.
DiagnosticId
, analyzerConfigSeverity, additionalArg, expectError, expectWarning, analyzer)