7 references to CreateDiagnostic
Roslyn.Diagnostics.Analyzers (7)
ExportedPartsShouldHaveImportingConstructor.cs (2)
111
exportAttributeApplication.ApplicationSyntaxReference.
CreateDiagnostic
(
131
appliedImportingConstructorAttribute.ApplicationSyntaxReference.
CreateDiagnostic
(
ImportingConstructorShouldBeObsolete.cs (5)
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));
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));