7 references to CreateDiagnostic
Microsoft.CodeAnalysis.Analyzers (7)
MetaAnalyzers\CompareSymbolsCorrectlyAnalyzer.cs (4)
184
context.ReportDiagnostic(invocationOperation.
CreateDiagnostic
(s_getHashCodeRule, s_GetHashCodeRuleProperties));
208
context.ReportDiagnostic(invocationOperation.
CreateDiagnostic
(s_getHashCodeRule, s_GetHashCodeRuleProperties));
220
context.ReportDiagnostic(invocationOperation.
CreateDiagnostic
(s_collectionRule, s_CollectionRuleProperties));
270
context.ReportDiagnostic(objectCreation.
CreateDiagnostic
(s_collectionRule, s_CollectionRuleProperties));
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer_ReleaseTracking.cs (2)
289
var diagnostic = ruleIdArgument.
CreateDiagnostic
(DeclareDiagnosticIdInAnalyzerReleaseRule, properties, ruleId);
325
var diagnostic = ruleIdArgument.
CreateDiagnostic
(UpdateDiagnosticIdInAnalyzerReleaseRule, properties, ruleId);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\DiagnosticExtensions.cs (1)
49
=> operation.
CreateDiagnostic
(rule, properties: null, args);