63 references to IsWideningConversion
Microsoft.CodeAnalysis.VisualBasic (63)
Binding\Binder_Attributes.vb (3)
765
Not Conversions.
IsWideningConversion
(conv.ConversionKind) OrElse
779
Not Conversions.
IsWideningConversion
(conv.ConversionKind) OrElse
793
Not Conversions.
IsWideningConversion
(conv.ConversionKind) OrElse
Binding\Binder_Conversions.vb (6)
848
If Not Conversions.
IsWideningConversion
(conv) Then
862
If Not Conversions.
IsWideningConversion
(conv) Then
874
If Conversions.
IsWideningConversion
(conv) Then
879
If Conversions.
IsWideningConversion
(conv) Then
993
If isExplicit OrElse OptionStrict <> VisualBasic.OptionStrict.On OrElse Conversions.
IsWideningConversion
(convKind) Then
1781
Not (Conversions.
IsWideningConversion
(elemConv) AndAlso
Binding\Binder_Expressions.vb (1)
1582
If Conversions.
IsWideningConversion
(conv) Then
Binding\Binder_Statements.vb (2)
4000
isOrInheritsFromOrImplementsIDisposable = Conversions.
IsWideningConversion
(conversionKind)
4609
Dim isValidDispose = Conversions.
IsWideningConversion
(conversionKind)
BoundTree\BoundBinaryConditionalExpression.vb (1)
42
Debug.Assert(Conversions.
IsWideningConversion
(conversion) AndAlso Conversions.IsCLRPredefinedConversion(conversion))
CodeGen\EmitConversion.vb (1)
389
If Conversions.
IsWideningConversion
(conversion.ConversionKind) Then
CodeGen\EmitExpression.vb (2)
1516
If (Conversions.
IsWideningConversion
(conversionKind)) Then
1523
If (Conversions.
IsWideningConversion
(conversionKind)) Then
Lowering\LocalRewriter\LocalRewriter_ConditionalExpressions.vb (1)
32
If Conversions.
IsWideningConversion
(conversion) AndAlso Conversions.IsCLRPredefinedConversion(conversion) AndAlso ((conversion And ConversionKind.TypeParameter) = 0) Then
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (1)
1327
If Conversions.
IsWideningConversion
(node.ConversionKind) AndAlso
Lowering\SyntheticBoundNodeFactory.vb (1)
358
Debug.Assert(Conversions.
IsWideningConversion
(conversion))
Semantics\Conversions.vb (28)
62
Return Conversions.
IsWideningConversion
(_convKind)
601
ElseIf Conversions.
IsWideningConversion
(conv) Then
653
Debug.Assert(Conversions.
IsWideningConversion
(conv))
669
If Conversions.
IsWideningConversion
(conv) Then
1213
If Conversions.
IsWideningConversion
(conv) Then
1349
If
IsWideningConversion
(result) AndAlso (elementConv And ConversionKind.InvolvesNarrowingFromNumericConstant) <> 0 Then
1655
Debug.Assert(
IsWideningConversion
(conv))
1669
Debug.Assert(
IsWideningConversion
(conv))
1676
If Not
IsWideningConversion
(conv) Then
1985
If
IsWideningConversion
(conv) Then
2007
If
IsWideningConversion
(conv) Then
2177
If
IsWideningConversion
(inConversion) Then
2277
ElseIf
IsWideningConversion
(convKind) Then
2501
If
IsWideningConversion
(conv) Then
2522
If Conversions.
IsWideningConversion
(conv) AndAlso
2803
If Not classifyingInterfaceConversions AndAlso Not
IsWideningConversion
(conv) AndAlso
3110
If
IsWideningConversion
(conv) Then
3194
If
IsWideningConversion
(conv) Then
3287
If
IsWideningConversion
(conv) Then
3507
If
IsWideningConversion
(conv) Then
3521
If
IsWideningConversion
(conv) Then
3555
If
IsWideningConversion
(conv) Then
3821
If
IsWideningConversion
(conv) Then
3839
If
IsWideningConversion
(conv) Then
3975
If
IsWideningConversion
(conv) Then
4084
ElseIf
IsWideningConversion
(typeConversion) Then
4097
If
IsWideningConversion
(clrTypeConversion) Then
4133
Debug.Assert(Conversions.
IsWideningConversion
(conversion))
Semantics\Operators.vb (10)
2128
If Not (Conversions.
IsWideningConversion
(conversionIn) AndAlso Conversions.
IsWideningConversion
(conversionOut)) Then
2325
If Conversions.
IsWideningConversion
(conversionIn) AndAlso
2472
Debug.Assert(Not (Conversions.
IsWideningConversion
(conversionIn) AndAlso Conversions.
IsWideningConversion
(conversionOut)))
2509
If Conversions.
IsWideningConversion
(conversionIn) Then
2516
If Conversions.
IsWideningConversion
(conversionOut) Then
2531
Debug.Assert(Conversions.
IsWideningConversion
(conversionOut) AndAlso Not Conversions.IsIdentityConversion(conversionOut))
2697
If Not Conversions.
IsWideningConversion
(conv) Then
2742
If Not Conversions.
IsWideningConversion
(conv) Then
Semantics\TypeInference\TypeInferenceCollection.vb (6)
268
If Conversions.
IsWideningConversion
(conversion) AndAlso
274
If Not Conversions.
IsWideningConversion
(conversion) Then
455
If Conversions.
IsWideningConversion
(conversion) Then
492
Debug.Assert(Conversions.
IsWideningConversion
(inConversion) AndAlso Conversions.
IsWideningConversion
(outConversion) AndAlso
545
ElseIf Conversions.
IsWideningConversion
(conversion) Then