private WeakReference GenerateWeakReferenceAndInsertIntoTable(WeakMultiTable <NotSoWeakClass, int> table) { var item = new NotSoWeakClass(); table.Add(item, 0); return(new WeakReference(item)); }
private WeakReference GenerateWeakReferenceAndInsertIntoTable(WeakMultiTable<NotSoWeakClass, int> table) { var item = new NotSoWeakClass(); table.Add(item, 0); return new WeakReference(item); }