7 references to CreateConversion
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Operators.cs (6)
1697BoundExpression newLeftOperand = CreateConversion(left, underlyingType, diagnostics); 1698BoundExpression newRightOperand = CreateConversion(right, underlyingType, diagnostics); 1709newLeftOperand = CreateConversion(newLeftOperand, operandType, diagnostics); 1710newRightOperand = CreateConversion(newRightOperand, operandType, diagnostics); 2772BoundExpression newOperand = CreateConversion(operand, underlyingType, diagnostics); 2781newOperand = CreateConversion(newOperand, upconvertType, diagnostics);
Binder\Binder_Patterns.cs (1)
685convertedExpression = CreateConversion(operand, inputType.GetNullableUnderlyingType(), BindingDiagnosticBag.Discarded);