18 references to Statement
Microsoft.CodeAnalysis.CSharp (12)
_generated\0\Syntax.xml.Main.Generated.cs (1)
1876=> node.Update(VisitList(node.AttributeLists), VisitToken(node.Identifier), VisitToken(node.ColonToken), (StatementSyntax?)Visit(node.Statement) ?? throw new ArgumentNullException("statement"));
_generated\2\Syntax.xml.Syntax.Generated.cs (4)
7045if (attributeLists != this.AttributeLists || identifier != this.Identifier || colonToken != this.ColonToken || statement != this.Statement) 7056public new LabeledStatementSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.Identifier, this.ColonToken, this.Statement); 7057public LabeledStatementSyntax WithIdentifier(SyntaxToken identifier) => Update(this.AttributeLists, identifier, this.ColonToken, this.Statement); 7058public LabeledStatementSyntax WithColonToken(SyntaxToken colonToken) => Update(this.AttributeLists, this.Identifier, colonToken, this.Statement);
Binder\Binder_Statements.cs (1)
506var body = BindStatement(node.Statement, diagnostics);
Binder\LocalBinderFactory.cs (1)
848Visit(node.Statement, _enclosing);
Binder\LocalScopeBinder.cs (3)
181innerStatement = ((LabeledStatementSyntax)innerStatement).Statement; 315innerStatement = ((LabeledStatementSyntax)innerStatement).Statement; 374statement = labeledStatement.Statement;
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5919innerStatement = ((LabeledStatementSyntax)innerStatement).Statement;
Syntax\LookupPosition.cs (1)
408return GetFirstExcludedToken(((LabeledStatementSyntax)statement).Statement);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
139LabeledStatementSyntax n => n.Statement,
Microsoft.CodeAnalysis.CSharp.Features (3)
Debugging\CSharpProximityExpressionsService.RelevantExpressionsCollector.cs (1)
21=> AddRelevantExpressions(node.Statement, _expressions, _includeDeclarations);
EditAndContinue\BreakpointSpans.cs (1)
601return TryCreateSpanForStatement(labeledStatement.Statement, position);
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.CallSiteContainerRewriter.cs (1)
153return node.WithStatement(ReplaceStatementIfNeeded(node.Statement));
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
139LabeledStatementSyntax n => n.Statement,
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
139LabeledStatementSyntax n => n.Statement,