9 references to CreateConversion
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Conversions.cs (1)
865collectionBuilderInvocationConversion = CreateConversion(collectionBuilderInvocationPlaceholder, targetType, diagnostics);
Binder\Binder_Invocation.cs (1)
1374receiver = CreateConversion(receiver, extensionParameter.Type, diagnostics);
Binder\Binder_Operators.cs (6)
1924BoundExpression newLeftOperand = CreateConversion(left, underlyingType, diagnostics); 1925BoundExpression newRightOperand = CreateConversion(right, underlyingType, diagnostics); 1936newLeftOperand = CreateConversion(newLeftOperand, operandType, diagnostics); 1937newRightOperand = CreateConversion(newRightOperand, operandType, diagnostics); 3256BoundExpression newOperand = CreateConversion(operand, underlyingType, diagnostics); 3265newOperand = CreateConversion(newOperand, upconvertType, diagnostics);
Binder\Binder_Patterns.cs (1)
694convertedExpression = CreateConversion(operand, inputType.GetNullableUnderlyingType(), BindingDiagnosticBag.Discarded);