8 references to LocalDeclarationStatement
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (1)
688
=> (TLocalDeclarationStatementSyntax)editor.Generator.
LocalDeclarationStatement
(type, name)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateGetHashCodeMethod.cs (2)
137
: factory.
LocalDeclarationStatement
(compilation.GetSpecialType(SpecialType.System_Int64), HashCodeName, CreateLiteralExpression(factory, initHash)));
183
? generator.
LocalDeclarationStatement
(namedTypeSymbol, name, initializer)
Microsoft.CodeAnalysis.Features (2)
InlineMethod\AbstractInlineMethodRefactoringProvider.InlineContext.cs (1)
258
(TStatementSyntax)syntaxGenerator.
LocalDeclarationStatement
(
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (1)
688
=> (TLocalDeclarationStatementSyntax)editor.Generator.
LocalDeclarationStatement
(type, name)
Microsoft.CodeAnalysis.Workspaces (3)
Editing\SyntaxGenerator.cs (1)
1605
/// <see cref="
LocalDeclarationStatement
(ITypeSymbol, string, SyntaxNode, bool)"/>.
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateGetHashCodeMethod.cs (2)
137
: factory.
LocalDeclarationStatement
(compilation.GetSpecialType(SpecialType.System_Int64), HashCodeName, CreateLiteralExpression(factory, initHash)));
183
? generator.
LocalDeclarationStatement
(namedTypeSymbol, name, initializer)