1 write to InnermostBlock
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.State.cs (1)
117
InnermostBlock
= blockFacts.FindInnermostCommonExecutableBlock(referencingStatements);
4 references to InnermostBlock
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.cs (2)
65
if (!CanMoveToBlock(state.LocalSymbol, state.OutermostBlock, state.
InnermostBlock
))
185
var blocks = state.
InnermostBlock
.GetAncestorsOrThis<SyntaxNode>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.State.cs (2)
118
if (
InnermostBlock
== null)
123
InnermostBlockStatements = blockFacts.GetExecutableBlockStatements(
InnermostBlock
);