CloneSet717


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
29230.976class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12929
src/NHibernate/Type/ForeignKeyDirection.cs
22657
src/NHibernate/Type/ForeignKeyDirection.cs
Clone Instance
1
Line Count
29
Source Line
29
Source File
src/NHibernate/Type/ForeignKeyDirection.cs

                #region Nested type: ForeignKeyFromParentClass
                [Serializable]
                private class ForeignKeyFromParentClass : ForeignKeyDirection
                {
                        public override bool CascadeNow(CascadePoint cascadePoint)
                        {
                                return cascadePoint != CascadePoint.AfterInsertBeforeDelete;
                        }

                        public override bool Equals(object obj)
                        {
                                return Equals(obj as ForeignKeyFromParentClass);
                        }

                        public bool Equals(ForeignKeyFromParentClass other)
                        {
                                return !ReferenceEquals(null, other);
                        }

                        public override int GetHashCode()
                        {
                                return 37;
                        }

                }



Clone Instance
2
Line Count
26
Source Line
57
Source File
src/NHibernate/Type/ForeignKeyDirection.cs

                #endregion
                #region Nested type: ForeignKeyToParentClass
                [Serializable]
                private class ForeignKeyToParentClass : ForeignKeyDirection
                {
                        public override bool CascadeNow(CascadePoint cascadePoint)
                        {
                                return cascadePoint != CascadePoint.BeforeInsertAfterDelete;
                        }

                        public override bool Equals(object obj)
                        {
                                return Equals(obj as ForeignKeyToParentClass);
                        }

                        public bool Equals(ForeignKeyToParentClass other)
                        {
                                return !ReferenceEquals(null, other);
                        }

                        public override int GetHashCode()
                        {
                                return 17;
                        }

                }



Clone AbstractionParameter Count: 3Parameter Bindings

#region Nested type: ForeignKeyFromParentClass
#endregion
#region Nested type: ForeignKeyToParentClass
[Serializable]
private class [[#variable5f4a0f60]]: ForeignKeyDirection
{
   public override bool CascadeNow(CascadePoint cascadePoint)
   {
      return cascadePoint != CascadePoint. [[#variable5f4a0ec0]];
   }

   public override bool Equals(object obj)
   {
      return Equals(obj as [[#variable5f4a0f60]]);
   }

   public bool Equals( [[#variable5f4a0f60]]other)
   {
      return !ReferenceEquals(null, other);
   }

   public override int GetHashCode()
   {
      return [[#variable5f4a0e20]];
   }

}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5f4a0f60]]
ForeignKeyFromParentClass 
12[[#5f4a0f60]]
ForeignKeyToParentClass 
21[[#5f4a0ec0]]
AfterInsertBeforeDelete 
22[[#5f4a0ec0]]
BeforeInsertAfterDelete 
31[[#5f4a0e20]]
37 
32[[#5f4a0e20]]
17