19 references to mustCast
Microsoft.CSharp (19)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (1)
1241return _binder.mustCast(
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (2)
539public Expr mustCast(Expr expr, CType dest) => mustCast(expr, dest, 0); 548new ExpressionBinder(new BindingContext(Context)).mustCast(expr, dest, flags);
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (1)
688call.CastOfNonLiftedResultToLiftedType = mustCast(nonLiftedResult, typeRet, 0);
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (1)
388exprDst.CastOfNonLiftedResultToLiftedType = _binder.mustCast(arg1, nubDst, 0);
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (14)
662mustCast(nonLiftedResult, resultType, 0); 1313mustCast(pArgument, uofs.GetType(), CONVERTTYPE.NOUDC); 1555mustCast(nonLiftedResult, type, 0); 1734return typeTmp != type ? mustCast(pExprResult, type, CONVERTTYPE.NOUDC) : pExprResult; 1758Expr op = mustCast(exprVal, arg.Type, CONVERTTYPE.NOUDC); 1936mustCast(nonLiftedResult, typeRes, 0); 2073arg1 = binder.mustCast(arg1, typeOp, CONVERTTYPE.NOUDC); 2074arg2 = binder.mustCast(arg2, typeOp, CONVERTTYPE.NOUDC); 2081exprRes = binder.mustCast(exprRes, typeDst, CONVERTTYPE.NOUDC); 2115arg1 = mustCast(arg1, typeOp, CONVERTTYPE.NOUDC); 2116arg2 = mustCast(arg2, typeOp, CONVERTTYPE.NOUDC); 2125return mustCast(exprRes, typeDst, CONVERTTYPE.NOUDC); 2152arg = binder.mustCast(arg, typeOp, CONVERTTYPE.NOUDC); 2740call.CastOfNonLiftedResultToLiftedType = mustCast(nonLiftedResult, typeRet, 0);