mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
* BinaryExpression.cs: Unleash the power of cut and paste. Bring a bunch of operatros from mcs/expression.cs * Expression.cs: There is no op_LogicalAnd or op_LogicalOr, I just used those from mcs, that was wrong. use the proper ones, clean up the result. * BinaryExpression.cs: Add method invocations for binary methods. svn path=/trunk/mcs/; revision=93613
34 lines
980 B
Plaintext
34 lines
980 B
Plaintext
Things missing:
|
|
|
|
*** Add support for MethodInfos ** and the nullable stuff, I believe
|
|
we have to pull the values before calling the various
|
|
MethodINfos in BinaryExpression, need to write test
|
|
|
|
Coalesce's conversion, what is this used for?
|
|
|
|
Constant generation of objects, how are those Constants in the first place?
|
|
|
|
Try:
|
|
OrElse (Constant (new Boo(), new Boo ()))
|
|
|
|
Tests missing:
|
|
|
|
Must write tests for all the codepaths currently in
|
|
BinaryExpression.Emit (specially the XXXChecked variants as
|
|
those so far have shown most of the problems).
|
|
|
|
|
|
Write tests for stuff using MethodInfos (the various
|
|
BinaryExpressions using MEthodInfos have been barely tested).
|
|
|
|
Write more tests using nullables, currently we are short on
|
|
them, and they are not extensively tested.
|
|
|
|
Missing:
|
|
Add, Subtract, Multiply, Divide, Modulo, <<, >> And, Or, Xor
|
|
|
|
MultiplyChecked, DivideChecked,
|
|
|
|
case ExpressionType.OrElse:
|
|
case ExpressionType.AndAlso:
|