LocalFunctionStatementSyntax Class Extensions
| Extension Method | Summary |
|---|---|
| BodyOrExpressionBody(LocalFunctionStatementSyntax) | Returns local function body or an expression body if the body is null. |
| ContainsYield(LocalFunctionStatementSyntax) | Returns true if the specified local function contains yield statement. Nested local functions are excluded. |
| ReturnsVoid(LocalFunctionStatementSyntax) | Returns true if the specified local function' return type is Void. |