17 references to CreateConversion
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Expressions.cs (5)
1230argument = CreateConversion(argument, conversion, typedReferenceType, diagnostics); 1279argument = CreateConversion(argument, conversion, typedReferenceType, diagnostics); 2592BoundExpression boundConversion = CreateConversion(boundOperand, conversion, intType, diagnostics); 2698return CreateConversion(boundOperand, conversion, indexType, diagnostics); 6961CreateConversion(classCreation, conversion, interfaceType, diagnostics);
Binder\Binder_Invocation.cs (1)
1222receiverArgument = CreateConversion(receiver, methodResult.Result.ConversionForArg(0),
Binder\Binder_Operators.cs (10)
193BoundExpression rightConverted = CreateConversion(right, best.RightConversion, bestSignature.RightType, diagnostics); 281BoundExpression argument = CreateConversion(right, argumentConversion, delegateType, diagnostics); 646resultLeft = CreateConversion(left, best.LeftConversion, signature.LeftType, conversionDiagnostics); 647resultRight = CreateConversion(right, best.RightConversion, signature.RightType, conversionDiagnostics); 998var resultLeft = CreateConversion(left, best.LeftConversion, signature.LeftType, diagnostics); 999var resultRight = CreateConversion(right, best.RightConversion, signature.RightType, diagnostics); 4072var convertedRightOperand = CreateConversion(rightOperand, rightConversion, optLeftType0, diagnostics); 4088var convertedRightOperand = CreateConversion(rightOperand, rightConversion, optLeftType, diagnostics); 4206var convertedRightOperand = CreateConversion(rightOperand, underlyingRightConversion, underlyingLeftType, diagnostics); 4220var convertedRightOperand = CreateConversion(rightOperand, rightConversion, leftType, diagnostics);
Binder\SwitchBinder.cs (1)
270caseExpression = CreateConversion(caseExpression, conversion, SwitchGoverningType, diagnostics);