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