8 references to Rule
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
CommandLineTests.cs (3)
9600
Assert.Contains(AnalyzerThatThrowsInGetMessage.
Rule
.Id, output, StringComparison.Ordinal);
9647
Assert.Contains(AnalyzerThatThrowsInGetMessage.
Rule
.Id, output, StringComparison.Ordinal);
9648
Assert.Contains(AnalyzerThatThrowsInGetMessage.
Rule
.MessageFormat.ToString(CultureInfo.InvariantCulture), output, StringComparison.Ordinal);
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\CommonDiagnosticAnalyzers.cs (2)
998
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(
Rule
);
1003
symbolContext.ReportDiagnostic(Diagnostic.Create(
Rule
, symbolContext.Symbol.Locations[0]));
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (3)
CommandLineTests.vb (3)
9043
Assert.Contains(AnalyzerThatThrowsInGetMessage.
Rule
.Id, output, StringComparison.Ordinal)
9088
Assert.Contains(AnalyzerThatThrowsInGetMessage.
Rule
.Id, output, StringComparison.Ordinal)
9089
Assert.Contains(AnalyzerThatThrowsInGetMessage.
Rule
.MessageFormat.ToString(CultureInfo.InvariantCulture), output, StringComparison.Ordinal)