28 references to RuleId
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (27)
Diagnostics\DiagnosticAnalyzerTests.cs (26)
3378
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15),
3379
Diagnostic(NamedTypeAnalyzer.
RuleId
, "B").WithArguments("B").WithLocation(1, 33)
3386
new TestSyntaxTreeOptionsProvider(tree2, (NamedTypeAnalyzer.
RuleId
, ReportDiagnostic.Suppress)));
3393
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15)
3402
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15),
3403
Diagnostic(NamedTypeAnalyzer.
RuleId
, "B").WithArguments("B").WithLocation(1, 33)
3421
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15),
3422
Diagnostic(NamedTypeAnalyzer.
RuleId
, "B").WithArguments("B").WithLocation(1, 33)
3429
new TestSyntaxTreeOptionsProvider(tree2, (NamedTypeAnalyzer.
RuleId
, ReportDiagnostic.Suppress))
3437
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15)
3446
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15)
3455
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15),
3456
Diagnostic(NamedTypeAnalyzer.
RuleId
, "B").WithArguments("B").WithLocation(1, 33)
3474
Diagnostic(NamedTypeAnalyzer.
RuleId
).WithArguments("A, B").WithLocation(1, 1)
3481
new TestSyntaxTreeOptionsProvider(tree2, (NamedTypeAnalyzer.
RuleId
, ReportDiagnostic.Suppress))
3489
Diagnostic(NamedTypeAnalyzer.
RuleId
).WithArguments("A, B").WithLocation(1, 1)
3498
Diagnostic(NamedTypeAnalyzer.
RuleId
).WithArguments("A").WithLocation(1, 1)
3507
Diagnostic(NamedTypeAnalyzer.
RuleId
).WithArguments("A, B").WithLocation(1, 1)
3525
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15),
3526
Diagnostic(NamedTypeAnalyzer.
RuleId
, "B").WithArguments("B").WithLocation(1, 33)
3533
new TestSyntaxTreeOptionsProvider((NamedTypeAnalyzer.
RuleId
, ReportDiagnostic.Suppress)));
3546
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15),
3547
Diagnostic(NamedTypeAnalyzer.
RuleId
, "B").WithArguments("B").WithLocation(1, 33)
3554
new TestSyntaxTreeOptionsProvider((NamedTypeAnalyzer.
RuleId
, ReportDiagnostic.Suppress), (tree1, new[] { (NamedTypeAnalyzer.
RuleId
, ReportDiagnostic.Default) })));
3561
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15)
Diagnostics\GetDiagnosticsTests.cs (1)
617
var expected = Diagnostic(NamedTypeAnalyzer.
RuleId
, "C").WithArguments("C").WithLocation(1, 7);
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
2407
RuleId
,