Imported Upstream version 6.0.0.271

Former-commit-id: 2fde65daab17ed3bb08a7be86fb05423d63b0290
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2019-05-29 08:54:19 +00:00
parent 8f11a00d09
commit 2ba231cd0c
155 changed files with 1067 additions and 794 deletions

View File

@ -28,6 +28,8 @@
#if !MONO_FEATURE_SRE
using System.Runtime.InteropServices;
namespace System.Reflection.Emit
{
public class ILGenerator
@ -36,7 +38,7 @@ namespace System.Reflection.Emit
{
}
public int ILOffset {
public virtual int ILOffset {
get {
throw new PlatformNotSupportedException ();
}
@ -183,6 +185,8 @@ namespace System.Reflection.Emit
throw new PlatformNotSupportedException ();
}
public virtual void EmitCalli (OpCode opcode, CallingConvention unmanagedCallConv, Type returnType, Type[] parameterTypes) => throw new PlatformNotSupportedException ();
public virtual void EmitWriteLine (LocalBuilder localBuilder)
{
throw new PlatformNotSupportedException ();
@ -213,6 +217,11 @@ namespace System.Reflection.Emit
throw new PlatformNotSupportedException ();
}
public virtual void MarkSequencePoint (System.Diagnostics.SymbolStore.ISymbolDocumentWriter document, int startLine, int startColumn, int endLine, int endColumn)
{
throw new PlatformNotSupportedException ();
}
public virtual void ThrowException (Type excType)
{
throw new PlatformNotSupportedException ();