28 references to VarianceConversionAmbiguity
Microsoft.CodeAnalysis.VisualBasic (28)
Binding\Binder_Conversions.vb (4)
546If (convKind.Key And ConversionKind.VarianceConversionAmbiguity) <> 0 Then 568If (convKind.Key And ConversionKind.VarianceConversionAmbiguity) <> 0 Then 849If Not Conversions.IsNarrowingConversion(conv) OrElse (conv And ConversionKind.VarianceConversionAmbiguity) = 0 Then 865(conv And ConversionKind.VarianceConversionAmbiguity) = 0 Then
Semantics\Conversions.vb (24)
1986Debug.Assert((conv And ConversionKind.VarianceConversionAmbiguity) = 0) 2008Debug.Assert((conv And ConversionKind.VarianceConversionAmbiguity) = 0) 2388ConversionKind.VarianceConversionAmbiguity)) = 0) 2502Debug.Assert((conv And ConversionKind.VarianceConversionAmbiguity) = 0) 2506(conv And (ConversionKind.InvolvesEnumTypeConversions Or ConversionKind.VarianceConversionAmbiguity)) 2541ConversionKind.VarianceConversionAmbiguity Or 2582_conv = (ConversionKind.Narrowing Or ConversionKind.VarianceConversionAmbiguity)))) 2660addConv = ConversionKind.Narrowing Or (addConv And (ConversionKind.InvolvesEnumTypeConversions Or ConversionKind.VarianceConversionAmbiguity)) 2665ConversionKind.VarianceConversionAmbiguity) 2678If (_conv And ConversionKind.VarianceConversionAmbiguity) <> 0 Then 2683_conv = ConversionKind.Narrowing Or ConversionKind.VarianceConversionAmbiguity 2759Dim varianceConversionAmbiguity As ConversionKind = ConversionKind.VarianceConversionAmbiguity 2833Debug.Assert((conv And ConversionKind.VarianceConversionAmbiguity) = 0) 3111Debug.Assert((conv And ConversionKind.VarianceConversionAmbiguity) = 0) 3170(conv And (ConversionKind.InvolvesEnumTypeConversions Or ConversionKind.VarianceConversionAmbiguity)) 3192Debug.Assert((conv And ConversionKind.VarianceConversionAmbiguity) = 0) 3290Debug.Assert((conv And ConversionKind.VarianceConversionAmbiguity) = 0) 3420ConversionKind.VarianceConversionAmbiguity)) = 0) 3504Debug.Assert((conv And ConversionKind.VarianceConversionAmbiguity) = 0) 3552Debug.Assert((conv And ConversionKind.VarianceConversionAmbiguity) = 0) 3824Debug.Assert((conv And ConversionKind.VarianceConversionAmbiguity) = 0) 3842Debug.Assert((conv And ConversionKind.VarianceConversionAmbiguity) = 0) 3887ConversionKind.VarianceConversionAmbiguity)) = 0) 3978Debug.Assert((conv And ConversionKind.VarianceConversionAmbiguity) = 0)