@@ -26,15 +26,15 @@ public class PersistentGenericBag<T> : AbstractPersistentCollection, IList<T>, I
26
26
{
27
27
// TODO NH: find a way to writeonce (no duplicated code from PersistentBag)
28
28
29
- /* NH considerations:
30
- * For various reason we know that the underlining type will be a List<T> or a
31
- * PersistentGenericBag<T>; in both cases the class implement all we need to don't duplicate
32
- * all code from PersistentBag.
33
- * In the explicit implementation of IList<T> we need to duplicate
34
- * code to take advantage from the better performance the use of generic implementation have
35
- * (mean .NET implementation of the underlining list).
36
- * In other cases, where PersistentBag use for example bag.Add, a cast, probably, is more
37
- * expensive than .NET original implementation.
29
+ /* NH considerations:
30
+ * For various reason we know that the underlining type will be a List<T> or a
31
+ * PersistentGenericBag<T>; in both cases the class implement all we need to don't duplicate
32
+ * all code from PersistentBag.
33
+ * In the explicit implementation of IList<T> we need to duplicate
34
+ * code to take advantage from the better performance the use of generic implementation have
35
+ * (mean .NET implementation of the underlining list).
36
+ * In other cases, where PersistentBag use for example bag.Add, a cast, probably, is more
37
+ * expensive than .NET original implementation.
38
38
*/
39
39
40
40
/// For a one-to-many, a <bag> is not really a bag;
0 commit comments