C#-CSharpNoBackwardGotoJumpsΒΆ

A goto statement should not have a target which is defined before the actual goto statement

Required inputs: CSharpAST

This rule reports 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