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