internal void AddWeakReference(object value, int tag) { if (this._referenceCollection == null) { this._referenceCollection = this.CreateReferenceCollection(); if (this._referenceCollection == null) { throw System.Data.Common.ADP.InternalError(System.Data.Common.ADP.InternalErrorCode.CreateReferenceCollectionReturnedNull); } } this._referenceCollection.Add(value, tag); }