2 overrides of ForEachKeyword
Microsoft.CodeAnalysis.CSharp (2)
Syntax.xml.Syntax.Generated.cs (2)
7745public override SyntaxToken ForEachKeyword => new SyntaxToken(this, ((InternalSyntax.ForEachStatementSyntax)this.Green).forEachKeyword, GetChildPosition(2), GetChildIndex(2)); 7849public override SyntaxToken ForEachKeyword => new SyntaxToken(this, ((InternalSyntax.ForEachVariableStatementSyntax)this.Green).forEachKeyword, GetChildPosition(2), GetChildIndex(2));
8 references to ForEachKeyword
Microsoft.CodeAnalysis.CSharp (5)
Binder\ForEachLoopBinder.cs (3)
465var foreachKeyword = _syntax.ForEachKeyword; 521var location = _syntax.ForEachKeyword.GetLocation(); 547diagnostics.Add(_syntax.ForEachKeyword, useSiteInfo);
Lowering\Instrumentation\DebugInfoInjector.cs (2)
294? TextSpan.FromBounds(forEachSyntax.AwaitKeyword.Span.Start, forEachSyntax.ForEachKeyword.Span.End) 295: forEachSyntax.ForEachKeyword.Span;
Microsoft.CodeAnalysis.CSharp.Features (3)
EditAndContinue\BreakpointSpans.cs (1)
671return CreateSpan(forEachStatement.ForEachKeyword);
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
1822(commonForEachStatement.AwaitKeyword.Span.Length > 0) ? commonForEachStatement.AwaitKeyword.SpanStart : commonForEachStatement.ForEachKeyword.SpanStart,
Highlighting\KeywordHighlighters\LoopHighlighter.cs (1)
71=> spans.Add(statement.ForEachKeyword.Span);