26 references to IteratorKeyword
Microsoft.CodeAnalysis.VisualBasic (26)
Binding\Binder_Utils.vb (3)
111
Case SyntaxKind.
IteratorKeyword
: Return SourceMemberFlags.Iterator
1717
SyntaxKind.
IteratorKeyword
1737
SyntaxKind.
IteratorKeyword
Declarations\DeclarationTreeBuilder.vb (1)
847
Case SyntaxKind.
IteratorKeyword
: bit = DeclarationModifiers.Iterator
Generated\Syntax.xml.Main.Generated.vb (2)
45192
SyntaxKind.
IteratorKeyword
,
45750
Case 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)
132
SyntaxKind.
IteratorKeyword
)
Parser\BlockContexts\SingleLineLambdaContext.vb (1)
49
ElseIf header.Kind = SyntaxKind.FunctionLambdaHeader AndAlso header.Modifiers.Any(SyntaxKind.
IteratorKeyword
) Then
Parser\ParseExpression.vb (4)
205
ElseIf 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
)
1765
If header.Modifiers.Any(SyntaxKind.
IteratorKeyword
) Then
Parser\Parser.vb (7)
780
ElseIf contextualKind = SyntaxKind.AsyncKeyword OrElse contextualKind = SyntaxKind.
IteratorKeyword
Then
1107
ElseIf contextualKind = SyntaxKind.AsyncKeyword OrElse contextualKind = SyntaxKind.
IteratorKeyword
Then
1871
SyntaxKind.
IteratorKeyword
1877
SyntaxKind.
IteratorKeyword
1999
possibleKeyword.Kind = SyntaxKind.
IteratorKeyword
Then
3615
_isInIteratorMethodDeclarationHeader = modifiers.Any(SyntaxKind.
IteratorKeyword
)
3780
_isInIteratorMethodDeclarationHeader = modifiers.Any(SyntaxKind.
IteratorKeyword
)
Scanner\KeywordTable.vb (1)
216
SyntaxKind.
IteratorKeyword
, None,
Syntax\SyntaxKindFacts.vb (3)
290
SyntaxKind.
IteratorKeyword
,
401
SyntaxKind.
IteratorKeyword
817
{"iterator", SyntaxKind.
IteratorKeyword
},