CloneSet1578


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15201.000class_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11411
src/NHibernate.Test/NHSpecificTest/NH1601/Project.cs
21566
src/NHibernate.Test/NHSpecificTest/NH1601/Project.cs
Clone Instance
1
Line Count
14
Source Line
11
Source File
src/NHibernate.Test/NHSpecificTest/NH1601/Project.cs

        public static bool TestAccessToList = false;

        /// <summary>
        /// NHibernate sets this property on load and refresh. It fails in refresh if 
        /// the value is accessed during the set. This occurs on this list because it is 
        /// mapped first in the XML mapping. 
        /// </summary>
        public IList<Scenario> ScenarioList1
        {
            get { return scenarioList1;
                }
            set {
                scenarioList1 = value;
                if (TestAccessToList)
                { int i = scenarioList1.Count;
                }
                }
        }



Clone Instance
2
Line Count
15
Source Line
66
Source File
src/NHibernate.Test/NHSpecificTest/NH1601/Project.cs

        public static bool TestAccessToList = false;

        /// <summary>
        /// NHibernate sets this property on load and refresh. It fails in refresh if 
        /// the value is accessed during the set. This occurs on this list because it is 
        /// mapped first in the XML mapping. 
        /// </summary>
        public IList<Scenario> ScenarioList1
        {
            get { return scenarioList1;
                }
            set
            {
                scenarioList1 = value;
                if (TestAccessToList)
                { int i = scenarioList1.Count;
                }
            }
        }



Clone AbstractionParameter Count: 0Parameter Bindings

public static bool TestAccessToList = false;

/// <summary>
/// NHibernate sets this property on load and refresh. It fails in refresh if 
/// the value is accessed during the set. This occurs on this list because it is 
/// mapped first in the XML mapping. 
/// </summary>
public IList<Scenario> ScenarioList1
{
   get
   {
      return scenarioList1;
   }
   set
   {
      scenarioList1 = value;
      if (TestAccessToList)
      {
         int i = scenarioList1.Count;
      }
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None