Jb Evain
c752ee006a
2008-01-17 Jb Evain <[email protected] >
...
* Expression.cs: implement MakeMemberAccess.
svn path=/trunk/mcs/; revision=93157
2008-01-17 15:13:59 +00:00
Jb Evain
c45a2971f7
2008-01-17 Jb Evain <[email protected] >
...
* Expression.cs, ExpressionPrinter.cs, BinaryExpression.cs:
implement ArrayIndex.
svn path=/trunk/mcs/; revision=93148
2008-01-17 13:04:32 +00:00
Jb Evain
a956f2aafc
2008-01-17 Jb Evain <[email protected] >
...
* Expression.cs: Use TypeCode for IsInt and IsNumber.
svn path=/trunk/mcs/; revision=93147
2008-01-17 12:33:01 +00:00
Miguel de Icaza
c4f9184d02
2008-01-16 Miguel de Icaza <[email protected] >
...
* Expression.cs: Add support for user-defined operators.
Put back various binary operator tests.
svn path=/trunk/mcs/; revision=93130
2008-01-17 04:03:31 +00:00
Jb Evain
e17b58f99b
2008-01-16 Jb Evain <[email protected] >
...
* Expression.cs, ExpressionPrinter.cs: fix call for static methods.
svn path=/trunk/mcs/; revision=93041
2008-01-16 14:14:08 +00:00
Miguel de Icaza
c12187096f
2008-01-15 Miguel de Icaza <[email protected] >
...
* Expression.cs: Do validation on the method parameters and use
the return type if provided.
svn path=/trunk/mcs/; revision=93010
2008-01-16 01:31:44 +00:00
Jb Evain
704defd9a4
2008-01-15 Jb Evain <[email protected] >
...
* MethodCallExpression.cs, Expression.cs
ExpressionPrinter.cs: Implement Call (Expression, ...)
svn path=/trunk/mcs/; revision=92989
2008-01-15 21:57:07 +00:00
Jb Evain
f8dd5c0ad4
2008-01-15 Jb Evain <[email protected] >
...
* Expression.cs, ConditionalExpressionExpression.cs
ExpressionPrinter.cs : implement Expression.Condition.
svn path=/trunk/mcs/; revision=92950
2008-01-15 14:20:35 +00:00
Jb Evain
8bb3e796ff
what a wonderful place to use the null coalescing operator
...
svn path=/trunk/mcs/; revision=92949
2008-01-15 14:00:06 +00:00
Jb Evain
39de6e2a83
2008-01-15 Jb Evain <[email protected] >
...
* Expression.cs,
ParameterExpression.cs,
ExpressionPrinter.cs: implement Expression.Parameter
svn path=/trunk/mcs/; revision=92947
2008-01-15 13:55:05 +00:00
Jb Evain
83e0f89a58
2008-01-15 Jb Evain <[email protected] >
...
* ExpressionPrinter.cs (VisitBinaryExpression): simple
implementation (probably misses a few cases).
svn path=/trunk/mcs/; revision=92937
2008-01-15 10:59:57 +00:00
Jb Evain
5408f0c6c1
fix a couple of StackOverflow
...
svn path=/trunk/mcs/; revision=92933
2008-01-15 10:26:46 +00:00
Miguel de Icaza
68b16f4347
2008-01-14 Miguel de Icaza <[email protected] >
...
* Expression.cs: Bring back the (most) of binary operators. Added
type checking as well and reorganized the source file by topic
instead of alphabetical sorting.
svn path=/trunk/mcs/; revision=92917
2008-01-15 00:19:41 +00:00
Jb Evain
814567b7ed
2008-01-14 Jb Evain <[email protected] >
...
* ExpressionPrinter.cs: print ArrayLength.
svn path=/trunk/mcs/; revision=92851
2008-01-14 12:13:41 +00:00
Jb Evain
903b17afe7
2008-01-14 Jb Evain <[email protected] >
...
* Expression.cs: TypeAs can't take value types.
* ExpressionPrinter.cs: implement TypeAs.
svn path=/trunk/mcs/; revision=92849
2008-01-14 12:04:00 +00:00
Jb Evain
d9a4688637
I hate myself, I hate myself
...
svn path=/trunk/mcs/; revision=92848
2008-01-14 11:57:02 +00:00
Jb Evain
6e7f492eb8
2008-01-14 Jb Evain <[email protected] >
...
* Expression.cs: implement TypeIs.
* ExpressionPrinter.cs: implement VisitTypeBinaryExpression.
* TypeBinaryExpression.cs: add proper ctor.
svn path=/trunk/mcs/; revision=92846
2008-01-14 11:55:47 +00:00
Jb Evain
53b914c34f
2008-01-14 Jb Evain <[email protected] >
...
* Expression.cs, ExpressionPrinter.cs: fix for Quote's type.
svn path=/trunk/mcs/; revision=92843
2008-01-14 11:43:40 +00:00
Jb Evain
604ad2679b
2008-01-14 Jb Evain <[email protected] >
...
* BinaryExpression.cs,
* Expression.cs: revert part of Miguel's last patch.
MakeBinary is expected to call the appropriate factory
methods. Whose methods that are responsible for creating
the good BinaryExpression, wether they use a custom method
or not.
svn path=/trunk/mcs/; revision=92837
2008-01-14 09:52:31 +00:00
Jb Evain
43c9311b0b
deal with power
...
svn path=/trunk/mcs/; revision=92836
2008-01-14 09:49:51 +00:00
Jb Evain
5bd9503685
2008-01-14 Jb Evain <[email protected] >
...
* Expression.cs: MakeUnary is expected to call the appropriate
factory methods.
svn path=/trunk/mcs/; revision=92834
2008-01-14 08:49:56 +00:00
Miguel de Icaza
622befc4b3
2008-01-14 Miguel de Icaza <[email protected] >
...
* Expression.cs (Constant, MakeBinary and consumers of it): Some
more fill-up changes.
MakeBinary will need much more work to support user-provided
types.
svn path=/trunk/mcs/; revision=92833
2008-01-14 05:02:54 +00:00
Jb Evain
e0d6682f0a
corcompare work
...
svn path=/trunk/mcs/; revision=92825
2008-01-13 23:16:31 +00:00
Jb Evain
71088609e9
fresh impl
...
svn path=/trunk/mcs/; revision=92823
2008-01-13 22:16:25 +00:00
Jb Evain
f6359e4092
make some room
...
svn path=/trunk/mcs/; revision=92822
2008-01-13 22:11:43 +00:00
Jb Evain
b0daa1b9cb
stub Expression::Lambda
...
svn path=/trunk/mcs/; revision=92667
2008-01-11 13:04:31 +00:00
Jb Evain
8e731d9d8f
fix GetActionType for the non generic type
...
svn path=/trunk/mcs/; revision=92541
2008-01-09 19:36:05 +00:00
Jb Evain
c86b0397df
2008-01-09 Jb Evain <[email protected] >
...
* Expression.cs: implement GetActionType.
svn path=/trunk/mcs/; revision=92533
2008-01-09 18:43:05 +00:00
Jb Evain
11ebdac583
2008-01-09 Jb Evain <[email protected] >
...
* Expression.cs: fix GetFuncType to return the correct type
depending on the asked arity.
svn path=/trunk/mcs/; revision=92520
2008-01-09 16:14:17 +00:00
Jb Evain
c53053a916
tabs instead of spaces
...
svn path=/trunk/mcs/; revision=92514
2008-01-09 15:52:22 +00:00
Jb Evain
5c7f4e1ded
2008-01-09 Jb Evain <[email protected] >
...
* Expression.cs: ArrayLength: only accept single
dimensional array.
svn path=/trunk/mcs/; revision=92508
2008-01-09 14:09:55 +00:00
Jb Evain
93ec050a33
2008-01-09 Jb Evain <[email protected] >
...
* Expression.cs: throw ArgumentNullException when the type
parameter of Call is null.
svn path=/trunk/mcs/; revision=92505
2008-01-09 13:58:40 +00:00
Jb Evain
c9c6e7805a
2008-01-09 Jb Evain <[email protected] >
...
* Expression.cs: make the TypeAs test pass.
svn path=/trunk/mcs/; revision=92504
2008-01-09 13:56:42 +00:00
Jb Evain
574ad2aff1
reformating
...
svn path=/trunk/mcs/; revision=92495
2008-01-09 11:44:43 +00:00
Marek Safar
6fd1d41621
spaces to tabs
...
svn path=/trunk/mcs/; revision=92467
2008-01-08 16:03:24 +00:00
Jb Evain
157e653f54
remove non sensical code
...
svn path=/trunk/mcs/; revision=91155
2007-12-12 15:15:27 +00:00
Marek Safar
cc6cda3ecf
2007-12-04 Marek Safar <[email protected] >
...
* ElementInit.cs: New implementation.
* Funclet.cs, FuncletExpression.cs, LiftExpression.cs: Removed.
* ListInitExpression.cs, MemberListBinding.cs, Expression.cs,
ExpressionType.cs, BinaryExpression.cs, NewExpression.cs: API update.
svn path=/trunk/mcs/; revision=90663
2007-12-04 12:57:54 +00:00
Federico Di Gregorio
1e4e0fa64b
Implemented another 6 Expression methods.
...
svn path=/trunk/mcs/; revision=84329
2007-08-17 20:22:05 +00:00
Federico Di Gregorio
1eee0b1015
Implemented RightShift and LeftShift.
...
svn path=/trunk/mcs/; revision=84279
2007-08-17 14:12:08 +00:00
Federico Di Gregorio
bcb310484b
TypeAs now ok.
...
svn path=/trunk/mcs/; revision=84252
2007-08-17 00:23:38 +00:00
Federico Di Gregorio
2b7bac1b7e
TypeIs now ok.
...
svn path=/trunk/mcs/; revision=84251
2007-08-17 00:15:09 +00:00
Federico Di Gregorio
b0c688e8a3
Implemented Subtract and SubtractChecked.
...
svn path=/trunk/mcs/; revision=84249
2007-08-16 23:28:53 +00:00
Federico Di Gregorio
ee1bbb12c3
Implemented Or and OrElse.
...
svn path=/trunk/mcs/; revision=84246
2007-08-16 23:03:15 +00:00
Federico Di Gregorio
d1d09631e2
Implemented Call (except generics), Divide, Modulo, Multiply, MultiplyChecked.
...
svn path=/trunk/mcs/; revision=84245
2007-08-16 22:46:32 +00:00
Jb Evain
9424574856
revert after 2.1 corlib fix
...
svn path=/trunk/mcs/; revision=84162
2007-08-15 19:26:11 +00:00
Jb Evain
1e7e49ab87
use only 2.1 available AppendFormat method
...
svn path=/trunk/mcs/; revision=84157
2007-08-15 17:03:03 +00:00
Federico Di Gregorio
c4df363a57
Implemented Expression.Bind() method.
...
svn path=/trunk/mcs/; revision=84145
2007-08-15 12:24:00 +00:00
Federico Di Gregorio
ad98df1a44
MethodCallExpression complete. Added ArrayIndex and ArrayLength.
...
svn path=/trunk/mcs/; revision=84124
2007-08-14 22:12:39 +00:00
Miguel de Icaza
f4389f3b61
2007-08-13 Federico Di Gregorio <[email protected] >
...
* Added Test/ directory, modified Makefile to build and execute
them
* Changed a couple of Expression methods to raise exceptions
identicals to MS ones
* Added tests for AddExpression and ConstantExpression
* Implemented somme missing stuff in BinaryExpression
* The stuff in ExpressionUtils is very generic and does quite some
redundant checks: I started splitting the stuff there into more
"specific" methods that should be both understandable and fast.
I fixed the StringBuilder problem, added unique IDs to all tests,
used Assert.IsNull where appropriate and fixed one more Expression
svn path=/trunk/mcs/; revision=84011
2007-08-13 21:08:24 +00:00
Marek Safar
53a08c5ed3
A few Beta2 Updates
...
svn path=/trunk/mcs/; revision=83910
2007-08-12 15:46:25 +00:00