Commit Graph
189 Commits
Author SHA1 Message Date
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Marek Safar 5d20cad529 [sle] Enable char equality comparison. Fixes #15582 2013-11-12 20:45:13 +01:00
Martin Baulig 55065d0d02 [System.Core]: Minor API fix in the Non-DLR version of System.Linq.Expressions. 2013-09-11 15:42:19 +02:00
Marek Safar a208b628e9 Implements lifted nullable comparison with null 2013-08-16 15:18:49 +02:00
Miguel de Icaza b6d1b4492f Class libraries: introduce mobile_static profile, for MonoTouch-like static builds, but not limited to iOS (WinStore, Kumpera did the work). 2013-07-30 16:51:38 -04:00
Marek Safar e7006d8e39 Use faster invariant conversion 2013-03-08 15:47:44 +01:00
Rodrigo Kumpera e88bef33b7 Add Full AOT support for System.Linq.Expression.
* System.Core/System.Linq.Expressions/*.cs: To bring LINQ expressions
	to Full AOT we disable all code that depends on SRE or dynamic code generation.
2012-11-06 18:18:13 -05:00
Jb Evain f0e971ec02 Handle conversion to System.Enum 2011-03-15 22:19:16 +01:00
Daniel Sell 16a8d26971 Fix Expression.MakeBinary so it can return ArrayIndex nodes 2010-11-29 22:51:55 +01:00
Jb Evain 40056d451c 2010-01-08 Jb Evain <[email protected]>
* Expression.cs (Call): properly deal with zero length array
	of type arguments for non generic methods. Fixes #568989.

svn path=/trunk/mcs/; revision=149240
2010-01-08 13:59:20 +00:00
Gonzalo Paniagua Javier 78e8b03cfd 2009-12-02 Gonzalo Paniagua Javier <[email protected]>
* Expression.cs: expression can be null for static getters. Patch from
	Miguel de Icaza ([email protected]).


svn path=/trunk/mcs/; revision=147498
2009-12-02 21:01:49 +00:00
Jb Evain 2f7b3cdd57 2009-11-15 Jb Evain <[email protected]>
* Expression (Call): deal with lambda expression <> delegate
	comparison when filtering methods.
	Fixes #536637.


svn path=/trunk/mcs/; revision=146225
2009-11-15 16:51:56 +00:00
Jb Evain 8998f55b5e 2009-11-15 Jb Evain <[email protected]>
* Expression (Call): better filtering of generic methods.
	Fixes #537768.


svn path=/trunk/mcs/; revision=146222
2009-11-15 15:55:15 +00:00
Jb Evain 6d8ee2b854 2009-02-24 Jb Evain <[email protected]>
* Expression.cs (BinaryCoreCheck): fix comparison of enums


svn path=/trunk/mcs/; revision=127871
2009-02-24 17:09:23 +00:00
Jb Evain 2313558b90 2009-02-23 Jb Evain <[email protected]>
* Expression.cs (IsNumber): actually decimal is rather a special
	case, and not a primitive number.


svn path=/trunk/mcs/; revision=127754
2009-02-23 17:03:21 +00:00
Jb Evain 59e1ea03d7 2009-02-23 Jb Evain <[email protected]>
* Expression.cs (BinaryCoreCheck): add decimal operations
	are provided by custom operators.


svn path=/trunk/mcs/; revision=127746
2009-02-23 16:41:59 +00:00
Jb Evain 3f5524d8ed 2008-11-19 Jb Evain <[email protected]>
* Expression.cs: protect against open generic methods.


svn path=/trunk/mcs/; revision=119350
2008-11-19 17:29:25 +00:00
Atsushi Eno e9bef803a2 2008-10-08 Atsushi Enomoto <[email protected]>
* Expression.cs : give us information about which type does not
	  implement Emit().


svn path=/trunk/mcs/; revision=115194
2008-10-08 10:42:26 +00:00
Jb Evain 8f9bbdd2e7 2008-10-03 Jb Evain <[email protected]>
* Expression.cs: make sure we properly test complex generic methods
	as a Call candidate.


svn path=/trunk/mcs/; revision=114803
2008-10-03 21:59:03 +00:00
Jb Evain 175a8f2430 2008-09-01 Jb Evain <[email protected]>
* Expression.cs: guard against null parameters passed to Lambda.


svn path=/trunk/mcs/; revision=112032
2008-09-01 14:12:25 +00:00
Jb Evain ddf0460e04 2008-08-07 Jb Evain <[email protected]>
* Expression.cs (GetAssociatedProperty): strengthen accessors
	comparisons.

svn path=/trunk/mcs/; revision=109858
2008-08-07 13:49:28 +00:00
Jb Evain 82ca793bbd 2008-07-19 Jb Evain <[email protected]>
* Expression.cs (Call, Field, Property): disallow instance arguments
	on static members. See ms connect #339351.


svn path=/trunk/mcs/; revision=108306
2008-07-19 07:57:15 +00:00
Jb Evain dcc7953427 2008-07-18 Jb Evain <[email protected]>
* Expression.cs, BinaryExpression.cs: fix retrieval of true and false
	operators.


svn path=/trunk/mcs/; revision=108217
2008-07-18 11:28:32 +00:00
Jb Evain 85f8c499be turn GetNotNullable into an extension method for consistency
svn path=/trunk/mcs/; revision=108212
2008-07-18 09:05:17 +00:00
Jb Evain 5fb3229bc4 simplify
svn path=/trunk/mcs/; revision=108211
2008-07-18 08:39:21 +00:00
Jb Evain 65439303c6 refactoring
svn path=/trunk/mcs/; revision=105578
2008-06-11 13:07:11 +00:00
Jb Evain dfc7855503 add support for user defined lifted logical operators
svn path=/trunk/mcs/; revision=105405
2008-06-10 11:27:36 +00:00
Jb Evain eecff911da 2008-06-09 Jb Evain <[email protected]>
* Extensions.cs (Type.IsExpression): add
	* Expression.cs (CheckMethodArguments): modify the argument list
	to quote arguments when if necessary.



svn path=/trunk/mcs/; revision=105324
2008-06-09 15:31:19 +00:00
Jb Evain 1e7138db2c 2008-06-09 Jb Evain <[email protected]>
* Expression.cs (CheckLambda): quote body if required.


svn path=/trunk/mcs/; revision=105320
2008-06-09 15:09:16 +00:00
Jb Evain dea4a0bbce don't use CreateInstance missing in SL2
svn path=/trunk/mcs/; revision=105297
2008-06-09 11:40:48 +00:00
Jb Evain a3132c3d8f remove use of methods not present in SL2
svn path=/trunk/mcs/; revision=105294
2008-06-09 11:23:37 +00:00
Jb Evain 32e96dd798 separate normal coalesce operations from converted coalesce nodes
svn path=/trunk/mcs/; revision=105235
2008-06-07 15:59:02 +00:00
Jb Evain 2a62b7117a oh the joy of deleting code
svn path=/trunk/mcs/; revision=105085
2008-06-05 18:30:44 +00:00
Jb Evain 9bec534a20 fix convert checked for nullable to not nullable
svn path=/trunk/mcs/; revision=105083
2008-06-05 18:27:56 +00:00
Jb Evain cae203e7c5 2008-06-05 Jb Evain <[email protected]>
* Expression.cs (GetUserConversionMethod): check for convertion
	operators on both types.


svn path=/trunk/mcs/; revision=105079
2008-06-05 18:00:16 +00:00
Jb Evain 867c722eb1 fix typo
svn path=/trunk/mcs/; revision=105066
2008-06-05 17:20:50 +00:00
Jb Evain c69a4e62c7 that was so wrong
svn path=/trunk/mcs/; revision=105043
2008-06-05 15:35:19 +00:00
Jb Evain c513fa2c61 blah
svn path=/trunk/mcs/; revision=105040
2008-06-05 15:33:22 +00:00
Jb Evain fc92a23cb3 2008-06-05 Jb Evain <[email protected]>
* Expression.cs (ConditionalBinaryCheck): if a method is passed,
	checked that the operators true and false are also defined.


svn path=/trunk/mcs/; revision=105031
2008-06-05 14:19:31 +00:00
Jb Evain 878d67efab fix typo
svn path=/trunk/mcs/; revision=105020
2008-06-05 13:10:18 +00:00
Jb Evain c0b1ca0c1b fix left and right shift
svn path=/trunk/mcs/; revision=105015
2008-06-05 12:46:16 +00:00
Jb Evain 450c21ef27 correctly check unary operators parameters
svn path=/trunk/mcs/; revision=104996
2008-06-05 12:10:48 +00:00
Jb Evain ecbe887cad of course we can test bool equality
svn path=/trunk/mcs/; revision=104990
2008-06-05 11:41:23 +00:00
Jb Evain 3f3ca7e3b6 better check parameters
svn path=/trunk/mcs/; revision=104984
2008-06-05 11:29:26 +00:00
Jb Evain 7b29921f4d 2008-06-05 Jb Evain <[email protected]>
* Extensions.cs: Add Type.MakeNullableType helper.
	* Expression.cs (MakeSimpleBinary, MakeBoolBinar): Properly
	creat lifted/lifted to null/not lifted
	user defined binary expressions.
	* BinaryExpression.cs (Emit): implement compilation of
	lifted and lifted to null user defined binary operators.


svn path=/trunk/mcs/; revision=104973
2008-06-05 10:56:44 +00:00
Jb Evain 711731434c 2008-06-05 Jb Evain <[email protected]>
* Expression.cs (MakeSimpleUnary): properly create lifted/not lifted
	unary expressions with user defined operators.
	* UnaryExpression.cs (Emit): fix compilation of lifted user operators.


svn path=/trunk/mcs/; revision=104965
2008-06-05 09:43:52 +00:00
Jb Evain d1653dae48 add fixme
svn path=/trunk/mcs/; revision=104673
2008-06-02 15:17:43 +00:00
Jb Evain 5ff70bb9bb on-going work on user defined unary expressions
svn path=/trunk/mcs/; revision=104536
2008-05-30 14:48:48 +00:00
Jb Evain d15222c9ca make IsNullable an extension method
svn path=/trunk/mcs/; revision=104493
2008-05-30 09:37:59 +00:00
Jb Evain 75ff9b5f9a 2008-05-29 Jb Evain <[email protected]>
* Expression.cs (Power): allow bool?.
	* BinaryExpression.cs: properly deal with lifted power expression.


svn path=/trunk/mcs/; revision=104453
2008-05-29 18:13:35 +00:00