2 overrides of GetPropertyName
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Runtime\CSharpPreferDictionaryContainsMethods.Fixer.cs (1)
17
protected override string?
GetPropertyName
(SyntaxNode invocation)
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Runtime\BasicPreferDictionaryContainsMethods.Fixer.vb (1)
14
Protected Overrides Function
GetPropertyName
(invocation As SyntaxNode) As String
2 references to GetPropertyName
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Runtime\PreferDictionaryContainsMethods.Fixer.cs (2)
62
if (
GetPropertyName
(node) is not string propertyName ||
79
=>
GetPropertyName
(node) is string propertyName ? GetTitle(propertyName) : null;