1 write to OutermostBlockStatements
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.State.cs (1)
124
OutermostBlockStatements
= blockFacts.GetExecutableBlockStatements(OutermostBlock);
6 references to OutermostBlockStatements
Microsoft.CodeAnalysis.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.cs (6)
99
var statementIndex = state.
OutermostBlockStatements
.IndexOf(state.DeclarationStatement);
100
if (statementIndex + 1 < state.
OutermostBlockStatements
.Count &&
101
state.
OutermostBlockStatements
[statementIndex + 1] == state.FirstStatementAffectedInInnermostBlock)
146
var statementIndex = state.
OutermostBlockStatements
.IndexOf(state.DeclarationStatement);
147
if (statementIndex + 1 < state.
OutermostBlockStatements
.Count)
149
var originalNextStatement = state.
OutermostBlockStatements
[statementIndex + 1];