public CodeIdentifiers(bool caseSensitive) { if (caseSensitive) { identifiers = new Hashtable(); reservedIdentifiers = new Hashtable(); } else { IEqualityComparer comparer = new CaseInsensitiveKeyComparer(); identifiers = new Hashtable(comparer); reservedIdentifiers = new Hashtable(comparer); } list = new ArrayList(); }
public CodeIdentifiers(bool caseSensitive) { if (caseSensitive) { this.identifiers = new Hashtable(); this.reservedIdentifiers = new Hashtable(); } else { IEqualityComparer equalityComparer = new CaseInsensitiveKeyComparer(); this.identifiers = new Hashtable(equalityComparer); this.reservedIdentifiers = new Hashtable(equalityComparer); } this.list = new ArrayList(); }