16 references to YieldKeyword
Microsoft.CodeAnalysis.VisualBasic (16)
Binding\Binder_Statements.vb (1)
5140
ReportDiagnostic(diagnostics, originalSyntax, ERRID.ERR_KeywordNotAllowedInScript, SyntaxFacts.GetText(SyntaxKind.
YieldKeyword
))
Generated\Syntax.xml.Internal.Generated.vb (2)
45268
Debug.Assert(yieldKeyword IsNot Nothing AndAlso yieldKeyword.Kind = SyntaxKind.
YieldKeyword
)
57334
Debug.Assert(yieldKeyword IsNot Nothing AndAlso yieldKeyword.Kind = SyntaxKind.
YieldKeyword
)
Generated\Syntax.xml.Main.Generated.vb (4)
41430
Case SyntaxKind.
YieldKeyword
41557
Return SyntaxFactory.YieldStatement(SyntaxFactory.Token(SyntaxKind.
YieldKeyword
), expression)
45193
SyntaxKind.
YieldKeyword
45752
Case SyntaxKind.
YieldKeyword
Parser\Parser.vb (1)
1119
ElseIf contextualKind = SyntaxKind.
YieldKeyword
AndAlso
Parser\ParseStatement.vb (2)
1840
Debug.Assert(DirectCast(CurrentToken, IdentifierTokenSyntax).ContextualKind = SyntaxKind.
YieldKeyword
)
1846
Debug.Assert(yieldKeyword IsNot Nothing AndAlso yieldKeyword.Kind = SyntaxKind.
YieldKeyword
)
Parser\ParseTerminal.vb (1)
42
(identifier.ContextualKind = SyntaxKind.
YieldKeyword
AndAlso IsWithinIteratorContext) Then
Scanner\KeywordTable.vb (1)
217
SyntaxKind.
YieldKeyword
, None,
Syntax\InternalSyntax\SyntaxToken.vb (1)
400
If CInt(kind) <= SyntaxKind.
YieldKeyword
OrElse kind = SyntaxKind.NameOfKeyword Then
Syntax\SyntaxKindFacts.vb (3)
24
(SyntaxKind.AggregateKeyword <= kind AndAlso kind <= SyntaxKind.
YieldKeyword
)
291
SyntaxKind.
YieldKeyword
818
{"yield", SyntaxKind.
YieldKeyword
}