12 references to ExpressionStatement
Microsoft.CodeAnalysis.CSharp (12)
BoundTree\BoundNodeExtensions.cs (1)
42if (statement!.Kind == BoundKind.ExpressionStatement)
BoundTree\BoundTreeVisitors.cs (1)
85case BoundKind.ExpressionStatement:
CodeGen\EmitStatement.cs (1)
59case BoundKind.ExpressionStatement:
Generated\BoundNodes.xml.Generated.cs (2)
3669: base(BoundKind.ExpressionStatement, syntax, hasErrors || expression.HasErrors()) 9022case BoundKind.ExpressionStatement:
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
148case BoundKind.ExpressionStatement:
Lowering\InitializerRewriter.cs (1)
84return (statement.Kind == BoundKind.ExpressionStatement) && ((ExpressionStatementSyntax)statement.Syntax).SemicolonToken.IsMissing ?
Lowering\LocalRewriter\LocalRewriter.cs (4)
886if (initializer.Kind == BoundKind.ExpressionStatement) 888goto case BoundKind.ExpressionStatement; 893case BoundKind.ExpressionStatement: 911if (statement.Kind != BoundKind.ExpressionStatement)
Operations\CSharpOperationFactory.cs (1)
211case BoundKind.ExpressionStatement: