interface · System

IComparable<TSelf>

public interface IComparable<TSelf>

Values with an order: -1, 0 or 1 as this value is smaller than, equal to or larger than other.

Kind
interface
Namespace
System
Assembly
System.Core
Access
public
Source file
Any.ant

Type parameters

NameConstraints
TSelfany type

Inheritance

Implemented by
DateTime Float128 Float16 Float256 Float32 Float64 Int128 Int16 Int256 Int32 Int64 Int8 String<T> TimeSpan UInt128 UInt16 UInt256 UInt32 UInt64 UInt8

Private and internal members (1)

CompareTo(TSelf other) : i32
#

private abstract

Source

IComparable<TSelf> as Antril, decompiled from its Larva HIR.

System.IComparable.ant
// System.IComparable — System.Core (decompiled from Larva HIR)

into namespace System
{
	/// Values with an order: -1, 0 or 1 as this value is smaller than, equal to or larger than `other`.
	public interface IComparable<TSelf>
	{
		CompareTo(TSelf other) : i32;
	}
}
Esc