2 overrides of ReplaceAnyWithIsEmpty
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Performance\CSharpPreferLengthCountIsEmptyOverAny.Fixer.cs (1)
28
protected override SyntaxNode?
ReplaceAnyWithIsEmpty
(SyntaxNode currentNode)
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Performance\BasicPreferLengthCountIsEmptyOverAnyFixer.vb (1)
39
Protected Overrides Function
ReplaceAnyWithIsEmpty
(currentNode As SyntaxNode) As SyntaxNode
1 reference to ReplaceAnyWithIsEmpty
Microsoft.CodeAnalysis.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Performance\PreferLengthCountIsEmptyOverAny.Fixer.cs (1)
75
editor.ReplaceNode(toReplace, (currentNode, _) =>
ReplaceAnyWithIsEmpty
(currentNode) ?? currentNode);