Commit Graph
294 Commits
Author SHA1 Message Date
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 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 9bcffe7034 we pass TypeAs
svn path=/trunk/mcs/; revision=92850
2008-01-14 12:04:32 +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 12970089b5 add passing tests
svn path=/trunk/mcs/; revision=92847
2008-01-14 11:56:09 +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 ea57a9c34d spaces to tabs
svn path=/trunk/mcs/; revision=92821
2008-01-13 22:11:17 +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 c06ded73bb 2008-01-09 Jb Evain <[email protected]>
* ExpressionTest.cs: tests for GetActionType.


svn path=/trunk/mcs/; revision=92534
2008-01-09 18:43:19 +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 1d859cd551 avoid another visual tree of tests
svn path=/trunk/mcs/; revision=92523
2008-01-09 16:17:30 +00:00
Jb Evain 5c15ab0aa1 add file
svn path=/trunk/mcs/; revision=92522
2008-01-09 16:15:13 +00:00
Jb Evain ca8df1c4a7 2008-01-09 Jb Evain <[email protected]>
* ExpressionTest.cs: add new fixture of assorted tests for
	Expression. Contains tests for GetFuncType for now.


svn path=/trunk/mcs/; revision=92521
2008-01-09 16:14:57 +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 7f427bc15a tabs instead of spaces
svn path=/trunk/mcs/; revision=92515
2008-01-09 15:53:09 +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 2a2e8f245b tabs instead of spaces
svn path=/trunk/mcs/; revision=92507
2008-01-09 14:04:52 +00:00
Jb Evain dca857236b 2008-01-09 Jb Evain <[email protected]>
* ExpressionTest_ArrayLength.cs: Fix Rank2String to pass on .net.


svn path=/trunk/mcs/; revision=92506
2008-01-09 14:03:30 +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 d82548fabf props
svn path=/trunk/mcs/; revision=92503
2008-01-09 13:50:00 +00:00
Jb Evain e80511a393 tabs instead of spaces
svn path=/trunk/mcs/; revision=92502
2008-01-09 13:46:50 +00:00
Jb Evain fa1b139eea 2008-01-09 Jb Evain <[email protected]>
* ExpressionTest_Call.cs: fix wrong test.


svn path=/trunk/mcs/; revision=92501
2008-01-09 13:45:34 +00:00
Jb Evain d41e457434 tabs instead of spaces
svn path=/trunk/mcs/; revision=92500
2008-01-09 13:43:41 +00:00
Jb Evain b42057aaea 2008-01-09 Jb Evain <[email protected]>
* ExpressionTest_TypeAs.cs: correct wrong test for numerics.
	Add test for nullable types.


svn path=/trunk/mcs/; revision=92499
2008-01-09 13:42:31 +00:00
Jb Evain 574ad2aff1 reformating
svn path=/trunk/mcs/; revision=92495
2008-01-09 11:44:43 +00:00
Jb Evain 1eaff14129 2008-01-09 Jb Evain <[email protected]>
* Makefile: remove -langversion:linq which is
	default now.


svn path=/trunk/mcs/; revision=92494
2008-01-09 11:43:29 +00:00
Marek Safar 6fd1d41621 spaces to tabs
svn path=/trunk/mcs/; revision=92467
2008-01-08 16:03:24 +00:00
Jb Evain 9b1f8715be fix build with csc
svn path=/trunk/mcs/; revision=92449
2008-01-08 13:40:31 +00:00
Stephane Delcroix 3edeeafdee 2008-01-08 Stephane Delcroix <[email protected]>
* TimeZoneInfo.TransitionTime.cs: fully qualify System.DayOfWeek in 
	casting operation.

svn path=/trunk/mcs/; revision=92448
2008-01-08 13:29:29 +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
Stephane Delcroix 9ee9c6d6b0 2007-12-20 Stephane Delcroix <[email protected]>
* TimeZoneInfo.cs: adapting length check to parse TZif2 files
	introduced by glibc 2.6.x.

svn path=/trunk/mcs/; revision=91701
2007-12-20 13:02:53 +00:00
Jb Evain 6b9033e699 2007-12-18 Jb Evain <[email protected]>
* Enumerable.cs: refactor some Min.


svn path=/trunk/mcs/; revision=91587
2007-12-18 21:58:35 +00:00
Jb Evain 6b0b5e433c 2007-12-18 Jb Evain <[email protected]>
* Enumerable.cs: refactor some more Max.


svn path=/trunk/mcs/; revision=91564
2007-12-18 15:32:54 +00:00
Jb Evain 846307f24e add test
svn path=/trunk/mcs/; revision=91166
2007-12-12 18:20:54 +00:00
Jb Evain 0d84aec6da add test
svn path=/trunk/mcs/; revision=91164
2007-12-12 18:17:55 +00:00
Jb Evain 157e653f54 remove non sensical code
svn path=/trunk/mcs/; revision=91155
2007-12-12 15:15:27 +00:00
Jb Evain dd24b2c3aa extract checks
svn path=/trunk/mcs/; revision=91146
2007-12-12 10:32:35 +00:00