C#-CSharpNoBackwardGotoJumpsΒΆ
A goto statement should not have a target which is defined before the actual goto statement
Required inputs: CSharpAST
goto statements that have a target which is defined before the goto statement.Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
csharp_backwards_goto |
Label referenced by a goto statement shall be declared later in same function. |
None |
False |
Options
This rule shares the following common options: excludes, includes, justification_checker, post_processing, provider, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
This rule has no individual options.