25 references to Expression
Microsoft.CodeAnalysis.CSharp (12)
_generated\0\Syntax.xml.Main.Generated.cs (1)
1879
=> node.Update(VisitList(node.AttributeLists), VisitToken(node.GotoKeyword), VisitToken(node.CaseOrDefaultKeyword), (ExpressionSyntax?)Visit(node.
Expression
), VisitToken(node.SemicolonToken));
_generated\2\Syntax.xml.Syntax.Generated.cs (5)
7136
if (attributeLists != this.AttributeLists || gotoKeyword != this.GotoKeyword || caseOrDefaultKeyword != this.CaseOrDefaultKeyword || expression != this.
Expression
|| semicolonToken != this.SemicolonToken)
7147
public new GotoStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.GotoKeyword, this.CaseOrDefaultKeyword, this.
Expression
, this.SemicolonToken);
7148
public GotoStatementSyntax WithGotoKeyword(SyntaxToken gotoKeyword) => Update(this.AttributeLists, gotoKeyword, this.CaseOrDefaultKeyword, this.
Expression
, this.SemicolonToken);
7149
public GotoStatementSyntax WithCaseOrDefaultKeyword(SyntaxToken caseOrDefaultKeyword) => Update(this.AttributeLists, this.GotoKeyword, caseOrDefaultKeyword, this.
Expression
, this.SemicolonToken);
7151
public GotoStatementSyntax WithSemicolonToken(SyntaxToken semicolonToken) => Update(this.AttributeLists, this.GotoKeyword, this.CaseOrDefaultKeyword, this.
Expression
, semicolonToken);
Binder\Binder_Statements.cs (3)
515
var expression = BindLabel(node.
Expression
, diagnostics);
536
if (node.
Expression
!= null)
538
var value = BindRValueWithoutTargetType(node.
Expression
, BindingDiagnosticBag.Discarded);
Binder\ExpressionVariableFinder.cs (1)
100
Visit(node.
Expression
);
Binder\SwitchBinder.cs (2)
514
if (node.
Expression
!= null)
519
gotoCaseExpressionOpt = gotoBinder.BindValue(node.
Expression
, diagnostics, BindValueKind.RValue);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (4)
2150
if (gotoStatement.
Expression
!= null &&
2151
!gotoStatement.
Expression
.IsMissing &&
2152
gotoStatement.
Expression
is IdentifierNameSyntax &&
2153
((IdentifierNameSyntax)gotoStatement.
Expression
).Identifier == token &&
Microsoft.CodeAnalysis.CSharp.Features (1)
Highlighting\KeywordHighlighters\SwitchStatementHighlighter.cs (1)
73
gotoStatement is {
Expression
.IsMissing: true })
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (4)
2150
if (gotoStatement.
Expression
!= null &&
2151
!gotoStatement.
Expression
.IsMissing &&
2152
gotoStatement.
Expression
is IdentifierNameSyntax &&
2153
((IdentifierNameSyntax)gotoStatement.
Expression
).Identifier == token &&
Roslyn.Diagnostics.CSharp.Analyzers (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (4)
2150
if (gotoStatement.
Expression
!= null &&
2151
!gotoStatement.
Expression
.IsMissing &&
2152
gotoStatement.
Expression
is IdentifierNameSyntax &&
2153
((IdentifierNameSyntax)gotoStatement.
Expression
).Identifier == token &&