Navigate To: Control Flow Target
This command navigates from an code viewer position to the next control flow recipient. It becomes available when you invoke Navigate To at foreach
, yield
, jump statements (break
, continue
, goto
, return
), or throw
statements.
For example, in the following code fragment, selecting Control Flow Target upon the goto
statement brings the caret to the error
label:
![Navigating to control flow target Navigating to control flow target](https://resources.jetbrains.com/help/img/dotnet/2024.1/Navigation_and_Search__Navigate_from_Here__control_flow_targets.png)
This feature is inspired by and borrowed from JetBrains ReSharper, a developer productivity tool for Microsoft Visual Studio.
Last modified: 11 February 2024