CloneSet1602


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.952class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1347
src/NHibernate.Test/Criteria/AddNumberProjection.cs
2358
src/NHibernate/Criterion/ConstantProjection.cs
Clone Instance
1
Line Count
3
Source Line
47
Source File
src/NHibernate.Test/Criteria/AddNumberProjection.cs

                public override TypedValue[] GetTypedValues(ICriteria criteria, ICriteriaQuery criteriaQuery)
                {
                        return new TypedValue[] { new TypedValue(NHibernateUtil.Int32, numberToAdd, EntityMode.Poco)
                                                } ;
                }



Clone Instance
2
Line Count
3
Source Line
58
Source File
src/NHibernate/Criterion/ConstantProjection.cs

                public override TypedValue[] GetTypedValues(ICriteria criteria, ICriteriaQuery criteriaQuery)
                {
                        return new TypedValue[] { new TypedValue(type, value, EntityMode.Poco)
                                                } ;
                }



Clone AbstractionParameter Count: 2Parameter Bindings

public override TypedValue[] GetTypedValues(ICriteria criteria, ICriteriaQuery criteriaQuery)
{
   return new TypedValue[]
          {
             new TypedValue( [[#variable276e4a80]], [[#variable276e4a60]], EntityMode.Poco)
          } ;
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#276e4a80]]
type 
12[[#276e4a80]]
NHibernateUtil.Int32 
21[[#276e4a60]]
value 
22[[#276e4a60]]
numberToAdd