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