2 overrides of ForEachKeyword
Microsoft.CodeAnalysis.CSharp (2)
Syntax.xml.Syntax.Generated.cs (2)
7745
public override SyntaxToken
ForEachKeyword
=> new SyntaxToken(this, ((InternalSyntax.ForEachStatementSyntax)this.Green).forEachKeyword, GetChildPosition(2), GetChildIndex(2));
7849
public 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)
465
var foreachKeyword = _syntax.
ForEachKeyword
;
521
var location = _syntax.
ForEachKeyword
.GetLocation();
547
diagnostics.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)
671
return 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);