CloneSet1718


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5201.000class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15486
src/NHibernate/Impl/MultiCriteriaImpl.cs
25852
src/NHibernate/Impl/MultiQueryImpl.cs
Clone Instance
1
Line Count
5
Source Line
486
Source File
src/NHibernate/Impl/MultiCriteriaImpl.cs

                private void ThrowIfKeyAlreadyExists(string key)
                {
                        if (criteriaResultPositions.ContainsKey(key))
                        {
                                throw new InvalidOperationException(String.Format("The key '{0}' already exists", key));
                        }
                }



Clone Instance
2
Line Count
5
Source Line
852
Source File
src/NHibernate/Impl/MultiQueryImpl.cs

                private void ThrowIfKeyAlreadyExists(string key)
                {
                        if (criteriaResultPositions.ContainsKey(key))
                        {
                                throw new InvalidOperationException(String.Format("The key '{0}' already exists", key));
                        }
                }



Clone AbstractionParameter Count: 0Parameter Bindings

private void ThrowIfKeyAlreadyExists(string key)
{
   if (criteriaResultPositions.ContainsKey(key))
   {
      throw new InvalidOperationException(String.Format("The key '{0}' already exists", key));
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None