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;
		}
Beispiel #2
0
        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);
        }