CloneSet422


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
40220.982class_member_declarations[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
140392
src/NHibernate/Collection/PersistentBag.cs
240399
src/NHibernate/Collection/PersistentIdentifierBag.cs
Clone Instance
1
Line Count
40
Source Line
392
Source File
src/NHibernate/Collection/PersistentBag.cs

                public bool IsFixedSize
                {
                        get { return false;
                            }
                }

                #endregion
                #region ICollection Members

                public bool IsSynchronized
                {
                        get { return false;
                            }
                }

                public int Count
                {
                        get { return ReadSize() ? CachedSize:  bag.Count;
                            }
                }

                public void CopyTo(Array array, int index)
                {
                        for (int i = index; i < Count; i++)
                        {
                                array.SetValue(this[i], i);
                        }
                }

                public object SyncRoot
                {
                        get { return this ;
                            }
                }

                #endregion
                #region IEnumerable Members
                public IEnumerator GetEnumerator()
                {
                        Read();
                        return bag.GetEnumerator();
                }



Clone Instance
2
Line Count
40
Source Line
399
Source File
src/NHibernate/Collection/PersistentIdentifierBag.cs

                public bool IsFixedSize
                {
                        get { return false;
                            }
                }

                #endregion
                #region ICollection Members

                public bool IsSynchronized
                {
                        get { return false;
                            }
                }

                public int Count
                {
                        get { return ReadSize() ? CachedSize:  values.Count;
                            }
                }

                public void CopyTo(Array array, int index)
                {
                        for (int i = index; i < Count; i++)
                        {
                                array.SetValue(this[i], i);
                        }
                }

                public object SyncRoot
                {
                        get { return values.SyncRoot;
                            }
                }

                #endregion
                #region IEnumerable Members
                public IEnumerator GetEnumerator()
                {
                        Read();
                        return values.GetEnumerator();
                }



Clone AbstractionParameter Count: 2Parameter Bindings

public bool IsFixedSize
{
   get
   {
      return false;
   }
}

#endregion
#region ICollection Members
public bool IsSynchronized
{
   get
   {
      return false;
   }
}

public int Count
{
   get
   {
      return ReadSize() ?
             CachedSize: [[#variable5e482b40]].Count;
   }
}

public void CopyTo(Array array, int index)
{
   for (int i = index; i < Count; i++)
   {
      array.SetValue(this[i], i);
   }
}

public object SyncRoot
{
   get
   {
      return [[#variable5e482960]];
   }
}

#endregion
#region IEnumerable Members
public IEnumerator GetEnumerator()
{
   Read();
   return [[#variable5e482b40]].GetEnumerator();
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5e482b40]]
bag 
12[[#5e482b40]]
values 
21[[#5e482960]]
this 
22[[#5e482960]]
values.SyncRoot