8 references to CreateConversion
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Invocation.cs (1)
1373
receiver =
CreateConversion
(receiver, extensionParameter.Type, diagnostics);
Binder\Binder_Operators.cs (6)
1878
BoundExpression newLeftOperand =
CreateConversion
(left, underlyingType, diagnostics);
1879
BoundExpression newRightOperand =
CreateConversion
(right, underlyingType, diagnostics);
1890
newLeftOperand =
CreateConversion
(newLeftOperand, operandType, diagnostics);
1891
newRightOperand =
CreateConversion
(newRightOperand, operandType, diagnostics);
3210
BoundExpression newOperand =
CreateConversion
(operand, underlyingType, diagnostics);
3219
newOperand =
CreateConversion
(newOperand, upconvertType, diagnostics);
Binder\Binder_Patterns.cs (1)
694
convertedExpression =
CreateConversion
(operand, inputType.GetNullableUnderlyingType(), BindingDiagnosticBag.Discarded);