19 references to mustCast
Microsoft.CSharp (19)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (1)
1214return _binder.mustCast(
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (2)
522public Expr mustCast(Expr expr, CType dest) => mustCast(expr, dest, 0); 529new ExpressionBinder(new BindingContext(Context)).mustCast(expr, dest, flags);
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (1)
675call.CastOfNonLiftedResultToLiftedType = mustCast(nonLiftedResult, typeRet, 0);
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (1)
386exprDst.CastOfNonLiftedResultToLiftedType = _binder.mustCast(arg1, nubDst, 0);
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (14)
646mustCast(nonLiftedResult, resultType, 0); 1288mustCast(pArgument, uofs.GetType(), CONVERTTYPE.NOUDC); 1527mustCast(nonLiftedResult, type, 0); 1698return typeTmp != type ? mustCast(pExprResult, type, CONVERTTYPE.NOUDC) : pExprResult; 1721Expr op = mustCast(exprVal, arg.Type, CONVERTTYPE.NOUDC); 1892mustCast(nonLiftedResult, typeRes, 0); 2024arg1 = binder.mustCast(arg1, typeOp, CONVERTTYPE.NOUDC); 2025arg2 = binder.mustCast(arg2, typeOp, CONVERTTYPE.NOUDC); 2032exprRes = binder.mustCast(exprRes, typeDst, CONVERTTYPE.NOUDC); 2065arg1 = mustCast(arg1, typeOp, CONVERTTYPE.NOUDC); 2066arg2 = mustCast(arg2, typeOp, CONVERTTYPE.NOUDC); 2075return mustCast(exprRes, typeDst, CONVERTTYPE.NOUDC); 2101arg = binder.mustCast(arg, typeOp, CONVERTTYPE.NOUDC); 2675call.CastOfNonLiftedResultToLiftedType = mustCast(nonLiftedResult, typeRet, 0);