26 references to IteratorKeyword
Microsoft.CodeAnalysis.VisualBasic (26)
Binding\Binder_Utils.vb (3)
111Case SyntaxKind.IteratorKeyword : Return SourceMemberFlags.Iterator 1717SyntaxKind.IteratorKeyword 1737SyntaxKind.IteratorKeyword
Declarations\DeclarationTreeBuilder.vb (1)
847Case SyntaxKind.IteratorKeyword : bit = DeclarationModifiers.Iterator
Generated\Syntax.xml.Main.Generated.vb (2)
45192SyntaxKind.IteratorKeyword, 45750Case SyntaxKind.IteratorKeyword
Parser\BlockContexts\BlockContext.vb (3)
56_isWithinIteratorMethodOrLambdaOrProperty = DirectCast(statement, PropertyStatementSyntax).Modifiers.Any(SyntaxKind.IteratorKeyword) 68_isWithinIteratorMethodOrLambdaOrProperty = DirectCast(statement, MethodStatementSyntax).Modifiers.Any(SyntaxKind.IteratorKeyword) 76_isWithinIteratorMethodOrLambdaOrProperty = DirectCast(statement, LambdaHeaderSyntax).Modifiers.Any(SyntaxKind.IteratorKeyword)
Parser\BlockContexts\DeclarationContext.vb (1)
132SyntaxKind.IteratorKeyword)
Parser\BlockContexts\SingleLineLambdaContext.vb (1)
49ElseIf header.Kind = SyntaxKind.FunctionLambdaHeader AndAlso header.Modifiers.Any(SyntaxKind.IteratorKeyword) Then
Parser\ParseExpression.vb (4)
205ElseIf keyword.Kind = SyntaxKind.AsyncKeyword OrElse keyword.Kind = SyntaxKind.IteratorKeyword Then 213(possibleKeyword.Kind = SyntaxKind.AsyncKeyword OrElse possibleKeyword.Kind = SyntaxKind.IteratorKeyword) Then 1654_isInIteratorMethodDeclarationHeader = modifiers.Any(SyntaxKind.IteratorKeyword) 1765If header.Modifiers.Any(SyntaxKind.IteratorKeyword) Then
Parser\Parser.vb (7)
780ElseIf contextualKind = SyntaxKind.AsyncKeyword OrElse contextualKind = SyntaxKind.IteratorKeyword Then 1107ElseIf contextualKind = SyntaxKind.AsyncKeyword OrElse contextualKind = SyntaxKind.IteratorKeyword Then 1871SyntaxKind.IteratorKeyword 1877SyntaxKind.IteratorKeyword 1999possibleKeyword.Kind = SyntaxKind.IteratorKeyword Then 3615_isInIteratorMethodDeclarationHeader = modifiers.Any(SyntaxKind.IteratorKeyword) 3780_isInIteratorMethodDeclarationHeader = modifiers.Any(SyntaxKind.IteratorKeyword)
Scanner\KeywordTable.vb (1)
216SyntaxKind.IteratorKeyword, None,
Syntax\SyntaxKindFacts.vb (3)
290SyntaxKind.IteratorKeyword, 401SyntaxKind.IteratorKeyword 817{"iterator", SyntaxKind.IteratorKeyword},