[2019-02] [System.Core] Ensure monotouch[_runtime] API are identical (#14616)
commit70e83b66b344bfdd79a6bbb52ceb1060425d2907
authormonojenkins <jo.shields+jenkins@xamarin.com>
Fri, 24 May 2019 13:21:44 +0000 (24 09:21 -0400)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Fri, 24 May 2019 13:21:44 +0000 (24 15:21 +0200)
tree8669bef3c461489f4e290cf6e20be3a93bdac239
parent3dc72cfe51379bf10d6b63880a33cf4c044904e3
[2019-02] [System.Core] Ensure monotouch[_runtime] API are identical (#14616)

* [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

* [csproj] Update project files
external/api-snapshot
mcs/class/System.Core/System.Core.csproj
mcs/class/System.Core/System.Linq.Expressions/LambdaExpression.NotSupported.cs [new file with mode: 0644]
mcs/class/System.Core/System.Runtime.CompilerServices/RuntimeOps.NotSupported.cs [new file with mode: 0644]
mcs/class/System.Core/monotouch_System.Core.dll.sources
mcs/class/System.Core/sre_pns.sources [new file with mode: 0644]