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