1 override of ReplaceAnyWithIsEmpty
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Performance\CSharpPreferLengthCountIsEmptyOverAny.Fixer.cs (1)
28
protected override SyntaxNode?
ReplaceAnyWithIsEmpty
(SyntaxNode currentNode)
1 reference to ReplaceAnyWithIsEmpty
Microsoft.CodeAnalysis.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Performance\PreferLengthCountIsEmptyOverAny.Fixer.cs (1)
75
editor.ReplaceNode(toReplace, (currentNode, _) =>
ReplaceAnyWithIsEmpty
(currentNode) ?? currentNode);