Beispiel #1
0
        public override bool Equals(object obj)
        {
            RandomizedStringEqualityComparer equalityComparer = obj as RandomizedStringEqualityComparer;

            if (equalityComparer != null)
            {
                return(this._entropy == equalityComparer._entropy);
            }
            return(false);
        }
Beispiel #2
0
        // Equals method for the comparer itself.
        public override bool Equals(Object obj)
        {
            RandomizedStringEqualityComparer comparer = obj as RandomizedStringEqualityComparer;

            return((comparer != null) && (this._entropy == comparer._entropy));
        }
 internal virtual RandomizedStringEqualityComparer GetRandomizedEqualityComparer()
 {
     return(RandomizedStringEqualityComparer.Create(_underlyingComparer, ignoreCase: false));
 }
 internal override RandomizedStringEqualityComparer GetRandomizedEqualityComparer()
 {
     return(RandomizedStringEqualityComparer.Create(_underlyingComparer, ignoreCase: true));
 }
		// Token: 0x0600398F RID: 14735 RVA: 0x000DADB4 File Offset: 0x000D8FB4
		public override bool Equals(object obj)
		{
			RandomizedStringEqualityComparer randomizedStringEqualityComparer = obj as RandomizedStringEqualityComparer;
			return randomizedStringEqualityComparer != null && this._entropy == randomizedStringEqualityComparer._entropy;
		}