CloneSet2499


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

                /// <summary>
                /// Return the conjunction of two expressions
                /// </summary>
                /// <param name="lhs">The Expression to use as the Left Hand Side.</param>
                /// <param name="rhs">The Expression to use as the Right Hand Side.</param>
                /// <returns>An <see cref="AndExpression" />.</returns>
                public static AbstractCriterion And(ICriterion lhs, ICriterion rhs)
                {
                        return new AndExpression(lhs, rhs);
                }



Clone Instance
2
Line Count
3
Source Line
682
Source File
src/NHibernate/Criterion/Restrictions.cs

                /// <summary>
                /// Return the disjuction of two expressions
                /// </summary>
                /// <param name="lhs">The Expression to use as the Left Hand Side.</param>
                /// <param name="rhs">The Expression to use as the Right Hand Side.</param>
                /// <returns>An <see cref="OrExpression" />.</returns>
                public static AbstractCriterion Or(ICriterion lhs, ICriterion rhs)
                {
                        return new OrExpression(lhs, rhs);
                }



Clone AbstractionParameter Count: 2Parameter Bindings

/// <summary>
/// Return the disjuction of two expressions
/// Return the conjunction of two expressions
/// </summary>
/// <param name="lhs">The Expression to use as the Left Hand Side.</param>
/// <param name="rhs">The Expression to use as the Right Hand Side.</param>
/// <returns>An <see cref="OrExpression" />.</returns>
/// <returns>An <see cref="AndExpression" />.</returns>
public static AbstractCriterion [[#variable6f55e3c0]](ICriterion lhs, ICriterion rhs)
{
   return new [[#variable6f55e360]](lhs, rhs);
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6f55e3c0]]
Or 
12[[#6f55e3c0]]
And 
21[[#6f55e360]]
OrExpression 
22[[#6f55e360]]
AndExpression