CloneSet2053


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.978class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18102
src/Iesi.Collections/DictionarySet.cs
2848
src/NHibernate/Util/IdentitySet.cs
Clone Instance
1
Line Count
8
Source Line
102
Source File
src/Iesi.Collections/DictionarySet.cs

                /// <summary>
                /// Returns <see langword="true" /> if the set contains all the elements in the specified collection.
                /// </summary>
                /// <param name="c">A collection of objects.</param>
                /// <returns><see langword="true" /> if the set contains all the elements in the specified collection, <see langword="false" /> otherwise.</returns>
                public override bool ContainsAll(ICollection c)
                {
                        foreach (object o in c)
                        {
                                if ( !this.Contains(o))
                                        return false;
                        }
                        return true;
                }



Clone Instance
2
Line Count
8
Source Line
48
Source File
src/NHibernate/Util/IdentitySet.cs

                public override bool ContainsAll(ICollection c)
                {
                        foreach (object o in c)
                        {
                                if ( !map.Contains(o))
                                        return false;
                        }
                        return true;
                }



Clone AbstractionParameter Count: 1Parameter Bindings

/// <summary>
/// Returns <see langword="true" /> if the set contains all the elements in the specified collection.
/// </summary>
/// <param name="c">A collection of objects.</param>
/// <returns><see langword="true" /> if the set contains all the elements in the specified collection, <see langword="false" /> otherwise.</returns>
public override bool ContainsAll(ICollection c)
{
   foreach (object o in c)
   {
      if ( ! [[#variable54141120]].Contains(o))
         return false;
   }
   return true;
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#54141120]]
this 
12[[#54141120]]
map