1 write to IndexOfDeclarationStatementInInnermostBlock
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.State.cs (1)
140
IndexOfDeclarationStatementInInnermostBlock
= InnermostBlockStatements.IndexOf(DeclarationStatement);
5 references to IndexOfDeclarationStatementInInnermostBlock
Microsoft.CodeAnalysis.CodeStyle.Fixes (5)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.cs (2)
56
if (state.
IndexOfDeclarationStatementInInnermostBlock
>= 0 &&
57
state.
IndexOfDeclarationStatementInInnermostBlock
== state.IndexOfFirstStatementAffectedInInnermostBlock - 1 &&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.State.cs (3)
142
if (
IndexOfDeclarationStatementInInnermostBlock
>= 0 &&
143
IndexOfDeclarationStatementInInnermostBlock
< IndexOfFirstStatementAffectedInInnermostBlock)
165
InDeclarationStatementGroup(
IndexOfDeclarationStatementInInnermostBlock
, IndexOfFirstStatementAffectedInInnermostBlock))