69 references to IsIdentityConversion
Microsoft.CodeAnalysis.VisualBasic (69)
Binding\Binder_Conversions.vb (9)
135If Conversions.IsIdentityConversion(conv) Then 152Debug.Assert(Conversions.IsIdentityConversion(conv) OrElse 161If Not Conversions.IsIdentityConversion(conv) Then 264If Not Conversions.IsIdentityConversion(conv) Then 994Debug.Assert(Not Conversions.IsIdentityConversion(convKind)) 1128If Not Conversions.IsIdentityConversion(intermediateConv) Then 1161If Not Conversions.IsIdentityConversion(intermediateConv) Then 1774If Not Conversions.IsIdentityConversion(elemConv) AndAlso 1780ElseIf Not Conversions.IsIdentityConversion(elemConv) AndAlso
Binding\Binder_Expressions.vb (1)
1571Debug.Assert(Not Conversions.IsIdentityConversion(conv))
BoundTree\BoundConversion.vb (1)
48If Conversions.IsIdentityConversion(ConversionKind) Then
CodeGen\EmitConversion.vb (4)
198If Not Conversions.IsIdentityConversion(conversion.ConversionKind) Then 288Not Conversions.IsIdentityConversion(conversion.ConversionKind) AndAlso 324If Not Conversions.IsIdentityConversion(conversion.ConversionKind) Then 483If Not Conversions.IsIdentityConversion(conversion.ConversionKind) Then
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_ConditionalExpresion.vb (1)
206Dim innerConversionApplied As Boolean = Not Conversions.IsIdentityConversion(innerConversion)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (4)
21If Conversions.IsIdentityConversion(node.ConversionKind) AndAlso Not node.Type.IsFloatingType() Then 30If Conversions.IsIdentityConversion(node.ConversionKind) Then 39If Conversions.IsIdentityConversion(node.ConversionKind) Then 67(Conversions.IsIdentityConversion(conversion) AndAlso
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
432If Not Conversions.IsIdentityConversion(conversionKind) Then
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (7)
13If Not _inExpressionLambda AndAlso Conversions.IsIdentityConversion(node.ConversionKind) Then 314Debug.Assert(Not Conversions.IsIdentityConversion(node.ConversionKind)) 387If Conversions.IsIdentityConversion(node.ConversionKind) Then 721(Conversions.IsIdentityConversion(rewrittenConversion.ConversionKind) AndAlso 1287If Not _inExpressionLambda AndAlso Conversions.IsIdentityConversion(node.ConversionKind) Then 1313If Not _inExpressionLambda AndAlso Conversions.IsIdentityConversion(node.ConversionKind) Then 1328Not Conversions.IsIdentityConversion(node.ConversionKind) Then
Lowering\SyntheticBoundNodeFactory.vb (1)
361If Not Conversions.IsIdentityConversion(conversion) Then
Semantics\Conversions.vb (20)
74Return Conversions.IsIdentityConversion(_convKind) 596If Not (Conversions.IsIdentityConversion(conv) AndAlso sourceEnum.IsSameTypeIgnoringAll(targetEnum)) Then 625Debug.Assert(Conversions.IsIdentityConversion(conv) OrElse (conv And ConversionKind.InvolvesEnumTypeConversions) <> 0) 652ElseIf Not Conversions.IsIdentityConversion(conv) Then 657Debug.Assert(Conversions.IsIdentityConversion(conv) AndAlso sourceNullable.IsSameTypeIgnoringAll(targetNullable)) 898IsIdentityConversion(conversion) OrElse 2278If IsIdentityConversion(convKind) Then 2572If IsIdentityConversion(_conv) Then 2590Debug.Assert(IsIdentityConversion(_conv)) 2618Debug.Assert(Not IsIdentityConversion(_conv)) 2620If IsIdentityConversion(_conv) Then 2626Debug.Assert(Not IsIdentityConversion(_conv)) 2652Debug.Assert(Not IsIdentityConversion(_conv)) 2667Debug.Assert(IsIdentityConversion(addConv) OrElse (addConv And Not validNonidentityBits) = 0) 2670If IsIdentityConversion(addConv) Then 2832Debug.Assert(Not IsIdentityConversion(conv)) 4076If isRefReturning AndAlso Not IsIdentityConversion(typeConversion) Then 4086If IsIdentityConversion(typeConversion) Then 4132ElseIf Not Conversions.IsIdentityConversion(conversion) Then 4481If IsIdentityConversion(conversion) Then
Semantics\Operators.vb (14)
2132If Not (Conversions.IsIdentityConversion(conversionIn) AndAlso Conversions.IsIdentityConversion(conversionOut)) Then 2147If Conversions.IsIdentityConversion(conversionIn) AndAlso Conversions.IsIdentityConversion(conversionOut) Then 2153If Conversions.IsIdentityConversion(conversionIn) Then 2157If Conversions.IsIdentityConversion(conversionOut) Then 2488If Not (Conversions.IsIdentityConversion(conversionIn) AndAlso Conversions.IsIdentityConversion(conversionOut)) Then 2503If Conversions.IsIdentityConversion(conversionIn) AndAlso Conversions.IsIdentityConversion(conversionOut) Then 2510If Conversions.IsIdentityConversion(conversionIn) Then 2517If Conversions.IsIdentityConversion(conversionOut) Then 2528If Conversions.IsIdentityConversion(conversionOut) Then 2531Debug.Assert(Conversions.IsWideningConversion(conversionOut) AndAlso Not Conversions.IsIdentityConversion(conversionOut))
Semantics\TypeInference\TypeInferenceCollection.vb (6)
440If Not Conversions.IsIdentityConversion(conversion) Then 489ElseIf Conversions.IsIdentityConversion(inConversion) AndAlso Conversions.IsIdentityConversion(outConversion) Then 493Not (Conversions.IsIdentityConversion(inConversion) AndAlso Conversions.IsIdentityConversion(outConversion))) 543ElseIf Conversions.IsIdentityConversion(conversion) Then