Commit Graph
42 Commits
Author SHA1 Message Date
Olivier Dufour 26f08ed6f6 2008-02-01 Olivier Dufour <[email protected]>
* ExpressionTest_ListBind.cs:Add test for ListBind

svn path=/trunk/mcs/; revision=94574
2008-02-01 21:19:34 +00:00
Olivier Dufour d183a6c7e5 2008-02-01 Olivier Dufour <[email protected]>
* ExpressionTest_ElementInit.cs:Add test for ElementInit

svn path=/trunk/mcs/; revision=94532
2008-02-01 17:34:29 +00:00
Jb Evain be7d5abcd6 we pass AndAlso
svn path=/trunk/mcs/; revision=94263
2008-01-29 16:30:45 +00:00
Jb Evain e8ec46e9ba we pass some of those
svn path=/trunk/mcs/; revision=94242
2008-01-29 12:51:28 +00:00
Jb Evain 0f183e50da we pass New
svn path=/trunk/mcs/; revision=94191
2008-01-28 23:02:38 +00:00
Jb Evain 758ef14129 we pass Bind
svn path=/trunk/mcs/; revision=93908
2008-01-25 15:23:00 +00:00
Jb Evain 8d1d560ef5 we pass PropertyOrField
svn path=/trunk/mcs/; revision=93902
2008-01-25 14:39:14 +00:00
Jb Evain 774dd46318 we pass ExclusiveOr tests
svn path=/trunk/mcs/; revision=93898
2008-01-25 14:21:32 +00:00
Jb Evain 00577a37fc we pass Field and Property
svn path=/trunk/mcs/; revision=93822
2008-01-24 17:55:58 +00:00
Miguel de Icaza 0a6c4c0470 Shut up all those warnings
svn path=/trunk/mcs/; revision=93597
2008-01-22 22:50:33 +00:00
Jb Evain 416fcfe2d0 we pass NewArrayBounds and NewArrayList
svn path=/trunk/mcs/; revision=93529
2008-01-22 14:20:18 +00:00
Jb Evain 3a40c9e3a5 enable new Enumerable tests
svn path=/trunk/mcs/; revision=93485
2008-01-22 08:53:19 +00:00
Miguel de Icaza b9b9a664e0 2008-01-22 Miguel de Icaza <[email protected]>
* BinaryExpression.cs (EmitCoalesce): Add support for emitting
	code for Coalesce.

	TODO: this does not use the "Conversion" Lambda, which am not sure
	who generates this or what it is used for.

	(EmitLogical): Fix a couple of bugs in AndAlso, OrElse.	

	* Expression.cs: Add support for Coalesce.
	(BinaryCoreCheck): Move more checking here, instead of the helper
	routines, will remove them next.
	
	* LambdaExpression.cs (Compile): Create the delegate last, so we
	manage to save the assembly while debugging in case of error


svn path=/trunk/mcs/; revision=93480
2008-01-22 07:01:58 +00:00
Jb Evain dd5db0479c oh, they're already in :)
svn path=/trunk/mcs/; revision=93392
2008-01-21 14:19:45 +00:00
Jb Evain 71df001e74 remove until Miguel check them in
svn path=/trunk/mcs/; revision=93390
2008-01-21 14:18:41 +00:00
Miguel de Icaza 1affd8bf07 2008-01-20 Miguel de Icaza <[email protected]>
Introduce support for Nullable arguments, no code is generated for
	these yet, its only tests + node creation behavior at this point.
	
	* Expression.cs (BinaryCoreCheck): Do not allow "int?" and "int"
	as operators, they must both be nullable.

	NullableTypes in the arguments are transformed into the underlying
	values when doing the method validation.  


svn path=/trunk/mcs/; revision=93368
2008-01-21 00:45:16 +00:00
Jb Evain 8573818b07 we pass lessthan and greatherthan tests
svn path=/trunk/mcs/; revision=93265
2008-01-18 15:07:18 +00:00
Jb Evain cbc693d054 we pass not, negate and unaryplus tests
svn path=/trunk/mcs/; revision=93257
2008-01-18 14:18:29 +00:00
Miguel de Icaza 488a45b5a1 2008-01-17 Miguel de Icaza <[email protected]>
Beginning of code generation framework for Linq.Expressions.
	Some code was borrowed by from the C# compiler
	
	* Expression_T.cs: Fill in the blanks.
	
	* LambdaExpression.cs: Validation of parameters mostly, a tiny bit
	of codegen.

	* ConstantExpression.cs: Mostly done, need to write tests for
	non-fundamental types and other ValueType initializations. 



svn path=/trunk/mcs/; revision=93222
2008-01-18 00:24:01 +00:00
Jb Evain 2057818b55 we pass ArrayIndex tests
svn path=/trunk/mcs/; revision=93149
2008-01-17 13:04:41 +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 b06078d923 add CallWithExpression tests
svn path=/trunk/mcs/; revision=92991
2008-01-15 21:58:28 +00:00
Jb Evain 62829517a3 condition tests passes
svn path=/trunk/mcs/; revision=92952
2008-01-15 14:21:58 +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 552794ef0c we pass ArrayLength
svn path=/trunk/mcs/; revision=92852
2008-01-14 12:13:57 +00:00
Jb Evain 9bcffe7034 we pass TypeAs
svn path=/trunk/mcs/; revision=92850
2008-01-14 12:04:32 +00:00
Jb Evain 12970089b5 add passing tests
svn path=/trunk/mcs/; revision=92847
2008-01-14 11:56:09 +00:00
Jb Evain 71088609e9 fresh impl
svn path=/trunk/mcs/; revision=92823
2008-01-13 22:16:25 +00:00
Jb Evain 5c15ab0aa1 add file
svn path=/trunk/mcs/; revision=92522
2008-01-09 16:15:13 +00:00
Stephane Delcroix 8d01f50a11 2007-12-20 Stephane Delcroix <[email protected]>
* TimeZoneInfoTest.cs:
	* TimeZoneInfo.AdjustmentRule.cs:
	* TimeZoneInfo.TransitionTime.cs: Finally adding the 60 tests.

svn path=/trunk/mcs/; revision=91702
2007-12-20 13:03:34 +00:00
Jb Evain 846307f24e add test
svn path=/trunk/mcs/; revision=91166
2007-12-12 18:20:54 +00:00
Jb Evain fc93f744b6 add HashSetTest
svn path=/trunk/mcs/; revision=90408
2007-11-28 20:56:38 +00:00
Jb Evain e24672719d add the EnumerableTest
svn path=/trunk/mcs/; revision=88994
2007-11-06 16:13:18 +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 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
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 dfcd6dd3e7 Add
svn path=/trunk/mcs/; revision=84081
2007-08-14 14:26:53 +00:00