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