381 Commits
Author SHA1 Message Date
Sebastien Pouliot 9ca1619d63 [System.Core] Ensure monotouch[_runtime] API are identical (#14606)
* [System.Core] Ensure monotouch[_runtime] API are identical

Ensure the API surface for `System.Core.dll` is identical between the
`monotouch` and `monotouch_runtime` (used for REPL and the interpreter).

This ensure code compiled against one will be fine when building against
the other (e.g. avoiding linker errors).

Removed methods:

```csharp
public void CompileToMethod (System.Reflection.Emit.MethodBuilder method);
public void CompileToMethod (System.Reflection.Emit.MethodBuilder method, System.Runtime.CompilerServices.DebugInfoGenerator debugInfoGenerator);
```

Removed methods:

```csharp
[Obsolete ("do not use this method")]
public static IRuntimeVariables MergeRuntimeVariables (IRuntimeVariables first, IRuntimeVariables second, int[] indexes);

[Obsolete ("do not use this method")]
public static System.Linq.Expressions.Expression Quote (System.Linq.Expressions.Expression expression, object hoistedLocals, object[] locals);
```

* [csproj] Update project files

* Bump API snapshot submodule
2019-05-24 01:44:24 +02:00
Marek Safar 04c5ac7f7e [system.core] Switch to dynamic visitor from reference sources and remove unused files 2015-02-23 17:03:43 +01:00
Marek Safar b23077459a [System.Core] More reference sources 2015-01-28 16:30:19 +01:00
Zoltan Varga c1b4366932 [bcl] Remove NET_4_5 defines from class libs. 2015-01-13 16:34:23 -05:00
Zoltan Varga 032f313d5f [bcl] Remove NET_4_0 defines from class libs. 2015-01-13 16:06:31 -05:00
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 404466030e [System.Core] Exclude legacy visitor in new profiles 2014-04-08 12:44:07 +02:00
Marek Safar 6886a6e916 [sle] Implement DynamicExpressionVisitor. 2013-12-05 13:05:23 +01: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
Marek Safar abea8aca23 Make ExpressionVisitor visible in mobile 3.5 profile 2013-02-18 16:35:35 +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 46d3a923f4 Test for assignability of arrays to generic interfaces. Fixes #2304. 2011-12-02 16:45:21 +01:00
Jb Evain f0e971ec02 Handle conversion to System.Enum 2011-03-15 22:19:16 +01:00
Jb Evain 812c108cd3 [LINQ] Fix non generic AsQueryable issue #661462 2010-12-30 16:21:40 +01:00
Daniel Sell 16a8d26971 Fix Expression.MakeBinary so it can return ArrayIndex nodes 2010-11-29 22:51:55 +01:00
Marek Safar aad016fd87 Clean up few more warnings 2010-10-15 15:20:25 +01:00
Jb Evain 9816af42ff Add support for hoisted variables in the ET interpreter
This fixes #645765.
2010-10-13 16:36:31 +02:00
Jb Evain 8e47921f04 Properly call methods on enumerations in compiled expression trees.
2010-07-26  Jb Evain  <[email protected]>

	* EmitContext.cs: Properly call methods on enumerations.
	Fixes #625367.
2010-07-26 13:04:19 +02:00
Jb Evain b48826ee8d reuse code to initialize nullable values 2010-07-26 13:03:47 +02:00
Jb Evain ec8eb45171 2010-05-19 Jb Evain <[email protected]>
* ConstantExpression.cs: fix emission of nullable constants.


svn path=/trunk/mcs/; revision=157550
2010-05-19 13:36:21 +00: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 fd7182588a in System.Runtime.CompilerServices:
2009-11-14  Jb Evain  <[email protected]>

	* ExecutionScope.cs: implement IsolateExpression.

in System.Linq.Expressions:
2009-11-14  Jb Evain  <[email protected]>

	* UnaryExpression.cs: isolate quoted expressions.
	* EmitContext.cs (ParameterReplacer): new helper type
	to replace the parameters of isolated expressions.
	Fix #550722.


svn path=/trunk/mcs/; revision=146209
2009-11-14 15:50:23 +00:00
Jb Evain 7a93057af4 in System.Linq.Expressions:
2009-11-14  Jb Evain  <[email protected]>

	* ExpressionTransformer.cs: adjust return type of all
	 tranformation methods to make the transformer actually
	 useful.

in System.Linq:
2009-11-14  Jb Evain  <[email protected]>

	* QueryableTransformer: adjust to latest ExpressionTransformer
	changes.


svn path=/trunk/mcs/; revision=146208
2009-11-14 15:47:07 +00:00
Jb Evain 5bc44ecc4b use the expression interpreter on MonoTouch
svn path=/trunk/mcs/; revision=143772
2009-10-08 13:53:26 +00:00
Jb Evain 245ad0e086 2009-09-03 Jb Evain <[email protected]>
* ConstantExpression.cs (Emit): add support to emit DBNull values.


svn path=/trunk/mcs/; revision=141241
2009-09-03 12:10:09 +00:00
Jb Evain 332e5b400d 2009-09-03 Jb Evain <[email protected]>
* ConstantExpression.cs (Emit): add support for emitting
	DateTime constants.


svn path=/trunk/mcs/; revision=141238
2009-09-03 12:00:32 +00:00
Jb Evain 81abd9f00e adjust name
svn path=/trunk/mcs/; revision=128730
2009-03-05 22:02:27 +00:00
Jb Evain 1f1ad84e50 in System.Runtime.CompilerServices:
2009-03-05  Jb Evain  <[email protected]>

	* ExecutionScope.cs: add support for hoisted locals.

in System.Linq.Expressions:
2009-03-05  Jb Evain  <[email protected]>

	* EmitContext.cs
	* ParameterExpression.cs:
		add support for hoisted locals.

svn path=/trunk/mcs/; revision=128721
2009-03-05 20:48:13 +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 8b390a4462 2008-12-17 Jb Evain <[email protected]>
* ExpressionTransformer.cs: fix VisitList.


svn path=/trunk/mcs/; revision=121732
2008-12-17 22:54:50 +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 22ec076e6f micro optimization
svn path=/trunk/mcs/; revision=113936
2008-09-24 08:56:57 +00:00
Jb Evain 4f47677525 2008-09-22 Jb Evain <[email protected]>
* TypeBinaryExpression.cs: protect against testing void expressions.
	Fixes bug #428309.


svn path=/trunk/mcs/; revision=113721
2008-09-22 13:11:01 +00:00
Jb Evain 6bded02e3c 2008-09-01 Jb Evain <[email protected]>
* MemberBinding.cs: make .ctor protected instead of public.


svn path=/trunk/mcs/; revision=112034
2008-09-01 14:22:29 +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
Marek Safar e579a95c2c 2008-08-30 Marek Safar <[email protected]>
* MemberBinding.cs: Made MemberBinding ctor public


svn path=/trunk/mcs/; revision=111969
2008-08-30 12:55:47 +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 633e47364f a lil refactoring
svn path=/trunk/mcs/; revision=109562
2008-08-04 13:43:00 +00:00
Zoltan Varga 94bc1b98ef 2008-08-02 Zoltan Varga <[email protected]>
* BinaryExpression.cs (EmitBinaryOperator): Mask out the upper bits of the 
	shift amount like mcs compiled code does.

svn path=/trunk/mcs/; revision=109521
2008-08-03 16:42:24 +00:00