CloneSet2325


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.963class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13244
src/Iesi.Collections/Generic/DictionarySet.cs
23251
src/Iesi.Collections/Generic/ImmutableSet.cs
Clone Instance
1
Line Count
3
Source Line
244
Source File
src/Iesi.Collections/Generic/DictionarySet.cs

                /// <summary>
                /// Copies the elements in the <c>Set</c> to an array.  The type of array needs
                /// to be compatible with the objects in the <c>Set</c>, obviously. Needed for 
                /// non-generic ISet methods implementation
                /// </summary>
                /// <param name="array">An array that will be the target of the copy operation.</param>
                /// <param name="index">The zero-based index where copying will start.</param>
                protected override void NonGenericCopyTo(Array array, int index)
                {
                        ((ICollection) InternalDictionary.Keys).CopyTo(array, index);
                }



Clone Instance
2
Line Count
3
Source Line
251
Source File
src/Iesi.Collections/Generic/ImmutableSet.cs

                /// <summary>
                /// Performs CopyTo when called trhough non-generic ISet (ICollection) interface
                /// </summary>
                /// <param name="array"></param>
                /// <param name="index"></param>
                protected override void NonGenericCopyTo(Array array, int index)
                {
                        ((ICollection) this.BasisSet).CopyTo(array, index);
                }



Clone AbstractionParameter Count: 2Parameter Bindings

/// <summary>
/// Copies the elements in the <c>Set</c> to an array.  The type of array needs
/// to be compatible with the objects in the <c>Set</c>, obviously. Needed for 
/// non-generic ISet methods implementation
/// Performs CopyTo when called trhough non-generic ISet (ICollection) interface
/// </summary>
/// <param name="array">An array that will be the target of the copy operation.</param>
/// <param name="index">The zero-based index where copying will start.</param>
/// <param name="array"></param>
/// <param name="index"></param>
protected override void NonGenericCopyTo(Array array, int index)
{
   ((ICollection) [[#variable6fd54ec0]]. [[#variable6fd54e40]]).CopyTo(array, index);
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6fd54ec0]]
InternalDictionary 
12[[#6fd54ec0]]
this 
21[[#6fd54e40]]
Keys 
22[[#6fd54e40]]
BasisSet