CloneSet861


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15230.951class_member_declarations
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1159
src/NHibernate/DebugHelpers/CollectionProxy.cs
21513
src/NHibernate/DebugHelpers/DictionaryProxy.cs
Clone Instance
1
Line Count
15
Source Line
9
Source File
src/NHibernate/DebugHelpers/CollectionProxy.cs

                private readonly ICollection set;

                public CollectionProxy(ICollection dic)
                {
                        this.set = dic;
                }

                [DebuggerBrowsable(DebuggerBrowsableState.RootHidden)]
                public object[] Items
                {
                        get
                        {
                                object[] entries = new object[set.Count];
                                set.CopyTo(entries, 0);
                                return entries;
                        }
                }



Clone Instance
2
Line Count
15
Source Line
13
Source File
src/NHibernate/DebugHelpers/DictionaryProxy.cs

                private readonly IDictionary set;

                public DictionaryProxy(IDictionary dic)
                {
                        this.set = dic;
                }

                [DebuggerBrowsable(DebuggerBrowsableState.RootHidden)]
                public DictionaryEntry[] Items
                {
                        get
                        {
                                DictionaryEntry[] entries = new DictionaryEntry[set.Count];
                                set.CopyTo(entries, 0);
                                return entries;
                        }
                }



Clone AbstractionParameter Count: 3Parameter Bindings

private readonly [[#variable27019060]]set;

public [[#variable27018fe0]]( [[#variable27019060]]dic)
{
   this.set = dic;
}

[DebuggerBrowsable(DebuggerBrowsableState.RootHidden)]
public [[#variable27018f60]][] Items
{
   get
   {
       [[#variable27018f60]][] entries = new [[#variable27018f60]][set.Count];
      set.CopyTo(entries, 0);
      return entries;
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#27019060]]
IDictionary 
12[[#27019060]]
ICollection 
21[[#27018fe0]]
DictionaryProxy 
22[[#27018fe0]]
CollectionProxy 
31[[#27018f60]]
DictionaryEntry 
32[[#27018f60]]
object