9 references to CreateConversion
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Conversions.cs (1)
865collectionBuilderInvocationConversion = CreateConversion(collectionBuilderInvocationPlaceholder, targetType, diagnostics);
Binder\Binder_Invocation.cs (1)
1375receiver = CreateConversion(receiver, extensionParameter.Type, diagnostics);
Binder\Binder_Operators.cs (6)
2576BoundExpression newLeftOperand = CreateConversion(left, underlyingType, diagnostics); 2577BoundExpression newRightOperand = CreateConversion(right, underlyingType, diagnostics); 2588newLeftOperand = CreateConversion(newLeftOperand, operandType, diagnostics); 2589newRightOperand = CreateConversion(newRightOperand, operandType, diagnostics); 4242BoundExpression newOperand = CreateConversion(operand, underlyingType, diagnostics); 4251newOperand = CreateConversion(newOperand, upconvertType, diagnostics);
Binder\Binder_Patterns.cs (1)
695convertedExpression = CreateConversion(operand, inputType.GetNullableUnderlyingType(), BindingDiagnosticBag.Discarded);