CloneSet2249


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
13406
src/NHibernate/Criterion/Restrictions.cs
23417
src/NHibernate/Criterion/Restrictions.cs
Clone Instance
1
Line Count
3
Source Line
406
Source File
src/NHibernate/Criterion/Restrictions.cs

                /// <summary>
                /// Apply an "not equal" constraint to two properties
                /// </summary>
                /// <param name="propertyName">The lhs Property Name</param>
                /// <param name="otherPropertyName">The rhs Property Name</param>
                /// <returns>A <see cref="EqPropertyExpression"/> .</returns>
                public static AbstractCriterion NotEqProperty(string propertyName, string otherPropertyName)
                {
                        return new NotExpression(new EqPropertyExpression(propertyName, otherPropertyName));
                }



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

                /// <summary>
                /// Apply an "not equal" constraint to projection and property
                /// </summary>
                /// <param name="projection">The projection.</param>
                /// <param name="otherPropertyName">The rhs Property Name</param>
                /// <returns>A <see cref="EqPropertyExpression"/> .</returns>
                public static AbstractCriterion NotEqProperty(IProjection projection, string otherPropertyName)
                {
                        return new NotExpression(new EqPropertyExpression(projection, otherPropertyName));
                }



Clone AbstractionParameter Count: 2Parameter Bindings

/// <summary>
/// Apply an "not equal" constraint to projection and property
/// Apply an "not equal" constraint to two properties
/// </summary>
/// <param name="projection">The projection.</param>
/// <param name="propertyName">The lhs Property Name</param>
/// <param name="otherPropertyName">The rhs Property Name</param>
/// <returns>A <see cref="EqPropertyExpression"/> .</returns>
public static AbstractCriterion NotEqProperty( [[#variable6fe075e0]] [[#variable6fe07560]], string otherPropertyName)
{
   return new NotExpression(new EqPropertyExpression( [[#variable6fe07560]], otherPropertyName));
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6fe075e0]]
IProjection 
12[[#6fe075e0]]
string 
21[[#6fe07560]]
projection 
22[[#6fe07560]]
propertyName