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