2 types derived from PreferDictionaryContainsMethods
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Runtime\CSharpPreferDictionaryContainsMethods.cs (1)
13public sealed class CSharpPreferDictionaryContainsMethods : PreferDictionaryContainsMethods
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Runtime\BasicPreferDictionaryContainsMethods.vb (1)
10Public NotInheritable Class BasicPreferDictionaryContainsMethods : Inherits PreferDictionaryContainsMethods
7 references to PreferDictionaryContainsMethods
Microsoft.CodeAnalysis.NetAnalyzers (7)
Microsoft.NetCore.Analyzers\Runtime\PreferDictionaryContainsMethods.Fixer.cs (7)
18public sealed override ImmutableArray<string> FixableDiagnosticIds { get; } = ImmutableArray.Create(PreferDictionaryContainsMethods.RuleId); 68string methodName = propertyName == PreferDictionaryContainsMethods.KeysPropertyName 69? PreferDictionaryContainsMethods.ContainsKeyMethodName 70: PreferDictionaryContainsMethods.ContainsValueMethodName; 82=> propertyName == PreferDictionaryContainsMethods.KeysPropertyName 87/// Returns <see cref="PreferDictionaryContainsMethods.KeysPropertyName"/> or 88/// <see cref="PreferDictionaryContainsMethods.ValuesPropertyName"/> for the property