Table of contents
Collapse the table of content
Expand the table of content

HashCompare.GenericComparisonWithComparerIntrinsic<'T> Function (F#)

Den Delimarsky|Last Updated: 8/18/2017
1 Contributor

A primitive entry point used by the F# compiler for optimization purposes.

Namespace/Module Path: Microsoft.FSharp.Core.LanguagePrimitives.HashCompare

Assembly: FSharp.Core (in FSharp.Core.dll)


// Signature:
GenericComparisonWithComparerIntrinsic : IComparer -> 'T -> 'T -> int

// Usage:
GenericComparisonWithComparerIntrinsic comp x y


comp Type: System.Collections.IComparer

The comparer object.

x Type: 'T

The first object to compare.

y Type: 'T

The second object to compare.

Return Value

The result of the comparison.


This function is for use by compiled F# code and should not be used directly.


Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

See Also

LanguagePrimitives.HashCompare Module (F#)

Core.LanguagePrimitives Module (F#)

© 2020 Microsoft