17 references to Expression
Microsoft.CodeAnalysis.CSharp (12)
_generated\0\Syntax.xml.Main.Generated.cs (1)
1899
=> 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)
7192
if (attributeLists != this.AttributeLists || gotoKeyword != this.GotoKeyword || caseOrDefaultKeyword != this.CaseOrDefaultKeyword || expression != this.
Expression
|| semicolonToken != this.SemicolonToken)
7203
public new GotoStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.GotoKeyword, this.CaseOrDefaultKeyword, this.
Expression
, this.SemicolonToken);
7204
public GotoStatementSyntax WithGotoKeyword(SyntaxToken gotoKeyword) => Update(this.AttributeLists, gotoKeyword, this.CaseOrDefaultKeyword, this.
Expression
, this.SemicolonToken);
7205
public GotoStatementSyntax WithCaseOrDefaultKeyword(SyntaxToken caseOrDefaultKeyword) => Update(this.AttributeLists, this.GotoKeyword, caseOrDefaultKeyword, this.
Expression
, this.SemicolonToken);
7207
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 (1)
src\roslyn\src\Analyzers\CSharp\Analyzers\UseLabeledJumpStatements\CSharpUseLabeledJumpStatementsHelpers.cs (1)
169
if (gotoStatement is GotoStatementSyntax(SyntaxKind.GotoStatement) {
Expression
: IdentifierNameSyntax identifier })
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseLabeledJumpStatements\CSharpUseLabeledJumpStatementsCodeFixProvider.cs (1)
133
candidate is GotoStatementSyntax(SyntaxKind.GotoStatement) {
Expression
: IdentifierNameSyntax identifier } &&
Microsoft.CodeAnalysis.CSharp.Features (3)
Highlighting\KeywordHighlighters\SwitchStatementHighlighter.cs (1)
78
gotoStatement is {
Expression
.IsMissing: true })
src\roslyn\src\Analyzers\CSharp\Analyzers\UseLabeledJumpStatements\CSharpUseLabeledJumpStatementsHelpers.cs (1)
169
if (gotoStatement is GotoStatementSyntax(SyntaxKind.GotoStatement) {
Expression
: IdentifierNameSyntax identifier })
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseLabeledJumpStatements\CSharpUseLabeledJumpStatementsCodeFixProvider.cs (1)
133
candidate is GotoStatementSyntax(SyntaxKind.GotoStatement) {
Expression
: IdentifierNameSyntax identifier } &&