Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/api-snapshot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonojenkins <jo.shields+jenkins@xamarin.com>2018-11-17 02:10:20 +0300
committermonojenkins <jo.shields+jenkins@xamarin.com>2018-11-17 02:10:20 +0300
commit1adf2369ecb9ce9ec20a7a26a47b06545b806854 (patch)
tree08e1c4576df1be2dfc46a7b875abefb35cd06989
parentc7f9fbd5c10ed91c3ee8653b249840b2b44d727c (diff)
Apply changes from https://github.com/mono/mono/pull/11674 to API snapshot
-rw-r--r--profiles/monodroid/System.cs21
-rw-r--r--profiles/monodroid/mscorlib.cs15
-rw-r--r--profiles/monotouch/System.cs21
-rw-r--r--profiles/monotouch/mscorlib.cs15
-rw-r--r--profiles/net_4_x/System.cs21
-rw-r--r--profiles/net_4_x/mscorlib.cs15
6 files changed, 102 insertions, 6 deletions
diff --git a/profiles/monodroid/System.cs b/profiles/monodroid/System.cs
index df3019f..a197370 100644
--- a/profiles/monodroid/System.cs
+++ b/profiles/monodroid/System.cs
@@ -5727,40 +5727,55 @@ namespace System.Net
public enum HttpStatusCode
{
Accepted = 202,
+ AlreadyReported = 208,
Ambiguous = 300,
BadGateway = 502,
BadRequest = 400,
Conflict = 409,
Continue = 100,
Created = 201,
+ EarlyHints = 103,
ExpectationFailed = 417,
+ FailedDependency = 424,
Forbidden = 403,
Found = 302,
GatewayTimeout = 504,
Gone = 410,
HttpVersionNotSupported = 505,
+ IMUsed = 226,
+ InsufficientStorage = 507,
InternalServerError = 500,
LengthRequired = 411,
+ Locked = 423,
+ LoopDetected = 508,
MethodNotAllowed = 405,
+ MisdirectedRequest = 421,
Moved = 301,
MovedPermanently = 301,
MultipleChoices = 300,
+ MultiStatus = 207,
+ NetworkAuthenticationRequired = 511,
NoContent = 204,
NonAuthoritativeInformation = 203,
NotAcceptable = 406,
+ NotExtended = 510,
NotFound = 404,
NotImplemented = 501,
NotModified = 304,
OK = 200,
PartialContent = 206,
PaymentRequired = 402,
+ PermanentRedirect = 308,
PreconditionFailed = 412,
+ PreconditionRequired = 428,
+ Processing = 102,
ProxyAuthenticationRequired = 407,
Redirect = 302,
RedirectKeepVerb = 307,
RedirectMethod = 303,
RequestedRangeNotSatisfiable = 416,
RequestEntityTooLarge = 413,
+ RequestHeaderFieldsTooLarge = 431,
RequestTimeout = 408,
RequestUriTooLong = 414,
ResetContent = 205,
@@ -5768,16 +5783,22 @@ namespace System.Net
ServiceUnavailable = 503,
SwitchingProtocols = 101,
TemporaryRedirect = 307,
+ TooManyRequests = 429,
Unauthorized = 401,
+ UnavailableForLegalReasons = 451,
+ UnprocessableEntity = 422,
UnsupportedMediaType = 415,
Unused = 306,
UpgradeRequired = 426,
UseProxy = 305,
+ VariantAlsoNegotiates = 506,
}
public partial class HttpVersion
{
+ public static readonly System.Version Unknown;
public static readonly System.Version Version10;
public static readonly System.Version Version11;
+ public static readonly System.Version Version20;
public HttpVersion() { }
}
[System.SerializableAttribute]
diff --git a/profiles/monodroid/mscorlib.cs b/profiles/monodroid/mscorlib.cs
index bef194c..b024a66 100644
--- a/profiles/monodroid/mscorlib.cs
+++ b/profiles/monodroid/mscorlib.cs
@@ -2573,6 +2573,8 @@ namespace System
public static object Parse(System.Type enumType, string value) { throw null; }
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public static object Parse(System.Type enumType, string value, bool ignoreCase) { throw null; }
+ public static TEnum Parse<TEnum>(string value) where TEnum : struct { throw null; }
+ public static TEnum Parse<TEnum>(string value, bool ignoreCase) where TEnum : struct { throw null; }
bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; }
byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; }
char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; }
@@ -2624,6 +2626,8 @@ namespace System
public string ToString(string format) { throw null; }
[System.ObsoleteAttribute("The provider argument is not used. Please use ToString(String).")]
public string ToString(string format, System.IFormatProvider provider) { throw null; }
+ public static bool TryParse(System.Type enumType, string value, bool ignoreCase, out object result) { throw null; }
+ public static bool TryParse(System.Type enumType, string value, out object result) { throw null; }
public static bool TryParse<TEnum>(string value, bool ignoreCase, out TEnum result) where TEnum : struct { throw null; }
public static bool TryParse<TEnum>(string value, out TEnum result) where TEnum : struct { throw null; }
}
@@ -3179,7 +3183,7 @@ namespace System
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
[System.SerializableAttribute]
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
- public partial struct IntPtr : System.Runtime.Serialization.ISerializable
+ public partial struct IntPtr : System.IEquatable<System.IntPtr>, System.Runtime.Serialization.ISerializable
{
private int _dummyPrimitive;
public static readonly System.IntPtr Zero;
@@ -3216,6 +3220,7 @@ namespace System
public static System.IntPtr operator -(System.IntPtr pointer, int offset) { throw null; }
[System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.MayCorruptInstance, System.Runtime.ConstrainedExecution.Cer.MayFail)]
public static System.IntPtr Subtract(System.IntPtr pointer, int offset) { throw null; }
+ bool System.IEquatable<System.IntPtr>.Equals(System.IntPtr other) { throw null; }
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
[System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)]
public int ToInt32() { throw null; }
@@ -5376,7 +5381,7 @@ namespace System
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
[System.SerializableAttribute]
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
- public partial struct UIntPtr : System.Runtime.Serialization.ISerializable
+ public partial struct UIntPtr : System.IEquatable<System.UIntPtr>, System.Runtime.Serialization.ISerializable
{
private int _dummyPrimitive;
public static readonly System.UIntPtr Zero;
@@ -5401,6 +5406,7 @@ namespace System
public static bool operator !=(System.UIntPtr value1, System.UIntPtr value2) { throw null; }
public static System.UIntPtr operator -(System.UIntPtr pointer, int offset) { throw null; }
public static System.UIntPtr Subtract(System.UIntPtr pointer, int offset) { throw null; }
+ bool System.IEquatable<System.UIntPtr>.Equals(System.UIntPtr other) { throw null; }
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
[System.CLSCompliantAttribute(false)]
public unsafe void* ToPointer() { throw null; }
@@ -24009,6 +24015,7 @@ namespace System.Text
public unsafe virtual int GetByteCount(char* chars, int count) { throw null; }
public virtual int GetByteCount(char[] chars) { throw null; }
public abstract int GetByteCount(char[] chars, int index, int count);
+ public virtual int GetByteCount(System.ReadOnlySpan<char> chars) { throw null; }
public virtual int GetByteCount(string s) { throw null; }
public int GetByteCount(string str, int index, int count) { throw null; }
[System.CLSCompliantAttribute(false)]
@@ -24018,7 +24025,9 @@ namespace System.Text
public virtual byte[] GetBytes(char[] chars) { throw null; }
public virtual byte[] GetBytes(char[] chars, int index, int count) { throw null; }
public abstract int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex);
+ public virtual int GetBytes(System.ReadOnlySpan<char> chars, System.Span<byte> bytes) { throw null; }
public virtual byte[] GetBytes(string s) { throw null; }
+ public byte[] GetBytes(string s, int index, int count) { throw null; }
public virtual int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex) { throw null; }
[System.CLSCompliantAttribute(false)]
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
@@ -24026,6 +24035,7 @@ namespace System.Text
public unsafe virtual int GetCharCount(byte* bytes, int count) { throw null; }
public virtual int GetCharCount(byte[] bytes) { throw null; }
public abstract int GetCharCount(byte[] bytes, int index, int count);
+ public virtual int GetCharCount(System.ReadOnlySpan<byte> bytes) { throw null; }
[System.CLSCompliantAttribute(false)]
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
[System.Security.SecurityCriticalAttribute]
@@ -24924,6 +24934,7 @@ namespace System.Threading
[System.ObsoleteAttribute("Thread.GetCompressedStack is no longer supported. Please use the System.Threading.CompressedStack class")]
[System.Security.SecurityCriticalAttribute]
public System.Threading.CompressedStack GetCompressedStack() { throw null; }
+ public static int GetCurrentProcessorId() { throw null; }
[System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, SharedState=true, ExternalThreading=true)]
public static object GetData(System.LocalDataStoreSlot slot) { throw null; }
public static System.AppDomain GetDomain() { throw null; }
diff --git a/profiles/monotouch/System.cs b/profiles/monotouch/System.cs
index 26408a9..14f7bfd 100644
--- a/profiles/monotouch/System.cs
+++ b/profiles/monotouch/System.cs
@@ -5731,40 +5731,55 @@ namespace System.Net
public enum HttpStatusCode
{
Accepted = 202,
+ AlreadyReported = 208,
Ambiguous = 300,
BadGateway = 502,
BadRequest = 400,
Conflict = 409,
Continue = 100,
Created = 201,
+ EarlyHints = 103,
ExpectationFailed = 417,
+ FailedDependency = 424,
Forbidden = 403,
Found = 302,
GatewayTimeout = 504,
Gone = 410,
HttpVersionNotSupported = 505,
+ IMUsed = 226,
+ InsufficientStorage = 507,
InternalServerError = 500,
LengthRequired = 411,
+ Locked = 423,
+ LoopDetected = 508,
MethodNotAllowed = 405,
+ MisdirectedRequest = 421,
Moved = 301,
MovedPermanently = 301,
MultipleChoices = 300,
+ MultiStatus = 207,
+ NetworkAuthenticationRequired = 511,
NoContent = 204,
NonAuthoritativeInformation = 203,
NotAcceptable = 406,
+ NotExtended = 510,
NotFound = 404,
NotImplemented = 501,
NotModified = 304,
OK = 200,
PartialContent = 206,
PaymentRequired = 402,
+ PermanentRedirect = 308,
PreconditionFailed = 412,
+ PreconditionRequired = 428,
+ Processing = 102,
ProxyAuthenticationRequired = 407,
Redirect = 302,
RedirectKeepVerb = 307,
RedirectMethod = 303,
RequestedRangeNotSatisfiable = 416,
RequestEntityTooLarge = 413,
+ RequestHeaderFieldsTooLarge = 431,
RequestTimeout = 408,
RequestUriTooLong = 414,
ResetContent = 205,
@@ -5772,16 +5787,22 @@ namespace System.Net
ServiceUnavailable = 503,
SwitchingProtocols = 101,
TemporaryRedirect = 307,
+ TooManyRequests = 429,
Unauthorized = 401,
+ UnavailableForLegalReasons = 451,
+ UnprocessableEntity = 422,
UnsupportedMediaType = 415,
Unused = 306,
UpgradeRequired = 426,
UseProxy = 305,
+ VariantAlsoNegotiates = 506,
}
public partial class HttpVersion
{
+ public static readonly System.Version Unknown;
public static readonly System.Version Version10;
public static readonly System.Version Version11;
+ public static readonly System.Version Version20;
public HttpVersion() { }
}
[System.SerializableAttribute]
diff --git a/profiles/monotouch/mscorlib.cs b/profiles/monotouch/mscorlib.cs
index ab6fb71..5e2c072 100644
--- a/profiles/monotouch/mscorlib.cs
+++ b/profiles/monotouch/mscorlib.cs
@@ -2553,6 +2553,8 @@ namespace System
public static object Parse(System.Type enumType, string value) { throw null; }
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public static object Parse(System.Type enumType, string value, bool ignoreCase) { throw null; }
+ public static TEnum Parse<TEnum>(string value) where TEnum : struct { throw null; }
+ public static TEnum Parse<TEnum>(string value, bool ignoreCase) where TEnum : struct { throw null; }
bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; }
byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; }
char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; }
@@ -2604,6 +2606,8 @@ namespace System
public string ToString(string format) { throw null; }
[System.ObsoleteAttribute("The provider argument is not used. Please use ToString(String).")]
public string ToString(string format, System.IFormatProvider provider) { throw null; }
+ public static bool TryParse(System.Type enumType, string value, bool ignoreCase, out object result) { throw null; }
+ public static bool TryParse(System.Type enumType, string value, out object result) { throw null; }
public static bool TryParse<TEnum>(string value, bool ignoreCase, out TEnum result) where TEnum : struct { throw null; }
public static bool TryParse<TEnum>(string value, out TEnum result) where TEnum : struct { throw null; }
}
@@ -3159,7 +3163,7 @@ namespace System
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
[System.SerializableAttribute]
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
- public partial struct IntPtr : System.Runtime.Serialization.ISerializable
+ public partial struct IntPtr : System.IEquatable<System.IntPtr>, System.Runtime.Serialization.ISerializable
{
private int _dummyPrimitive;
public static readonly System.IntPtr Zero;
@@ -3196,6 +3200,7 @@ namespace System
public static System.IntPtr operator -(System.IntPtr pointer, int offset) { throw null; }
[System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.MayCorruptInstance, System.Runtime.ConstrainedExecution.Cer.MayFail)]
public static System.IntPtr Subtract(System.IntPtr pointer, int offset) { throw null; }
+ bool System.IEquatable<System.IntPtr>.Equals(System.IntPtr other) { throw null; }
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
[System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)]
public int ToInt32() { throw null; }
@@ -5356,7 +5361,7 @@ namespace System
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
[System.SerializableAttribute]
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
- public partial struct UIntPtr : System.Runtime.Serialization.ISerializable
+ public partial struct UIntPtr : System.IEquatable<System.UIntPtr>, System.Runtime.Serialization.ISerializable
{
private int _dummyPrimitive;
public static readonly System.UIntPtr Zero;
@@ -5381,6 +5386,7 @@ namespace System
public static bool operator !=(System.UIntPtr value1, System.UIntPtr value2) { throw null; }
public static System.UIntPtr operator -(System.UIntPtr pointer, int offset) { throw null; }
public static System.UIntPtr Subtract(System.UIntPtr pointer, int offset) { throw null; }
+ bool System.IEquatable<System.UIntPtr>.Equals(System.UIntPtr other) { throw null; }
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
[System.CLSCompliantAttribute(false)]
public unsafe void* ToPointer() { throw null; }
@@ -22832,6 +22838,7 @@ namespace System.Text
public unsafe virtual int GetByteCount(char* chars, int count) { throw null; }
public virtual int GetByteCount(char[] chars) { throw null; }
public abstract int GetByteCount(char[] chars, int index, int count);
+ public virtual int GetByteCount(System.ReadOnlySpan<char> chars) { throw null; }
public virtual int GetByteCount(string s) { throw null; }
public int GetByteCount(string str, int index, int count) { throw null; }
[System.CLSCompliantAttribute(false)]
@@ -22841,7 +22848,9 @@ namespace System.Text
public virtual byte[] GetBytes(char[] chars) { throw null; }
public virtual byte[] GetBytes(char[] chars, int index, int count) { throw null; }
public abstract int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex);
+ public virtual int GetBytes(System.ReadOnlySpan<char> chars, System.Span<byte> bytes) { throw null; }
public virtual byte[] GetBytes(string s) { throw null; }
+ public byte[] GetBytes(string s, int index, int count) { throw null; }
public virtual int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex) { throw null; }
[System.CLSCompliantAttribute(false)]
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
@@ -22849,6 +22858,7 @@ namespace System.Text
public unsafe virtual int GetCharCount(byte* bytes, int count) { throw null; }
public virtual int GetCharCount(byte[] bytes) { throw null; }
public abstract int GetCharCount(byte[] bytes, int index, int count);
+ public virtual int GetCharCount(System.ReadOnlySpan<byte> bytes) { throw null; }
[System.CLSCompliantAttribute(false)]
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
[System.Security.SecurityCriticalAttribute]
@@ -23747,6 +23757,7 @@ namespace System.Threading
[System.ObsoleteAttribute("Thread.GetCompressedStack is no longer supported. Please use the System.Threading.CompressedStack class")]
[System.Security.SecurityCriticalAttribute]
public System.Threading.CompressedStack GetCompressedStack() { throw null; }
+ public static int GetCurrentProcessorId() { throw null; }
[System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, SharedState=true, ExternalThreading=true)]
public static object GetData(System.LocalDataStoreSlot slot) { throw null; }
public static System.AppDomain GetDomain() { throw null; }
diff --git a/profiles/net_4_x/System.cs b/profiles/net_4_x/System.cs
index e98beaf..25f22c4 100644
--- a/profiles/net_4_x/System.cs
+++ b/profiles/net_4_x/System.cs
@@ -8432,40 +8432,55 @@ namespace System.Net
public enum HttpStatusCode
{
Accepted = 202,
+ AlreadyReported = 208,
Ambiguous = 300,
BadGateway = 502,
BadRequest = 400,
Conflict = 409,
Continue = 100,
Created = 201,
+ EarlyHints = 103,
ExpectationFailed = 417,
+ FailedDependency = 424,
Forbidden = 403,
Found = 302,
GatewayTimeout = 504,
Gone = 410,
HttpVersionNotSupported = 505,
+ IMUsed = 226,
+ InsufficientStorage = 507,
InternalServerError = 500,
LengthRequired = 411,
+ Locked = 423,
+ LoopDetected = 508,
MethodNotAllowed = 405,
+ MisdirectedRequest = 421,
Moved = 301,
MovedPermanently = 301,
MultipleChoices = 300,
+ MultiStatus = 207,
+ NetworkAuthenticationRequired = 511,
NoContent = 204,
NonAuthoritativeInformation = 203,
NotAcceptable = 406,
+ NotExtended = 510,
NotFound = 404,
NotImplemented = 501,
NotModified = 304,
OK = 200,
PartialContent = 206,
PaymentRequired = 402,
+ PermanentRedirect = 308,
PreconditionFailed = 412,
+ PreconditionRequired = 428,
+ Processing = 102,
ProxyAuthenticationRequired = 407,
Redirect = 302,
RedirectKeepVerb = 307,
RedirectMethod = 303,
RequestedRangeNotSatisfiable = 416,
RequestEntityTooLarge = 413,
+ RequestHeaderFieldsTooLarge = 431,
RequestTimeout = 408,
RequestUriTooLong = 414,
ResetContent = 205,
@@ -8473,16 +8488,22 @@ namespace System.Net
ServiceUnavailable = 503,
SwitchingProtocols = 101,
TemporaryRedirect = 307,
+ TooManyRequests = 429,
Unauthorized = 401,
+ UnavailableForLegalReasons = 451,
+ UnprocessableEntity = 422,
UnsupportedMediaType = 415,
Unused = 306,
UpgradeRequired = 426,
UseProxy = 305,
+ VariantAlsoNegotiates = 506,
}
public partial class HttpVersion
{
+ public static readonly System.Version Unknown;
public static readonly System.Version Version10;
public static readonly System.Version Version11;
+ public static readonly System.Version Version20;
public HttpVersion() { }
}
[System.SerializableAttribute]
diff --git a/profiles/net_4_x/mscorlib.cs b/profiles/net_4_x/mscorlib.cs
index 1695ba7..68acf4a 100644
--- a/profiles/net_4_x/mscorlib.cs
+++ b/profiles/net_4_x/mscorlib.cs
@@ -2618,6 +2618,8 @@ namespace System
public static object Parse(System.Type enumType, string value) { throw null; }
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public static object Parse(System.Type enumType, string value, bool ignoreCase) { throw null; }
+ public static TEnum Parse<TEnum>(string value) where TEnum : struct { throw null; }
+ public static TEnum Parse<TEnum>(string value, bool ignoreCase) where TEnum : struct { throw null; }
bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; }
byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; }
char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; }
@@ -2669,6 +2671,8 @@ namespace System
public string ToString(string format) { throw null; }
[System.ObsoleteAttribute("The provider argument is not used. Please use ToString(String).")]
public string ToString(string format, System.IFormatProvider provider) { throw null; }
+ public static bool TryParse(System.Type enumType, string value, bool ignoreCase, out object result) { throw null; }
+ public static bool TryParse(System.Type enumType, string value, out object result) { throw null; }
public static bool TryParse<TEnum>(string value, bool ignoreCase, out TEnum result) where TEnum : struct { throw null; }
public static bool TryParse<TEnum>(string value, out TEnum result) where TEnum : struct { throw null; }
}
@@ -3225,7 +3229,7 @@ namespace System
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
[System.SerializableAttribute]
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
- public partial struct IntPtr : System.Runtime.Serialization.ISerializable
+ public partial struct IntPtr : System.IEquatable<System.IntPtr>, System.Runtime.Serialization.ISerializable
{
private int _dummyPrimitive;
public static readonly System.IntPtr Zero;
@@ -3262,6 +3266,7 @@ namespace System
public static System.IntPtr operator -(System.IntPtr pointer, int offset) { throw null; }
[System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.MayCorruptInstance, System.Runtime.ConstrainedExecution.Cer.MayFail)]
public static System.IntPtr Subtract(System.IntPtr pointer, int offset) { throw null; }
+ bool System.IEquatable<System.IntPtr>.Equals(System.IntPtr other) { throw null; }
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
[System.Runtime.ConstrainedExecution.ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)]
public int ToInt32() { throw null; }
@@ -5422,7 +5427,7 @@ namespace System
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
[System.SerializableAttribute]
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
- public partial struct UIntPtr : System.Runtime.Serialization.ISerializable
+ public partial struct UIntPtr : System.IEquatable<System.UIntPtr>, System.Runtime.Serialization.ISerializable
{
private int _dummyPrimitive;
public static readonly System.UIntPtr Zero;
@@ -5447,6 +5452,7 @@ namespace System
public static bool operator !=(System.UIntPtr value1, System.UIntPtr value2) { throw null; }
public static System.UIntPtr operator -(System.UIntPtr pointer, int offset) { throw null; }
public static System.UIntPtr Subtract(System.UIntPtr pointer, int offset) { throw null; }
+ bool System.IEquatable<System.UIntPtr>.Equals(System.UIntPtr other) { throw null; }
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
[System.CLSCompliantAttribute(false)]
public unsafe void* ToPointer() { throw null; }
@@ -24160,6 +24166,7 @@ namespace System.Text
public unsafe virtual int GetByteCount(char* chars, int count) { throw null; }
public virtual int GetByteCount(char[] chars) { throw null; }
public abstract int GetByteCount(char[] chars, int index, int count);
+ public virtual int GetByteCount(System.ReadOnlySpan<char> chars) { throw null; }
public virtual int GetByteCount(string s) { throw null; }
public int GetByteCount(string str, int index, int count) { throw null; }
[System.CLSCompliantAttribute(false)]
@@ -24169,7 +24176,9 @@ namespace System.Text
public virtual byte[] GetBytes(char[] chars) { throw null; }
public virtual byte[] GetBytes(char[] chars, int index, int count) { throw null; }
public abstract int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex);
+ public virtual int GetBytes(System.ReadOnlySpan<char> chars, System.Span<byte> bytes) { throw null; }
public virtual byte[] GetBytes(string s) { throw null; }
+ public byte[] GetBytes(string s, int index, int count) { throw null; }
public virtual int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex) { throw null; }
[System.CLSCompliantAttribute(false)]
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
@@ -24177,6 +24186,7 @@ namespace System.Text
public unsafe virtual int GetCharCount(byte* bytes, int count) { throw null; }
public virtual int GetCharCount(byte[] bytes) { throw null; }
public abstract int GetCharCount(byte[] bytes, int index, int count);
+ public virtual int GetCharCount(System.ReadOnlySpan<byte> bytes) { throw null; }
[System.CLSCompliantAttribute(false)]
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
[System.Security.SecurityCriticalAttribute]
@@ -25084,6 +25094,7 @@ namespace System.Threading
[System.ObsoleteAttribute("Thread.GetCompressedStack is no longer supported. Please use the System.Threading.CompressedStack class")]
[System.Security.SecurityCriticalAttribute]
public System.Threading.CompressedStack GetCompressedStack() { throw null; }
+ public static int GetCurrentProcessorId() { throw null; }
[System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, SharedState=true, ExternalThreading=true)]
public static object GetData(System.LocalDataStoreSlot slot) { throw null; }
public static System.AppDomain GetDomain() { throw null; }