CloneSet680


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11230.963block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111640
src/NHibernate/Type/TypeFactory.cs
211655
src/NHibernate/Type/TypeFactory.cs
Clone Instance
1
Line Count
11
Source Line
640
Source File
src/NHibernate/Type/TypeFactory.cs

                {
                        string key = GetKeyForLengthBased(serializableType.AssemblyQualifiedName, length);

                        IType returnType;
                        if ( !typeByTypeOfName.TryGetValue(key, out returnType))
                        {
                                returnType = new SerializableType(serializableType, SqlTypeFactory.GetBinary(length));
                                AddToTypeOfNameWithLength(key, returnType);
                        }

                        return (NullableType)returnType;
                }


Clone Instance
2
Line Count
11
Source Line
655
Source File
src/NHibernate/Type/TypeFactory.cs

                {
                        string key = GetKeyForLengthBased(NHibernateUtil.Serializable.Name, length);

                        IType returnType;
                        if ( !typeByTypeOfName.TryGetValue(key, out returnType))
                        {
                                returnType = new SerializableType( typeof(object), SqlTypeFactory.GetBinary(length));
                                AddToTypeOfNameWithLength(key, returnType);
                        }

                        return (NullableType)returnType;
                }


Clone AbstractionParameter Count: 3Parameter Bindings

{
   string key = GetKeyForLengthBased( [[#variable67d990e0]]. [[#variable6c54c4c0]], length);
   IType returnType;
   if ( !typeByTypeOfName.TryGetValue(key, out returnType))
   {
      returnType = new SerializableType( [[#variable6c54c640]], SqlTypeFactory.GetBinary(length));
      AddToTypeOfNameWithLength(key, returnType);
   }
   return (NullableType)returnType;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#67d990e0]]
serializableType 
12[[#67d990e0]]
NHibernateUtil.Serializable 
21[[#6c54c4c0]]
AssemblyQualifiedName 
22[[#6c54c4c0]]
Name 
31[[#6c54c640]]
serializableType 
32[[#6c54c640]]
typeof(object)