7 references to CreateConversion
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Operators.cs (6)
1728
BoundExpression newLeftOperand =
CreateConversion
(left, underlyingType, diagnostics);
1729
BoundExpression newRightOperand =
CreateConversion
(right, underlyingType, diagnostics);
1740
newLeftOperand =
CreateConversion
(newLeftOperand, operandType, diagnostics);
1741
newRightOperand =
CreateConversion
(newRightOperand, operandType, diagnostics);
2815
BoundExpression newOperand =
CreateConversion
(operand, underlyingType, diagnostics);
2824
newOperand =
CreateConversion
(newOperand, upconvertType, diagnostics);
Binder\Binder_Patterns.cs (1)
694
convertedExpression =
CreateConversion
(operand, inputType.GetNullableUnderlyingType(), BindingDiagnosticBag.Discarded);