public int make(object o) { WeakHashableObject key = new WeakHashableObject(o); if (this.objectIDDict.ContainsKey(key)) { return this.objectIDDict[key]; } int num = this.nextID; this.nextID++; this.objectIDDict[key] = num; return num; }
public int make(object o) { WeakHashableObject key = new WeakHashableObject(o); if (this.objectIDDict.ContainsKey(key)) { return(this.objectIDDict[key]); } int num = this.nextID; this.nextID++; this.objectIDDict[key] = num; return(num); }