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