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