CloneSet665


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15230.982class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11517
src/NHibernate/Properties/ChainedPropertyAccessor.cs
21534
src/NHibernate/Properties/ChainedPropertyAccessor.cs
Clone Instance
1
Line Count
15
Source Line
17
Source File
src/NHibernate/Properties/ChainedPropertyAccessor.cs

                #region IPropertyAccessor Members
                public IGetter GetGetter(System.Type theClass, string propertyName)
                {
                        for (int i = 0; i < chain.Length; i++)
                        {
                                IPropertyAccessor candidate = chain[i];
                                try
                                {
                                        return candidate.GetGetter(theClass, propertyName);
                                }
                                catch (PropertyNotFoundException)
                                {
                                        // ignore
                                }
                        }
                        throw new PropertyNotFoundException(theClass, propertyName, "getter");
                }



Clone Instance
2
Line Count
15
Source Line
34
Source File
src/NHibernate/Properties/ChainedPropertyAccessor.cs

                public ISetter GetSetter(System.Type theClass, string propertyName)
                {
                        for (int i = 0; i < chain.Length; i++)
                        {
                                IPropertyAccessor candidate = chain[i];
                                try
                                {
                                        return candidate.GetSetter(theClass, propertyName);
                                }
                                catch (PropertyNotFoundException)
                                {
                                        //
                                }
                        }
                        throw new PropertyNotFoundException(theClass, propertyName, "setter");
                }



Clone AbstractionParameter Count: 3Parameter Bindings

#region IPropertyAccessor Members
public [[#variable53ac7dc0]] [[#variable6fd63ee0]](System.Type theClass, string propertyName)
{
   for (int i = 0; i < chain.Length; i++)
   {
      IPropertyAccessor candidate = chain[i];
      try
      {
         return candidate. [[#variable6fd63ee0]](theClass, propertyName);
      }
      catch (PropertyNotFoundException)
      {
      //
      // ignore
      }
   }
   throw new PropertyNotFoundException(theClass, propertyName, [[#variable53ac7ce0]]);
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#53ac7dc0]]
ISetter 
12[[#53ac7dc0]]
IGetter 
21[[#6fd63ee0]]
GetSetter 
22[[#6fd63ee0]]
GetGetter 
31[[#53ac7ce0]]
"setter" 
32[[#53ac7ce0]]
"getter"