2 references to CreateLocalDeclarationStatement
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (2)
586
var declarationStatement =
CreateLocalDeclarationStatement
(declaredLocal.Type, declaredLocal.Name);
605
var declarationStatement =
CreateLocalDeclarationStatement
(type, newLocalNameOpt);