26 references to Iterator
Microsoft.CodeAnalysis.VisualBasic (26)
Binding\Binder_Conversions.vb (1)
1423
If unboundLambda.ReturnType IsNot Nothing OrElse unboundLambda.Flags <> (SourceMemberFlags.Async Or SourceMemberFlags.
Iterator
) Then
Binding\Binder_Lambda.vb (10)
21
Const asyncIterator As SourceMemberFlags = SourceMemberFlags.Async Or SourceMemberFlags.
Iterator
59
If modifiers = SourceMemberFlags.
Iterator
Then
75
If modifiers = SourceMemberFlags.
Iterator
Then
174
Not ((source.Flags And SourceMemberFlags.
Iterator
) <> 0 AndAlso (target.ReturnType.SpecialType = SpecialType.System_Collections_IEnumerable OrElse
186
If source.Flags = SourceMemberFlags.
Iterator
Then
234
delegateRelaxation = LambdaRelaxationVisitor.DetermineDelegateRelaxationLevel(lambdaSymbol, source.Flags = SourceMemberFlags.
Iterator
, block, seenReturnWithAValue, useSiteInfo)
893
If source.Flags = (SourceMemberFlags.Async Or SourceMemberFlags.
Iterator
) Then
915
LambdaReturnStatementsVisitor.CollectReturnExpressions(block, returnExpressions, source.Flags = SourceMemberFlags.
Iterator
)
922
ElseIf returnExpressions.Count = 0 AndAlso source.Flags = SourceMemberFlags.
Iterator
Then
995
ElseIf source.Flags = SourceMemberFlags.
Iterator
Then
Binding\Binder_Utils.vb (7)
111
Case SyntaxKind.IteratorKeyword : Return SourceMemberFlags.
Iterator
201
ElseIf (currentModifier And (SourceMemberFlags.
Iterator
Or SourceMemberFlags.WriteOnly)) <> 0 AndAlso
202
(foundModifiers And (SourceMemberFlags.
Iterator
Or SourceMemberFlags.WriteOnly)) <> 0 Then
1086
ElseIf newParam.IsByRef AndAlso (modifiers And SourceMemberFlags.
Iterator
) = SourceMemberFlags.
Iterator
Then
1102
ElseIf (modifiers And (SourceMemberFlags.Async Or SourceMemberFlags.
Iterator
)) <> 0 Then
1606
Async Or
Iterator
BoundTree\UnboundLambda.vb (1)
20
Debug.Assert((Flags And Not (SourceMemberFlags.Async Or SourceMemberFlags.
Iterator
)) = 0)
Semantics\TypeInference\TypeArgumentInference.vb (1)
2171
If (unboundLambda.Flags And (SourceMemberFlags.Async Or SourceMemberFlags.
Iterator
)) <> 0 AndAlso
Symbols\Source\SourceLambdaSymbol.vb (1)
52
Return (_unboundLambda.Flags And SourceMemberFlags.
Iterator
) <> 0
Symbols\Source\SourceMethodSymbol.vb (3)
426
SourceMemberFlags.Async Or SourceMemberFlags.
Iterator
,
433
Const asyncIterator As SourceMemberFlags = SourceMemberFlags.Async Or SourceMemberFlags.
Iterator
1288
Return (m_flags And SourceMemberFlags.
Iterator
) <> 0
Symbols\Source\SourcePropertyAccessorSymbol.vb (1)
36
If(flags.ToMethodKind() = MethodKind.PropertyGet, flags, flags And Not SourceMemberFlags.
Iterator
),
Symbols\Source\SourcePropertySymbol.vb (1)
1083
SourceMemberFlags.
Iterator
Or