CloneSet1403


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3210.984class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1337
src/NHibernate/Criterion/Expression.cs
2345
src/NHibernate/Criterion/Expression.cs
Clone Instance
1
Line Count
3
Source Line
37
Source File
src/NHibernate/Criterion/Expression.cs

                /// <summary>
                /// Apply a constraint expressed in SQL, with the given SQL parameter
                /// </summary>
                /// <param name="sql"></param>
                /// <param name="value"></param>
                /// <param name="type"></param>
                /// <returns></returns>
                public static AbstractCriterion Sql(SqlString sql, object value, IType type)
                {
                        return Sql(sql, new object[] { value
                                                     } ,        new IType[] { type
                                                                            } );
                }



Clone Instance
2
Line Count
3
Source Line
45
Source File
src/NHibernate/Criterion/Expression.cs

                /// <summary>
                /// Apply a constraint expressed in SQL, with the given SQL parameter
                /// </summary>
                public static AbstractCriterion Sql(string sql, object value, IType type)
                {
                        return Sql(sql, new object[] { value
                                                     } ,        new IType[] { type
                                                                            } );
                }



Clone AbstractionParameter Count: 1Parameter Bindings

/// <summary>
/// Apply a constraint expressed in SQL, with the given SQL parameter
/// </summary>
/// <param name="sql"></param>
/// <param name="value"></param>
/// <param name="type"></param>
/// <returns></returns>
public static AbstractCriterion Sql( [[#variable46988c40]]sql, object value, IType type)
{
   return Sql(sql, new object[]
                   {
                      value
                   } , new IType[]
                       {
                          type
                       } );
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#46988c40]]
string 
12[[#46988c40]]
SqlString