diff options
author | monojenkins <jo.shields+jenkins@xamarin.com> | 2018-07-10 11:30:45 +0300 |
---|---|---|
committer | monojenkins <jo.shields+jenkins@xamarin.com> | 2018-07-10 11:30:45 +0300 |
commit | ee0d3916d727cf2232105ab18e2d658122023b55 (patch) | |
tree | 2002360793efac45faee10e2ce242d55e7b52460 | |
parent | d3ed731e2e33e85b7a5cb43963d67cec0ab7bd8e (diff) |
Apply changes from https://github.com/mono/mono/pull/9467 to API snapshot
-rw-r--r-- | profiles/monodroid/mscorlib.cs | 19 | ||||
-rw-r--r-- | profiles/monotouch/mscorlib.cs | 19 |
2 files changed, 38 insertions, 0 deletions
diff --git a/profiles/monodroid/mscorlib.cs b/profiles/monodroid/mscorlib.cs index 77cfcb1..00e78b1 100644 --- a/profiles/monodroid/mscorlib.cs +++ b/profiles/monodroid/mscorlib.cs @@ -2959,6 +2959,25 @@ namespace System public static bool TryParse(string input, out System.Guid result) { result = default(System.Guid); throw null; } public static bool TryParseExact(string input, string format, out System.Guid result) { result = default(System.Guid); throw null; } } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public partial struct HashCode + { + public void Add<T>(T value) { } + public void Add<T>(T value, System.Collections.Generic.IEqualityComparer<T> comparer) { } + public static int Combine<T1>(T1 value1) { throw null; } + public static int Combine<T1, T2>(T1 value1, T2 value2) { throw null; } + public static int Combine<T1, T2, T3>(T1 value1, T2 value2, T3 value3) { throw null; } + public static int Combine<T1, T2, T3, T4>(T1 value1, T2 value2, T3 value3, T4 value4) { throw null; } + public static int Combine<T1, T2, T3, T4, T5>(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5) { throw null; } + public static int Combine<T1, T2, T3, T4, T5, T6>(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6) { throw null; } + public static int Combine<T1, T2, T3, T4, T5, T6, T7>(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7) { throw null; } + public static int Combine<T1, T2, T3, T4, T5, T6, T7, T8>(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7, T8 value8) { throw null; } + [System.ObsoleteAttribute("HashCode is a mutable struct and should not be compared with other HashCodes.", true)] + public override bool Equals(object obj) { throw null; } + [System.ObsoleteAttribute("HashCode is a mutable struct and should not be compared with other HashCodes. Use ToHashCode to retrieve the computed hash code.", true)] + public override int GetHashCode() { throw null; } + public int ToHashCode() { throw null; } + } [System.Runtime.InteropServices.ComVisibleAttribute(true)] [System.Runtime.InteropServices.GuidAttribute("27FFF232-A7A8-40dd-8D4A-734AD59FCD41")] [System.Runtime.InteropServices.InterfaceTypeAttribute((System.Runtime.InteropServices.ComInterfaceType)(1))] diff --git a/profiles/monotouch/mscorlib.cs b/profiles/monotouch/mscorlib.cs index d07dd2d..36d5e7c 100644 --- a/profiles/monotouch/mscorlib.cs +++ b/profiles/monotouch/mscorlib.cs @@ -2939,6 +2939,25 @@ namespace System public static bool TryParse(string input, out System.Guid result) { result = default(System.Guid); throw null; } public static bool TryParseExact(string input, string format, out System.Guid result) { result = default(System.Guid); throw null; } } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public partial struct HashCode + { + public void Add<T>(T value) { } + public void Add<T>(T value, System.Collections.Generic.IEqualityComparer<T> comparer) { } + public static int Combine<T1>(T1 value1) { throw null; } + public static int Combine<T1, T2>(T1 value1, T2 value2) { throw null; } + public static int Combine<T1, T2, T3>(T1 value1, T2 value2, T3 value3) { throw null; } + public static int Combine<T1, T2, T3, T4>(T1 value1, T2 value2, T3 value3, T4 value4) { throw null; } + public static int Combine<T1, T2, T3, T4, T5>(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5) { throw null; } + public static int Combine<T1, T2, T3, T4, T5, T6>(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6) { throw null; } + public static int Combine<T1, T2, T3, T4, T5, T6, T7>(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7) { throw null; } + public static int Combine<T1, T2, T3, T4, T5, T6, T7, T8>(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7, T8 value8) { throw null; } + [System.ObsoleteAttribute("HashCode is a mutable struct and should not be compared with other HashCodes.", true)] + public override bool Equals(object obj) { throw null; } + [System.ObsoleteAttribute("HashCode is a mutable struct and should not be compared with other HashCodes. Use ToHashCode to retrieve the computed hash code.", true)] + public override int GetHashCode() { throw null; } + public int ToHashCode() { throw null; } + } [System.Runtime.InteropServices.ComVisibleAttribute(true)] [System.Runtime.InteropServices.GuidAttribute("27FFF232-A7A8-40dd-8D4A-734AD59FCD41")] [System.Runtime.InteropServices.InterfaceTypeAttribute((System.Runtime.InteropServices.ComInterfaceType)(1))] |