StatementType
The various Statement types in a C# document.
Await = 0
An await statement.
Block = 1
A block statement.
Bodied = 31
a bodied statement.
Break = 2
A break statement.
Catch = 3
A catch statement.
Checked = 4
A checked statement.
A constructor initialization statement.
Continue = 6
A continue statement.
DoWhile = 7
A do-while statement.
Else = 8
An else statement.
Empty = 9
An empty statement.
Expression = 10
An expression statement.
Finally = 11
A finally statement.
Fixed = 12
A fixed statement.
For = 14
A for statement.
Foreach = 13
A foreach statement.
Goto = 15
A goto statement.
If = 16
An if statement.
Label = 17
A label statement.
LocalFunction = 34
A local function statement.
Lock = 18
A lock statement.
NameOf = 32
The nameof statement.
Return = 19
A return statement.
Switch = 22
A switch statement.
SwitchCase = 20
A switch case statement.
SwitchDefault = 21
A switch default statement.
Throw = 23
A throw statement.
Try = 24
A try statement.
Unchecked = 25
An unchecked statement.
Unsafe = 26
An unsafe statement.
Using = 27
A using statement.
VariableDeclaration = 28
A variable declaration statement.
When = 33
A When statement.
While = 29
A while statement.
Yield = 30
A yield statement.