Edit

Share via


Unsafe.IsAddressGreaterThanOrEqualTo<T>(T, T) Method

Definition

Determines whether the memory address referenced by left is greater than or equal to the memory address referenced by right.

public:
generic <typename T>
 static bool IsAddressGreaterThanOrEqualTo(T % left, T % right);
public static bool IsAddressGreaterThanOrEqualTo<T>(ref readonly T left, ref readonly T right) where T : allows ref struct;
static member IsAddressGreaterThanOrEqualTo : 'T * 'T -> bool
Public Shared Function IsAddressGreaterThanOrEqualTo(Of T) (ByRef left As T, ByRef right As T) As Boolean

Type Parameters

T

Parameters

left
T
right
T

Returns

Remarks

This check is conceptually similar to "(void*)(&left) >= (void*)(&right)".

Applies to