Navigate to containing declaration
tip
Containing declarations can be always kept in view with sticky lines.
tip
JetBrains Rider provides a related feature — Select Containing Declaration ( AltShift0]) , and you can also use AltShift0[/ to jump to the opening/closing brace of the enclosing code block .