9 references to CreateConversion
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Conversions.cs (1)
885
collectionBuilderInvocationConversion =
CreateConversion
(collectionBuilderInvocationPlaceholder, targetType, diagnostics);
Binder\Binder_Invocation.cs (1)
1381
receiver =
CreateConversion
(receiver, extensionParameter.Type, diagnostics);
Binder\Binder_Operators.cs (6)
2708
BoundExpression newLeftOperand =
CreateConversion
(left, underlyingType, diagnostics);
2709
BoundExpression newRightOperand =
CreateConversion
(right, underlyingType, diagnostics);
2720
newLeftOperand =
CreateConversion
(newLeftOperand, operandType, diagnostics);
2721
newRightOperand =
CreateConversion
(newRightOperand, operandType, diagnostics);
4419
BoundExpression newOperand =
CreateConversion
(operand, underlyingType, diagnostics);
4428
newOperand =
CreateConversion
(newOperand, upconvertType, diagnostics);
Binder\Binder_Patterns.cs (1)
706
convertedExpression =
CreateConversion
(operand, inputType.GetNullableUnderlyingType(), BindingDiagnosticBag.Discarded);