CloneSet1058


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7260.963non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1799
src/NHibernate/Impl/EnumerableImpl.cs
2388
src/NHibernate/Loader/Criteria/CriteriaLoader.cs
Clone Instance
1
Line Count
7
Source Line
99
Source File
src/NHibernate/Impl/EnumerableImpl.cs

                                        // move through each of the ITypes contained in the IDataReader and convert them
                                        // to their objects.  
                                        for (int i = 0; i < _types.Length; i++)
                                        {
                                                // The IType knows how to extract its value out of the IDataReader.  If the IType
                                                // is a value type then the value will simply be pulled out of the IDataReader.  If
                                                // the IType is an Entity type then the IType will extract the id from the IDataReader
                                                // and use the ISession to load an instance of the object.
                                                currentResults[i] = _types[i].NullSafeGet(_reader, _names[i], _sess, null);
                                        }


Clone Instance
2
Line Count
3
Source Line
88
Source File
src/NHibernate/Loader/Criteria/CriteriaLoader.cs

                                for (int i = 0; i < result.Length; i++)
                                {
                                        result[i] = types[i].NullSafeGet(rs, columnAliases[i], session, null);
                                }


Clone AbstractionParameter Count: 6Parameter Bindings

// move through each of the ITypes contained in the IDataReader and convert them
// to their objects.  
for (int i = 0; i < [[#variable28f8a1a0]].Length; i++)
{
    [[#variable2723f320]][i] = [[#variable292f3fc0]][i].NullSafeGet( [[#variable28f8a9c0]], [[#variable28f8a8a0]][i], [[#variable28f8a800]], null);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#28f8a1a0]]
_types 
12[[#28f8a1a0]]
result 
21[[#2723f320]]
// The IType knows how to extract its value out of the IDataReader.  If the IType
// is a value type then the value will simply be pulled out of the IDataReader.  If
// the IType is an Entity type then the IType will extract the id from the IDataReader
// and use the ISession to load an instance of the object.
currentResults 
22[[#2723f320]]
result 
31[[#292f3fc0]]
_types 
32[[#292f3fc0]]
types 
41[[#28f8a9c0]]
_reader 
42[[#28f8a9c0]]
rs 
51[[#28f8a8a0]]
_names 
52[[#28f8a8a0]]
columnAliases 
61[[#28f8a800]]
_sess 
62[[#28f8a800]]
session