23 references to Flags
Microsoft.CodeAnalysis.VisualBasic (23)
Binding\Binder_Conversions.vb (1)
1423If unboundLambda.ReturnType IsNot Nothing OrElse unboundLambda.Flags <> (SourceMemberFlags.Async Or SourceMemberFlags.Iterator) Then
Binding\Binder_Lambda.vb (13)
107If Not unboundParam.IsByRef AndAlso source.Flags <> 0 AndAlso unboundType.IsRestrictedType Then 173Not ((source.Flags And SourceMemberFlags.Async) <> 0 AndAlso target.ReturnType Is Compilation.GetWellKnownType(WellKnownType.System_Threading_Tasks_Task)) AndAlso 174Not ((source.Flags And SourceMemberFlags.Iterator) <> 0 AndAlso (target.ReturnType.SpecialType = SpecialType.System_Collections_IEnumerable OrElse 180If source.Flags = SourceMemberFlags.Async Then 186If source.Flags = SourceMemberFlags.Iterator Then 199((source.Flags And SourceMemberFlags.Async) <> 0 AndAlso target.ReturnType.Equals(Compilation.GetWellKnownType(WellKnownType.System_Threading_Tasks_Task)))) 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) 917If returnExpressions.Count = 0 AndAlso source.Flags = SourceMemberFlags.Async Then 922ElseIf returnExpressions.Count = 0 AndAlso source.Flags = SourceMemberFlags.Iterator Then 991If source.Flags = SourceMemberFlags.Async Then 995ElseIf source.Flags = SourceMemberFlags.Iterator Then
BoundTree\UnboundLambda.vb (1)
20Debug.Assert((Flags And Not (SourceMemberFlags.Async Or SourceMemberFlags.Iterator)) = 0)
Generated\BoundNodes.xml.Generated.vb (3)
6863If binder IsNot Me.Binder OrElse flags <> Me.Flags OrElse parameters <> Me.Parameters OrElse returnType IsNot Me.ReturnType OrElse bindingCache IsNot Me.BindingCache Then 12821Return node.Update(node.Binder, node.Flags, node.Parameters, returnType, node.BindingCache) 14194New TreeDumperNode("flags", node.Flags, Nothing),
Semantics\OverloadResolution.vb (1)
3319(unbound.Flags And SourceMemberFlags.Async) <> 0 AndAlso
Semantics\TypeInference\TypeArgumentInference.vb (2)
2171If (unboundLambda.Flags And (SourceMemberFlags.Async Or SourceMemberFlags.Iterator)) <> 0 AndAlso 2202If Not invokeMethod.IsSub AndAlso (unboundLambda.Flags And SourceMemberFlags.Async) <> 0 Then
Symbols\Source\SourceLambdaSymbol.vb (2)
46Return (_unboundLambda.Flags And SourceMemberFlags.Async) <> 0 52Return (_unboundLambda.Flags And SourceMemberFlags.Iterator) <> 0