12 references to Expression
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Expressions.cs (1)
1224
BoundExpression argument = BindValue(node.
Expression
, diagnostics, BindValueKind.RValue);
Syntax.xml.Main.Generated.cs (1)
1627
=> node.Update(VisitToken(node.Keyword), VisitToken(node.OpenParenToken), (ExpressionSyntax?)Visit(node.
Expression
) ?? throw new ArgumentNullException("expression"), VisitToken(node.Comma), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), VisitToken(node.CloseParenToken));
Syntax.xml.Syntax.Generated.cs (6)
2237
if (keyword != this.Keyword || openParenToken != this.OpenParenToken || expression != this.
Expression
|| comma != this.Comma || type != this.Type || closeParenToken != this.CloseParenToken)
2247
public RefValueExpressionSyntax WithKeyword(SyntaxToken keyword) => Update(keyword, this.OpenParenToken, this.
Expression
, this.Comma, this.Type, this.CloseParenToken);
2248
public RefValueExpressionSyntax WithOpenParenToken(SyntaxToken openParenToken) => Update(this.Keyword, openParenToken, this.
Expression
, this.Comma, this.Type, this.CloseParenToken);
2250
public RefValueExpressionSyntax WithComma(SyntaxToken comma) => Update(this.Keyword, this.OpenParenToken, this.
Expression
, comma, this.Type, this.CloseParenToken);
2251
public RefValueExpressionSyntax WithType(TypeSyntax type) => Update(this.Keyword, this.OpenParenToken, this.
Expression
, this.Comma, type, this.CloseParenToken);
2252
public RefValueExpressionSyntax WithCloseParenToken(SyntaxToken closeParenToken) => Update(this.Keyword, this.OpenParenToken, this.
Expression
, this.Comma, this.Type, closeParenToken);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\RefLocalsAndReturnsTests.cs (1)
4838
var left = ((MakeRefExpressionSyntax)((RefValueExpressionSyntax)assignment.Left).
Expression
).Expression;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Generated\Syntax.Test.xml.Generated.cs (2)
11567
Assert.NotNull(node.
Expression
);
11571
var newNode = node.WithKeyword(node.Keyword).WithOpenParenToken(node.OpenParenToken).WithExpression(node.
Expression
).WithComma(node.Comma).WithType(node.Type).WithCloseParenToken(node.CloseParenToken);
Parsing\ExpressionParsingTests.cs (1)
890
Assert.Equal("a", fs.
Expression
.ToString());