1 write to VariableDeclarator
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.State.cs (1)
70
VariableDeclarator
= (TVariableDeclaratorSyntax)variables[0];
7 references to VariableDeclarator
Microsoft.CodeAnalysis.CodeStyle.Fixes (7)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.cs (4)
209
var initializer = syntaxFacts.GetInitializerOfVariableDeclarator(state.
VariableDeclarator
);
244
state.
VariableDeclarator
,
246
state.
VariableDeclarator
.WithoutTrailingTrivia(),
248
.WithTrailingTrivia(state.
VariableDeclarator
.GetTrailingTrivia()));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.State.cs (3)
71
if (!service.IsValidVariableDeclarator(
VariableDeclarator
))
84
service.GetVariableDeclaratorSymbolNode(
VariableDeclarator
), cancellationToken);
164
if (syntaxFacts.GetInitializerOfVariableDeclarator(
VariableDeclarator
) != null &&