CloneSet451


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
38220.969class_member_declarations[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13856
src/NHibernate/Criterion/AbstractCriterion.cs
238103
src/NHibernate/Criterion/AbstractEmptinessExpression.cs
Clone Instance
1
Line Count
38
Source Line
56
Source File
src/NHibernate/Criterion/AbstractCriterion.cs

                public static AbstractCriterion operator | (AbstractCriterion lhs, AbstractCriterion rhs)
                {
                        return new OrExpression(lhs, rhs);
                }


                public static AbstractCriterion operator & (AbstractCriterion lhs, AbstractEmptinessExpression rhs)
                {
                        return new AndExpression(lhs, rhs);
                }

                public static AbstractCriterion operator | (AbstractCriterion lhs, AbstractEmptinessExpression rhs)
                {
                        return new OrExpression(lhs, rhs);
                }


                public static AbstractCriterion operator !(AbstractCriterion crit)
                {
                        return new NotExpression(crit);
                }

                /// <summary>
                /// See here for details:
                /// http://steve.emxsoftware.com/NET/Overloading+the++and++operators
                /// </summary>
                public static bool operator false (AbstractCriterion criteria)
                {
                        return false;
                }

                /// <summary>
                /// See here for details:
                /// http://steve.emxsoftware.com/NET/Overloading+the++and++operators
                /// </summary>
                public static bool operator true (AbstractCriterion criteria)
                {
                        return false;
                }



Clone Instance
2
Line Count
38
Source Line
103
Source File
src/NHibernate/Criterion/AbstractEmptinessExpression.cs

                public static AbstractCriterion operator | (AbstractEmptinessExpression lhs, AbstractEmptinessExpression rhs)
                {
                        return new OrExpression(lhs, rhs);
                }


                public static AbstractCriterion operator & (AbstractEmptinessExpression lhs, AbstractCriterion rhs)
                {
                        return new AndExpression(lhs, rhs);
                }

                public static AbstractCriterion operator | (AbstractEmptinessExpression lhs, AbstractCriterion rhs)
                {
                        return new OrExpression(lhs, rhs);
                }


                public static AbstractCriterion operator !(AbstractEmptinessExpression crit)
                {
                        return new NotExpression(crit);
                }

                /// <summary>
                /// See here for details:
                /// http://steve.emxsoftware.com/NET/Overloading+the++and++operators
                /// </summary>
                public static bool operator false (AbstractEmptinessExpression criteria)
                {
                        return false;
                }

                /// <summary>
                /// See here for details:
                /// http://steve.emxsoftware.com/NET/Overloading+the++and++operators
                /// </summary>
                public static bool operator true (AbstractEmptinessExpression criteria)
                {
                        return false;
                }



Clone AbstractionParameter Count: 2Parameter Bindings

public static AbstractCriterion operator | ( [[#variable6f55a120]]lhs, [[#variable6f55a120]]rhs)
{
   return new OrExpression(lhs, rhs);
}

public static AbstractCriterion operator & ( [[#variable6f55a120]]lhs, [[#variable6f590a20]]rhs)
{
   return new AndExpression(lhs, rhs);
}

public static AbstractCriterion operator | ( [[#variable6f55a120]]lhs, [[#variable6f590a20]]rhs)
{
   return new OrExpression(lhs, rhs);
}

public static AbstractCriterion operator !( [[#variable6f55a120]]crit)
{
   return new NotExpression(crit);
}

/// <summary>
/// See here for details:
/// http://steve.emxsoftware.com/NET/Overloading+the++and++operators
/// </summary>
public static bool operator false ( [[#variable6f55a120]]criteria)
{
   return false;
}

/// <summary>
/// See here for details:
/// http://steve.emxsoftware.com/NET/Overloading+the++and++operators
/// </summary>
public static bool operator true ( [[#variable6f55a120]]criteria)
{
   return false;
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6f55a120]]
AbstractEmptinessExpression 
12[[#6f55a120]]
AbstractCriterion 
21[[#6f590a20]]
AbstractCriterion 
22[[#6f590a20]]
AbstractEmptinessExpression