@@ -20,34 +20,6 @@ namespace Microsoft.FSharp.Core
2020and unit = Unit
2121
2222
23- #if FX_ NO_ STRUCTURAL_ EQUALITY
24- namespace System.Collections
25- open Microsoft.FSharp .Core
26-
27- //-------------------------------------------------------------------------
28- // Structural equality
29- type IStructuralEquatable =
30- /// <summary>Equality comparison against a target object with a given comparer.</summary>
31- /// <param name="obj">The target for comparison.</param>
32- /// <param name="comparer">Compares the two objects.</param>
33- /// <returns>The result of the comparer.</returns>
34- abstract Equals: obj : obj * comparer : System.Collections.IEqualityComparer -> bool
35- /// <summary>Returns a hash code for the current instance.</summary>
36- /// <param name="comparer">An object that computes the hash code of the current object.</param>
37- /// <returns>The hash code for the current instance.</returns>
38- abstract GetHashCode: comparer : System.Collections.IEqualityComparer -> int
39-
40- //-------------------------------------------------------------------------
41- // Structural comparison
42- type IStructuralComparable =
43- /// <summary>Determines whether the current object precedes, occurs in the same position as,
44- /// or follows another object in the sort order.</summary>
45- /// <param name="obj">The object to compare with the current instance.</param>
46- /// <param name="comparer">An object that performs comparisons.</param>
47- /// <returns>An integer that indicates the relationship of the current object to the target object.</returns>
48- abstract CompareTo: obj : obj * comparer : System.Collections.IComparer -> int
49- #endif
50-
5123namespace Microsoft.FSharp.Core
5224
5325open System