5 references to DiagnosticPropertyKey
Microsoft.CodeAnalysis.NetAnalyzers (5)
Microsoft.NetCore.Analyzers\Performance\PreferLengthCountIsEmptyOverAny.Fixer.cs (1)
25
var (newRoot, codeFixTitle) = diagnostic.Properties[PreferLengthCountIsEmptyOverAnyAnalyzer.
DiagnosticPropertyKey
] switch
Microsoft.NetCore.Analyzers\Performance\PreferLengthCountIsEmptyOverAnyAnalyzer.cs (4)
30
internal const string DiagnosticPropertyKey = nameof(
DiagnosticPropertyKey
);
118
properties.Add(
DiagnosticPropertyKey
, IsEmptyText);
124
properties.Add(
DiagnosticPropertyKey
, LengthText);
131
properties.Add(
DiagnosticPropertyKey
, CountText);