25 references to DelegateRelaxationLevelMask
Microsoft.CodeAnalysis.VisualBasic (25)
Binding\Binder_Conversions.vb (10)
562
(convKind.Key And ConversionKind.
DelegateRelaxationLevelMask
) <> ConversionKind.DelegateRelaxationLevelWideningDropReturnOrArgs Then
1017
convKind And ConversionKind.
DelegateRelaxationLevelMask
,
1325
Debug.Assert(Conversions.NoConversion(convKind) AndAlso (convKind And ConversionKind.
DelegateRelaxationLevelMask
) = 0)
1328
(convKind And ConversionKind.
DelegateRelaxationLevelMask
) >= ConversionKind.DelegateRelaxationLevelWideningToNonLambda)
1345
Debug.Assert((convKind And ConversionKind.
DelegateRelaxationLevelMask
) = 0)
1367
Debug.Assert(delegateInvoke IsNot Nothing OrElse (convKind And ConversionKind.
DelegateRelaxationLevelMask
) = 0)
1379
Debug.Assert((convKind And ConversionKind.
DelegateRelaxationLevelMask
) = 0)
1407
Debug.Assert((convKind And ConversionKind.
DelegateRelaxationLevelMask
) >= boundLambda.DelegateRelaxation)
1409
((convKind And ConversionKind.
DelegateRelaxationLevelMask
) <> ConversionKind.DelegateRelaxationLevelNone AndAlso
1418
If (convKind And ConversionKind.
DelegateRelaxationLevelMask
) = ConversionKind.DelegateRelaxationLevelInvalid AndAlso
Binding\Binder_Delegates.vb (2)
1021
delegateResolutionResult.DelegateConversions And ConversionKind.
DelegateRelaxationLevelMask
,
1150
Debug.Assert((delegateRelaxation And (Not ConversionKind.
DelegateRelaxationLevelMask
)) = 0)
BoundTree\BoundLambda.vb (2)
37
Debug.Assert((DelegateRelaxation And (Not ConversionKind.
DelegateRelaxationLevelMask
)) = 0)
44
(DelegateRelaxation And ConversionKind.
DelegateRelaxationLevelMask
) <> ConversionKind.DelegateRelaxationLevelNone)
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (1)
822
(node.ConversionKind And (Not ConversionKind.
DelegateRelaxationLevelMask
)) =
Semantics\Conversions.vb (8)
1295
Dim elementDelegateRelaxationLevel = elementConversion And ConversionKind.
DelegateRelaxationLevelMask
2268
Debug.Assert((convKind And ConversionKind.
DelegateRelaxationLevelMask
) = 0)
2273
convKind = convKind And (Not ConversionKind.
DelegateRelaxationLevelMask
)
3495
Const preserveConversionKindFromUnderlyingPredefinedConversion As ConversionKind = ConversionKind.Tuple Or ConversionKind.
DelegateRelaxationLevelMask
3505
Debug.Assert((conv And ConversionKind.
DelegateRelaxationLevelMask
) = 0 OrElse (conv And ConversionKind.Tuple) <> 0)
3534
Debug.Assert((conv And ConversionKind.
DelegateRelaxationLevelMask
) = 0 OrElse (conv And ConversionKind.Tuple) <> 0)
3553
Debug.Assert((conv And ConversionKind.
DelegateRelaxationLevelMask
) = 0 OrElse (conv And ConversionKind.Tuple) <> 0)
3603
Dim elementDelegateRelaxationLevel = elementConversion And ConversionKind.
DelegateRelaxationLevelMask
Semantics\OverloadResolution.vb (2)
507
Private Const s_delegateRelaxationLevelMask_AssertZero = SmallFieldMask.DelegateRelaxationLevelMask - ConversionKind.
DelegateRelaxationLevelMask
3308
If (conv.Key And (ConversionKind.
DelegateRelaxationLevelMask
Or ConversionKind.Lambda)) = (ConversionKind.DelegateRelaxationLevelInvalid Or ConversionKind.Lambda) Then