Enhanced C#
Language of your choice: library documentation
Loyc.IReferenceComparable Interface Reference

This is a tag which indicates that objects of this type are unique; specifically, any two different objects that implement this interface are always unequal, and one object is equal only to itself. More...


Source file:
Inheritance diagram for Loyc.IReferenceComparable:
Loyc.Symbol Loyc.Syntax.ParsingMode

Remarks

This is a tag which indicates that objects of this type are unique; specifically, any two different objects that implement this interface are always unequal, and one object is equal only to itself.

This interface is recognized by Loyc.Collections.MSet<T>, Loyc.Collections.Set<T> and Loyc.Collections.InternalSet<T>. It causes normal comparison (via IEqualityComparer<T> to be skipped in favor of reference comparison. Symbol implements this interface.