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