2 references to IsLocalDeclarationWithNoReferencesAsync
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (2)
638
!(await
IsLocalDeclarationWithNoReferencesAsync
(localDeclarationStatement, document, cancellationToken).ConfigureAwait(false)))
901
if (await
IsLocalDeclarationWithNoReferencesAsync
(newDecl, document, cancellationToken).ConfigureAwait(false))