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