Imported Upstream version 4.3.2.467

Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
This commit is contained in:
Xamarin Public Jenkins
2016-02-22 11:00:01 -05:00
parent f302175246
commit f3e3aab35a
4097 changed files with 122406 additions and 82300 deletions

View File

@ -40,6 +40,7 @@ using System.Security.Permissions;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Diagnostics.SymbolStore;
using System.Collections.Generic;
namespace System.Reflection.Emit
{
@ -268,6 +269,13 @@ namespace System.Reflection.Emit
}
}
public void SetMethodBody (byte[] il, int maxStack, byte[] localSignature,
IEnumerable<ExceptionHandler> exceptionHandlers, IEnumerable<int> tokenFixups)
{
var ilgen = GetILGenerator ();
ilgen.Init (il, maxStack, localSignature, exceptionHandlers, tokenFixups);
}
public override Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
{
throw NotSupported ();