15 references to ApplyConversionIfNotIdentity
Microsoft.CodeAnalysis.CSharp (15)
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (4)
281
var pointerValue =
ApplyConversionIfNotIdentity
(fixedInitializer.ElementPointerConversion, fixedInitializer.ElementPointerPlaceholder, addr);
375
var pointerValue =
ApplyConversionIfNotIdentity
(fixedInitializer.ElementPointerConversion, fixedInitializer.ElementPointerPlaceholder, addr);
468
var convertedStringTemp =
ApplyConversionIfNotIdentity
(fixedInitializer.ElementPointerConversion, fixedInitializer.ElementPointerPlaceholder, addr);
561
BoundExpression convertedFirstElementAddress =
ApplyConversionIfNotIdentity
(fixedInitializer.ElementPointerConversion, fixedInitializer.ElementPointerPlaceholder, firstElementAddress);
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (5)
192
BoundExpression iterationVarAssignValue =
ApplyConversionIfNotIdentity
(
195
ApplyConversionIfNotIdentity
(
649
BoundExpression iterationVarInitValue =
ApplyConversionIfNotIdentity
(
938
BoundExpression iterationVarInitValue =
ApplyConversionIfNotIdentity
(
1118
BoundExpression iterationVarInitValue =
ApplyConversionIfNotIdentity
(
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (2)
94
rewrittenLeft =
ApplyConversionIfNotIdentity
(leftConversion, leftPlaceholder, rewrittenLeft);
265
rewrittenLeft =
ApplyConversionIfNotIdentity
(leftConversion, leftPlaceholder, rewrittenLeft);
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
576
BoundExpression convertedBinary =
ApplyConversionIfNotIdentity
(single.ConversionForBool, single.ConversionForBoolPlaceholder, binary);
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (3)
589
result =
ApplyConversionIfNotIdentity
(node.ResultConversion, node.ResultPlaceholder, result);
647
BoundExpression rewrittenArgument =
ApplyConversionIfNotIdentity
(node.OperandConversion, node.OperandPlaceholder, rewrittenValueToIncrement);
766
binaryOperand =
ApplyConversionIfNotIdentity
(node.OperandConversion, node.OperandPlaceholder, binaryOperand);