18 references to MakeConversionNode
Microsoft.CodeAnalysis.CSharp (18)
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (3)
641
return
MakeConversionNode
(loweredLeft, type, @checked: false);
697
var convertedLeft =
MakeConversionNode
(loweredLeft, type, @checked: false);
744
var converted =
MakeConversionNode
(loweredLeft, boolean, @checked: false, markAsChecked: true); // The conversion was checked in binding
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
283
receiverOpt =
MakeConversionNode
(receiverOpt, interceptor.Parameters[0].Type, @checked: false, markAsChecked: true);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (8)
501
rewrittenOperand =
MakeConversionNode
(rewrittenOperand, underlyingTypeFrom, false);
886
rewrittenOperand =
MakeConversionNode
(
915
userDefined =
MakeConversionNode
(
1516
rewrittenOperand =
MakeConversionNode
(rewrittenOperand, source.StrippedType(), @checked, markAsChecked: true);
1519
rewrittenOperand =
MakeConversionNode
(rewrittenOperand, method.GetParameterType(0), @checked);
1532
return
MakeConversionNode
(rewrittenCall, rewrittenType, @checked, markAsChecked: true);
1706
return
MakeConversionNode
(operand, toType, @checked);
1715
operand =
MakeConversionNode
(operand, get64BitType(_compilation, signed: fromType.SpecialType == SpecialType.System_IntPtr), @checked);
Lowering\LocalRewriter\LocalRewriter_NullCoalescingAssignmentOperator.cs (1)
120
MakeConversionNode
(tmp, transformedLHS.Type, @checked: false, markAsChecked: true),
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (2)
82
rewrittenObjectCreation =
MakeConversionNode
(rewrittenObjectCreation, node.Type, false, false);
115
rewrittenObjectCreation =
MakeConversionNode
(rewrittenObjectCreation, node.Type, false, false);
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (3)
97
return
MakeConversionNode
(_factory.Literal(!constant.BooleanValue), type, @checked: false);
781
binaryOperand =
MakeConversionNode
(binaryOperand, binaryOperandType, @checked, markAsChecked: true);
803
result =
MakeConversionNode
(binOp, unaryOperandType, @checked, markAsChecked: true);