15 references to UseIsNullConstants
Microsoft.CodeAnalysis.CSharp.Features (6)
CSharpUseIsNullCheckForCastAndEqualityOperatorCodeFixProvider.cs (3)
39
=> diagnostic.Properties[
UseIsNullConstants
.Kind] ==
UseIsNullConstants
.CastAndEqualityKey;
46
var negated = diagnostic.Properties.ContainsKey(
UseIsNullConstants
.Negated);
CSharpUseIsNullCheckForCastAndEqualityOperatorDiagnosticAnalyzer.cs (3)
19
ImmutableDictionary<string, string?>.Empty.Add(
UseIsNullConstants
.Kind,
UseIsNullConstants
.CastAndEqualityKey);
21
s_properties.Add(
UseIsNullConstants
.Negated, "");
Microsoft.CodeAnalysis.Features (9)
AbstractUseIsNullForReferenceEqualsCodeFixProvider.cs (5)
33
=> diagnostic.Properties[
UseIsNullConstants
.Kind] ==
UseIsNullConstants
.ReferenceEqualsKey;
40
var negated = diagnostic.Properties.ContainsKey(
UseIsNullConstants
.Negated);
65
var negate = diagnostic.Properties.ContainsKey(
UseIsNullConstants
.Negated);
66
var isUnconstrainedGeneric = diagnostic.Properties.ContainsKey(
UseIsNullConstants
.UnconstrainedGeneric);
AbstractUseIsNullForReferenceEqualsDiagnosticAnalyzer.cs (4)
108
UseIsNullConstants
.Kind,
UseIsNullConstants
.ReferenceEqualsKey);
128
properties = properties.Add(
UseIsNullConstants
.UnconstrainedGeneric, "");
137
properties = properties.Add(
UseIsNullConstants
.Negated, "");