TypeIs now ok.
[mono.git] / mcs / class / System.Core / System.Linq.Expressions / ChangeLog
1 2007-08-17  Federico Di Gregorio <fog@initd.org>
2
3         * Expression.cs: added tests for TypeIs.
4
5         * TypeBinaryExpression.cs: implemented BuildString().
6
7         * Expression.cs: added three specific methods to determine when a type
8         is a number (IsNumeric), an integer (IsInteger) or an integer or a bool
9         (IsIntegerOrBool). Code taken and simplified from ExpressionUtil.
10
11         * Expression.cs: two less to do: Subtract() and SubtractChecked().
12
13         * Expression.cs: implemented all versions of Or() and OrElse().
14
15         * BinaryExpression.cs: fixed OrElse case in BuildString().
16
17         * Expression.cs: implemented all versions of Divide(), Modulo(),
18         Multiply(), MultiplyChecked() and tests. Call() works except for
19         generic types.
20
21 2007-08-15  Federico Di Gregorio <fog@initd.org>
22
23         * Expression.cs: implemented both versions of Bind() & tests. 
24
25         * MemberBinding.cs: added missing override of ToString().
26
27 2007-08-14  Federico Di Gregorio <fog@initd.org>
28
29         * Expression.cs: implemented ArrayLength & tests.
30
31         * Expression.cs: implemented all three versions of ArrayIndex method.
32
33         * MethodCallExpression.cs: implemented BuildString() method.
34
35 2007-08-13  Federico Di Gregorio <fog@initd.org>
36
37         * ConstantExpression.cs: using multiple StringBuilder.Append() methods
38         instead of concatenating strings.
39
40         * Expression.cs: added AndAlso() method and validator for True and
41         False user-defined operators.
42
43         * Test: added unique IDs to all tests. 
44
45 2007-08-12  Federico Di Gregorio <fog@initd.org>
46
47         * ConstantExpression.cs: fixed BuildString() to return "value(...)"
48         when the string representation of the value is equal to the type name.
49         Added appropriate checks.
50
51         * Expression.cs: fixed And() method.
52
53         * Expression.cs: Add() method uses new GetUserDefinedBinaryOperator()
54         and raise exactly the same exceptions (including exception text) as MS
55         one does.
56
57 2007-07-24  Federico Di Gregorio <fog@initd.org>
58
59         * Expression.cs: modified Constant method to use "object" as the type if
60         just a null is given. Changed exception text when the passed type is not
61         nullable but value is.
62
63 2007-07-13  Federico Di Gregorio <fog@initd.org>
64
65         * BinaryExpression.cs: implemented BuildString().
66
67 2007-07-12  Federico Di Gregorio <fog@initd.org>
68
69     * Test/System.Linq.Expressions: added test directory and some tests.
70     
71         * Expression.cs:
72           - changed the exceptions raised on argument errors to match the ones in
73             found in the last system.core.dll (the one from SilverLight 1.1 alpha)
74           - removed the three very generic #regions and started replacing them with
75             specific ones, as found in other parts of classes code.
76
77 2007-03-29  Antonello Provenzano  <antonello@deveel.com>\r
78 \r
79         * ExpressionUtil.cs: \r
80                 - Implemented method GetOperator for general pourposes, \r
81                 moving some implementations from Expression.cs specific methods\r
82                 - IsNumber now returns 'true' for sbyte and unsigned integers\r
83                 - Implemented method IsInteger\r
84         * Expression.cs: Implementation of the method:\r
85                 - AddChecked\r
86                 - Call\r
87                 - Condition\r
88                 - Divide\r
89                 - LeftShift\r
90                 - Quote\r
91         * ExpressionType.cs: Applied Obsolete attributes\r
92         * LiftExpression.cs: New file\r
93         \r
94 2007-03-27  Antonello Provenzano  <antonello@deveel.com>\r
95 \r
96         * ExpressionUtil.cs: methods 'GetReadOnlyCollection' removed\r
97         to use internal extension 'ToReadOnlyCollection'.\r
98         * Expression: Removed unimplemented stubs.
99
100 2007-03-27  Marek Safar  <marek.safar@gmail.com>\r
101 \r
102         * InvocationExpression.cs,\r
103         * ExpressionType.cs,\r
104         * ParameterExpression.cs: Updated to match with the latest version.\r
105         \r
106 2007-03-25  Antonello Provenzano  <antonello@deveel.com>\r
107 \r
108         * ConstantExpression.cs: New file\r
109         * ConditionalExpression.cs: New file\r
110         * BinaryExpression.cs: New file\r
111         * ExecutionScope.cs: New file\r
112         * Expression.cs: New file\r
113         * Expression_T.cs: modified to support LambdaExpression .ctor\r
114         * ExpressionCompiler.cs: New file\r
115         * ExpressionType.cs: New file\r
116         * ExpressionUtil.cs: New file\r
117         * Funclet.cs: New file\r
118         * FuncletExpression.cs: New file\r
119         * InvocationExpression.cs: New file\r
120         * IStrongBox.cs: New file\r
121         * LambdaExpression.cs: implemented constructor and fields\r
122         * MemberAssignment.cs: New file\r
123         * MemberBinding.cs: New file\r
124         * MemberBindingType.cs: New file\r
125         * MemberListBinding.cs: New file\r
126         * MemberMemberBinding.cs: New file\r
127         * MethodCallExpression.cs: New file\r
128         * NewArrayExpression.cs: New file\r
129         * NewExpression.cs: New file\r
130         * ParameterExpression.cs: extended implementation\r
131         * StrongBox_T.cs: New file\r
132         * UnaryExpression.cs: New file\r
133         * TypeBinaryExpression.cs: New file\r
134         \r
135 2007-02-16  Marek Safar  <marek.safar@gmail.com>\r
136 \r
137         * Expression_T.cs: Derives from lambda.\r
138 \r
139 2007-02-03  Atsushi Enomoto  <atsushi@ximian.com>\r
140 \r
141         * LambdaExpression.cs : new (stub) file.\r
142 \r
143 2007-01-19  Marek Safar  <marek.safar@gmail.com>\r
144 \r
145         * Expression_T.cs: New file.\r
146 \r
147 2006-11-02  Marek Safar  <marek.safar@gmail.com>\r
148 \r
149         * Initial checkin.\r