Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteddad51

Browse files
committed
FX_NO_STRUCTURAL_EQUALITY --- remove dead code
1 parentfb3e551 commiteddad51

File tree

2 files changed

+0
-51
lines changed

2 files changed

+0
-51
lines changed

‎src/fsharp/FSharp.Core/prim-types.fs‎

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -35,29 +35,6 @@ namespace Microsoft.FSharp.Core
3535
andunit= Unit
3636

3737

38-
#if FX_NO_STRUCTURAL_EQUALITY
39-
namespaceSystem.Collections
40-
41-
openSystem
42-
openMicrosoft.FSharp.Core
43-
44-
//-------------------------------------------------------------------------
45-
// Structural equality
46-
typeIStructuralEquatable=
47-
interface
48-
abstractEquals: o:System.Object* comp:System.Collections.IEqualityComparer->bool
49-
abstractGetHashCode: comp:System.Collections.IEqualityComparer->int
50-
end
51-
52-
//-------------------------------------------------------------------------
53-
// Structural comparison
54-
andIStructuralComparable=
55-
interface
56-
abstractCompareTo: o:System.Object* comp:System.Collections.IComparer->int
57-
end
58-
#else
59-
#endif
60-
6138
namespaceMicrosoft.FSharp.Core
6239

6340
openSystem

‎src/fsharp/FSharp.Core/prim-types.fsi‎

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -20,34 +20,6 @@ namespace Microsoft.FSharp.Core
2020
andunit= Unit
2121

2222

23-
#if FX_NO_STRUCTURAL_EQUALITY
24-
namespaceSystem.Collections
25-
openMicrosoft.FSharp.Core
26-
27-
//-------------------------------------------------------------------------
28-
// Structural equality
29-
typeIStructuralEquatable=
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-
abstractEquals: 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-
abstractGetHashCode: comparer:System.Collections.IEqualityComparer->int
39-
40-
//-------------------------------------------------------------------------
41-
// Structural comparison
42-
typeIStructuralComparable=
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-
abstractCompareTo: obj:obj* comparer:System.Collections.IComparer->int
49-
#endif
50-
5123
namespaceMicrosoft.FSharp.Core
5224

5325
openSystem

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp