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