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