CloneSet350


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.994class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18821
src/NHibernate/Type/TypeFactory.cs
28831
src/NHibernate/Type/TypeFactory.cs
Clone Instance
1
Line Count
8
Source Line
821
Source File
src/NHibernate/Type/TypeFactory.cs

                public static CollectionType GenericSortedList(string role, string propertyRef, object comparer,
                                                                                                                                                                                                         System.Type indexClass, System.Type elementClass)
                {
                        var signature = new [] { typeof(string), typeof(string), typeof(bool), typeof(IComparer <
                                                                                                                > ).MakeGenericType(indexClass)
                                               } ;
                        MethodInfo mi = ReflectHelper.GetGenericMethodFrom<ICollectionTypeFactory> ("SortedList", new [] { indexClass, elementClass
                                                                                                                         } ,                                                                                                                                                                                                              signature);
                        return (CollectionType)mi.Invoke(Instance.CollectionTypeFactory, new [] { role, propertyRef, false, comparer
                                                                                                } );
                }



Clone Instance
2
Line Count
8
Source Line
831
Source File
src/NHibernate/Type/TypeFactory.cs

                public static CollectionType GenericSortedDictionary(string role, string propertyRef, object comparer,
                                                                                                                                                                                                                                 System.Type indexClass, System.Type elementClass)
                {
                        var signature = new [] { typeof(string), typeof(string), typeof(bool), typeof(IComparer <
                                                                                                                > ).MakeGenericType(indexClass)
                                               } ;
                        MethodInfo mi = ReflectHelper.GetGenericMethodFrom<ICollectionTypeFactory> ("SortedDictionary", new [] { indexClass, elementClass
                                                                                                                               } ,                                                                                                                                                                                signature);
                        return (CollectionType)mi.Invoke(Instance.CollectionTypeFactory, new [] { role, propertyRef, false, comparer
                                                                                                } );
                }



Clone AbstractionParameter Count: 2Parameter Bindings

public static CollectionType [[#variable28b4dc80]](string role, string propertyRef, object comparer, System.Type indexClass, System.Type elementClass)
{
   var signature = new []
                   {
                      typeof(string), typeof(string), typeof(bool), typeof(IComparer <
                                                                                     > ).MakeGenericType(indexClass)
                   } ;
   MethodInfo mi = ReflectHelper.GetGenericMethodFrom<ICollectionTypeFactory> ( [[#variable28b4dc20]], new []
                                                                                                       {
                                                                                                          indexClass, elementClass
                                                                                                       } , signature);
   return (CollectionType)mi.Invoke(Instance.CollectionTypeFactory, new []
                                                                    {
                                                                       role, propertyRef, false, comparer
                                                                    } );
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#28b4dc80]]
GenericSortedDictionary 
12[[#28b4dc80]]
GenericSortedList 
21[[#28b4dc20]]
"SortedDictionary" 
22[[#28b4dc20]]
"SortedList"