1 write to InnermostBlockStatements
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.State.cs (1)
123
InnermostBlockStatements
= blockFacts.GetExecutableBlockStatements(InnermostBlock);
4 references to InnermostBlockStatements
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.State.cs (4)
128
FirstStatementAffectedInInnermostBlock =
InnermostBlockStatements
.Cast<TStatementSyntax>().FirstOrDefault(allAffectedStatements.Contains);
140
IndexOfDeclarationStatementInInnermostBlock =
InnermostBlockStatements
.IndexOf(DeclarationStatement);
141
IndexOfFirstStatementAffectedInInnermostBlock =
InnermostBlockStatements
.IndexOf(FirstStatementAffectedInInnermostBlock);
186
if (
InnermostBlockStatements
[i] is not TLocalDeclarationStatementSyntax)