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

@ -36,7 +36,7 @@ namespace System.Reflection.Emit
{
}
public int Attributes {
public virtual int Attributes {
get {
throw new PlatformNotSupportedException ();
}
@ -60,13 +60,13 @@ namespace System.Reflection.Emit
}
}
public string Name {
public virtual string Name {
get {
throw new PlatformNotSupportedException ();
}
}
public int Position {
public virtual int Position {
get {
throw new PlatformNotSupportedException ();
}
@ -86,6 +86,11 @@ namespace System.Reflection.Emit
{
throw new PlatformNotSupportedException ();
}
[Obsolete ("An alternate API is available: Emit the MarshalAs custom attribute instead.")]
public virtual void SetMarshal (UnmanagedMarshal unmanagedMarshal) => throw new PlatformNotSupportedException ();
public virtual ParameterToken GetToken() => throw new PlatformNotSupportedException ();
}
}