This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
using System;
using System.Runtime.InteropServices;
namespace System.Collections
{
/// <summary>Exposes a method that compares two objects.</summary>
/// <filterpriority>1</filterpriority>
// Token: 0x02000132 RID: 306
[ComVisible(true)]
public interface IComparer
{
/// <summary>Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.</summary>
/// <returns>Value Condition Less than zero <paramref name="x" /> is less than <paramref name="y" />. Zero <paramref name="x" /> equals <paramref name="y" />. Greater than zero <paramref name="x" /> is greater than <paramref name="y" />. </returns>
/// <param name="x">The first object to compare. </param>
/// <param name="y">The second object to compare. </param>
/// <exception cref="T:System.ArgumentException">Neither <paramref name="x" /> nor <paramref name="y" /> implements the <see cref="T:System.IComparable" /> interface.-or- <paramref name="x" /> and <paramref name="y" /> are of different types and neither one can handle comparisons with the other. </exception>
/// <filterpriority>2</filterpriority>
// Token: 0x06000FDF RID: 4063
int Compare(object x, object y);
}
}