8 references to Rule
Roslyn.Diagnostics.Analyzers (8)
ImportingConstructorShouldBeObsolete.cs (7)
42
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
Rule
);
125
context.ReportDiagnostic(attributeData.ApplicationSyntaxReference.CreateDiagnostic(
Rule
, ScenarioProperties.MissingDescription, context.CancellationToken, namedType.Name));
131
context.ReportDiagnostic(attributeData.ApplicationSyntaxReference.CreateDiagnostic(
Rule
, ScenarioProperties.MissingError, context.CancellationToken, namedType.Name));
137
context.ReportDiagnostic(attributeData.ApplicationSyntaxReference.CreateDiagnostic(
Rule
, context.CancellationToken, namedType.Name));
145
context.ReportDiagnostic(attributeData.ApplicationSyntaxReference.CreateDiagnostic(
Rule
, ScenarioProperties.IncorrectDescription, context.CancellationToken, namedType.Name));
152
context.ReportDiagnostic(attributeData.ApplicationSyntaxReference.CreateDiagnostic(
Rule
, ScenarioProperties.ErrorSetToFalse, context.CancellationToken, namedType.Name));
162
context.ReportDiagnostic(importingConstructorAttributeData.ApplicationSyntaxReference.CreateDiagnostic(
Rule
, ScenarioProperties.MissingAttribute, context.CancellationToken, namedType.Name));
ImportingConstructorShouldBeObsoleteCodeFixProvider.cs (1)
29
public override ImmutableArray<string> FixableDiagnosticIds { get; } = ImmutableArray.Create(ImportingConstructorShouldBeObsolete.
Rule
.Id);