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