Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 1 | 0.984 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 37 | src/NHibernate/Criterion/Expression.cs |
2 | 3 | 45 | 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 } ); } |
| ||||
/// <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 } ); } |
| |||
/// <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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#46988c40]] | string |
1 | 2 | [[#46988c40]] | SqlString |