예제 #1
0
        public override bool Equals(object obj)
        {
            RandomizedObjectEqualityComparer equalityComparer = obj as RandomizedObjectEqualityComparer;

            if (equalityComparer != null)
            {
                return(this._entropy == equalityComparer._entropy);
            }
            return(false);
        }
예제 #2
0
 // Equals method for the comparer itself. 
 public override bool Equals(Object obj){
     RandomizedObjectEqualityComparer comparer = obj as RandomizedObjectEqualityComparer; 
     return (comparer != null) && (this._entropy == comparer._entropy);
 }
        // Token: 0x06003996 RID: 14742 RVA: 0x000DAE70 File Offset: 0x000D9070
        public override bool Equals(object obj)
        {
            RandomizedObjectEqualityComparer randomizedObjectEqualityComparer = obj as RandomizedObjectEqualityComparer;

            return(randomizedObjectEqualityComparer != null && this._entropy == randomizedObjectEqualityComparer._entropy);
        }