28 references to RuleId
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (27)
Diagnostics\DiagnosticAnalyzerTests.cs (26)
3379
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15),
3380
Diagnostic(NamedTypeAnalyzer.
RuleId
, "B").WithArguments("B").WithLocation(1, 33)
3387
new TestSyntaxTreeOptionsProvider(tree2, (NamedTypeAnalyzer.
RuleId
, ReportDiagnostic.Suppress)));
3394
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15)
3403
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15),
3404
Diagnostic(NamedTypeAnalyzer.
RuleId
, "B").WithArguments("B").WithLocation(1, 33)
3422
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15),
3423
Diagnostic(NamedTypeAnalyzer.
RuleId
, "B").WithArguments("B").WithLocation(1, 33)
3430
new TestSyntaxTreeOptionsProvider(tree2, (NamedTypeAnalyzer.
RuleId
, ReportDiagnostic.Suppress))
3438
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15)
3447
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15)
3456
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15),
3457
Diagnostic(NamedTypeAnalyzer.
RuleId
, "B").WithArguments("B").WithLocation(1, 33)
3475
Diagnostic(NamedTypeAnalyzer.
RuleId
).WithArguments("A, B").WithLocation(1, 1)
3482
new TestSyntaxTreeOptionsProvider(tree2, (NamedTypeAnalyzer.
RuleId
, ReportDiagnostic.Suppress))
3490
Diagnostic(NamedTypeAnalyzer.
RuleId
).WithArguments("A, B").WithLocation(1, 1)
3499
Diagnostic(NamedTypeAnalyzer.
RuleId
).WithArguments("A").WithLocation(1, 1)
3508
Diagnostic(NamedTypeAnalyzer.
RuleId
).WithArguments("A, B").WithLocation(1, 1)
3526
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15),
3527
Diagnostic(NamedTypeAnalyzer.
RuleId
, "B").WithArguments("B").WithLocation(1, 33)
3534
new TestSyntaxTreeOptionsProvider((NamedTypeAnalyzer.
RuleId
, ReportDiagnostic.Suppress)));
3547
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15),
3548
Diagnostic(NamedTypeAnalyzer.
RuleId
, "B").WithArguments("B").WithLocation(1, 33)
3555
new TestSyntaxTreeOptionsProvider((NamedTypeAnalyzer.
RuleId
, ReportDiagnostic.Suppress), (tree1, new[] { (NamedTypeAnalyzer.
RuleId
, ReportDiagnostic.Default) })));
3562
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15)
Diagnostics\GetDiagnosticsTests.cs (1)
742
var expected = Diagnostic(NamedTypeAnalyzer.
RuleId
, "C").WithArguments("C").WithLocation(1, 7);
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
2407
RuleId
,