28 references to RuleId
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (27)
Diagnostics\DiagnosticAnalyzerTests.cs (26)
3285
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15),
3286
Diagnostic(NamedTypeAnalyzer.
RuleId
, "B").WithArguments("B").WithLocation(1, 33)
3293
new TestSyntaxTreeOptionsProvider(tree2, (NamedTypeAnalyzer.
RuleId
, ReportDiagnostic.Suppress)));
3300
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15)
3309
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15),
3310
Diagnostic(NamedTypeAnalyzer.
RuleId
, "B").WithArguments("B").WithLocation(1, 33)
3328
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15),
3329
Diagnostic(NamedTypeAnalyzer.
RuleId
, "B").WithArguments("B").WithLocation(1, 33)
3336
new TestSyntaxTreeOptionsProvider(tree2, (NamedTypeAnalyzer.
RuleId
, ReportDiagnostic.Suppress))
3344
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15)
3353
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15)
3362
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15),
3363
Diagnostic(NamedTypeAnalyzer.
RuleId
, "B").WithArguments("B").WithLocation(1, 33)
3381
Diagnostic(NamedTypeAnalyzer.
RuleId
).WithArguments("A, B").WithLocation(1, 1)
3388
new TestSyntaxTreeOptionsProvider(tree2, (NamedTypeAnalyzer.
RuleId
, ReportDiagnostic.Suppress))
3396
Diagnostic(NamedTypeAnalyzer.
RuleId
).WithArguments("A, B").WithLocation(1, 1)
3405
Diagnostic(NamedTypeAnalyzer.
RuleId
).WithArguments("A").WithLocation(1, 1)
3414
Diagnostic(NamedTypeAnalyzer.
RuleId
).WithArguments("A, B").WithLocation(1, 1)
3432
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15),
3433
Diagnostic(NamedTypeAnalyzer.
RuleId
, "B").WithArguments("B").WithLocation(1, 33)
3440
new TestSyntaxTreeOptionsProvider((NamedTypeAnalyzer.
RuleId
, ReportDiagnostic.Suppress)));
3453
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15),
3454
Diagnostic(NamedTypeAnalyzer.
RuleId
, "B").WithArguments("B").WithLocation(1, 33)
3461
new TestSyntaxTreeOptionsProvider((NamedTypeAnalyzer.
RuleId
, ReportDiagnostic.Suppress), (tree1, new[] { (NamedTypeAnalyzer.
RuleId
, ReportDiagnostic.Default) })));
3468
Diagnostic(NamedTypeAnalyzer.
RuleId
, "A").WithArguments("A").WithLocation(1, 15)
Diagnostics\GetDiagnosticsTests.cs (1)
556
var expected = Diagnostic(NamedTypeAnalyzer.
RuleId
, "C").WithArguments("C").WithLocation(1, 7);
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
2261
RuleId
,