}
previousNode = temp;
};
- Contract.Assert(true, "The hashtable is full. This should not happen.");
+ Contract.Assert(false, "The hashtable is full. This should not happen.");
}
void InsertHash(TokenHashValue[] hashTable, String str, TokenType tokenType, int tokenValue)
hashcode += hashProbe;
if (hashcode >= TOKEN_HASH_SIZE) hashcode -= TOKEN_HASH_SIZE;
} while (i < TOKEN_HASH_SIZE);
- Contract.Assert(true, "The hashtable is full. This should not happen.");
+ Contract.Assert(false, "The hashtable is full. This should not happen.");
}
private bool CompareStringIgnoreCaseOptimized(string string1, int offset1, int length1, string string2, int offset2, int length2)
}
previousNode = temp;
} ;
- Contract.Assert(true, "The hashtable is full. This should not happen.");
+ Contract.Assert(false, "The hashtable is full. This should not happen.");
}
void InsertHash(TokenHashValue[] hashTable, String str, TokenType tokenType, int tokenValue) {
hashcode += hashProbe;
if (hashcode >= TOKEN_HASH_SIZE) hashcode -= TOKEN_HASH_SIZE;
} while (i < TOKEN_HASH_SIZE);
- Contract.Assert(true, "The hashtable is full. This should not happen.");
+ Contract.Assert(false, "The hashtable is full. This should not happen.");
}
} // class DateTimeFormatInfo
list = PopulateInterfaces(filter);
break;
default:
- BCLDebug.Assert(true, "Invalid CacheType");
+ BCLDebug.Assert(false, "Invalid CacheType");
break;
}