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