35 references to IsNarrowingConversion
Microsoft.CodeAnalysis.VisualBasic (35)
Binding\Binder_Conversions.vb (3)
849If Not Conversions.IsNarrowingConversion(conv) OrElse (conv And ConversionKind.VarianceConversionAmbiguity) = 0 Then 864Not Conversions.IsNarrowingConversion(conv) OrElse 1708If Conversions.IsNarrowingConversion(convKind) Then
Binding\Binder_Delegates.vb (1)
993If Me.OptionStrict = OptionStrict.On AndAlso Conversions.IsNarrowingConversion(delegateResolutionResult.DelegateConversions) Then
Semantics\Conversions.vb (22)
53Return Conversions.IsNarrowingConversion(_convKind) 609Debug.Assert(Conversions.IsNarrowingConversion(conv)) 649If Conversions.IsNarrowingConversion(conv) Then 674Debug.Assert(Conversions.IsNarrowingConversion(conv)) 1336If IsNarrowingConversion(elementConv) Then 1633If IsNarrowingConversion(conv) Then 1666If IsNarrowingConversion(conv) Then 2286Debug.Assert(IsNarrowingConversion(convKind)) 2504ElseIf IsNarrowingConversion(conv) Then 2679Debug.Assert(IsNarrowingConversion(_conv)) 2792If Not classifyingInterfaceConversions AndAlso IsNarrowingConversion(conv) AndAlso 2828If IsNarrowingConversion(conv) Then 3165ElseIf IsNarrowingConversion(conv) Then 3198ElseIf IsNarrowingConversion(conv) Then 3314If IsNarrowingConversion(conv) Then 3510ElseIf IsNarrowingConversion(conv) Then 3524ElseIf IsNarrowingConversion(conv) Then 3558ElseIf IsNarrowingConversion(conv) Then 3690Debug.Assert(IsNarrowingConversion(conv)) ' We are relying on this while classifying conversions from type parameter to avoid need for recursion. 3992If IsNarrowingConversion(conv) Then 4081If IsNarrowingConversion(typeConversion) Then 4130ElseIf Conversions.IsNarrowingConversion(conversion) Then
Semantics\Operators.vb (4)
2523Debug.Assert(Conversions.IsNarrowingConversion(conversionOut)) 2526Debug.Assert(Conversions.IsNarrowingConversion(conversionIn)) 2530ElseIf Not Conversions.IsNarrowingConversion(conversionOut) Then 2544Debug.Assert(Conversions.IsNarrowingConversion(conversionOut))
Semantics\TypeInference\TypeInferenceCollection.vb (5)
487ElseIf Conversions.IsNarrowingConversion(inConversion) OrElse Conversions.IsNarrowingConversion(outConversion) Then 510If Conversions.IsNarrowingConversion(conversion) Then 526If Conversions.IsNarrowingConversion(conversion) Then 541ElseIf Conversions.IsNarrowingConversion(conversion) Then