CloneSet217


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14840.957class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11444
src/NHibernate/Type/PersistentEnumType.cs
21457
src/NHibernate/Type/PersistentEnumType.cs
31470
src/NHibernate/Type/PersistentEnumType.cs
41483
src/NHibernate/Type/PersistentEnumType.cs
51496
src/NHibernate/Type/PersistentEnumType.cs
614109
src/NHibernate/Type/PersistentEnumType.cs
714122
src/NHibernate/Type/PersistentEnumType.cs
817135
src/NHibernate/Type/PersistentEnumType.cs
Clone Instance
1
Line Count
14
Source Line
44
Source File
src/NHibernate/Type/PersistentEnumType.cs

                [Serializable]
                private class SystemByteEnumConverter : AbstractEnumConverter<Byte>
                {
                        public override byte Convert(object input)
                        {
                                return System.Convert.ToByte(input);
                        }

                        public override SqlType SqlType
                        {
                                get { return SqlTypeFactory.Byte;
                                    }
                        }

                }



Clone Instance
2
Line Count
14
Source Line
57
Source File
src/NHibernate/Type/PersistentEnumType.cs

                [Serializable]
                private class SystemSByteEnumConverter : AbstractEnumConverter<SByte>
                {
                        public override sbyte Convert(object input)
                        {
                                return System.Convert.ToSByte(input);
                        }

                        public override SqlType SqlType
                        {
                                get { return SqlTypeFactory.SByte;
                                    }
                        }

                }



Clone Instance
3
Line Count
14
Source Line
70
Source File
src/NHibernate/Type/PersistentEnumType.cs

                [Serializable]
                private class SystemInt16EnumConverter : AbstractEnumConverter<Int16>
                {
                        public override short Convert(object input)
                        {
                                return System.Convert.ToInt16(input);
                        }

                        public override SqlType SqlType
                        {
                                get { return SqlTypeFactory.Int16;
                                    }
                        }

                }



Clone Instance
4
Line Count
14
Source Line
83
Source File
src/NHibernate/Type/PersistentEnumType.cs

                [Serializable]
                private class SystemInt32EnumConverter : AbstractEnumConverter<Int32>
                {
                        public override int Convert(object input)
                        {
                                return System.Convert.ToInt32(input);
                        }

                        public override SqlType SqlType
                        {
                                get { return SqlTypeFactory.Int32;
                                    }
                        }

                }



Clone Instance
5
Line Count
14
Source Line
96
Source File
src/NHibernate/Type/PersistentEnumType.cs

                [Serializable]
                private class SystemInt64EnumConverter : AbstractEnumConverter<Int64>
                {
                        public override long Convert(object input)
                        {
                                return System.Convert.ToInt64(input);
                        }

                        public override SqlType SqlType
                        {
                                get { return SqlTypeFactory.Int64;
                                    }
                        }

                }



Clone Instance
6
Line Count
14
Source Line
109
Source File
src/NHibernate/Type/PersistentEnumType.cs

                [Serializable]
                private class SystemUInt16EnumConverter : AbstractEnumConverter<UInt16>
                {
                        public override ushort Convert(object input)
                        {
                                return System.Convert.ToUInt16(input);
                        }

                        public override SqlType SqlType
                        {
                                get { return SqlTypeFactory.UInt16;
                                    }
                        }

                }



Clone Instance
7
Line Count
14
Source Line
122
Source File
src/NHibernate/Type/PersistentEnumType.cs

                [Serializable]
                private class SystemUInt32EnumConverter : AbstractEnumConverter<UInt32>
                {
                        public override uint Convert(object input)
                        {
                                return System.Convert.ToUInt32(input);
                        }

                        public override SqlType SqlType
                        {
                                get { return SqlTypeFactory.UInt32;
                                    }
                        }

                }



Clone Instance
8
Line Count
17
Source Line
135
Source File
src/NHibernate/Type/PersistentEnumType.cs

                [Serializable]
                private class SystemUInt64EnumConverter : AbstractEnumConverter<UInt64>
                {
                        public override ulong Convert(object input)
                        {
                                return System.Convert.ToUInt64(input);
                        }

                        public override SqlType SqlType
                        {
                                get { return SqlTypeFactory.UInt64;
                                    }
                        }

                }



Clone AbstractionParameter Count: 4Parameter Bindings

[Serializable]
private class [[#variable54bbc940]]: AbstractEnumConverter< [[#variable54bbc8a0]]>
{
   public override [[#variable54bbc800]]Convert(object input)
   {
      return System.Convert. [[#variable54bbc740]](input);
   }

   public override SqlType SqlType
   {
      get
      {
         return SqlTypeFactory. [[#variable54bbc8a0]];
      }
   }

}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#54bbc940]]
SystemByteEnumConverter 
12[[#54bbc940]]
SystemSByteEnumConverter 
13[[#54bbc940]]
SystemInt16EnumConverter 
14[[#54bbc940]]
SystemInt32EnumConverter 
15[[#54bbc940]]
SystemInt64EnumConverter 
16[[#54bbc940]]
SystemUInt16EnumConverter 
17[[#54bbc940]]
SystemUInt32EnumConverter 
18[[#54bbc940]]
SystemUInt64EnumConverter 
21[[#54bbc8a0]]
Byte 
22[[#54bbc8a0]]
SByte 
23[[#54bbc8a0]]
Int16 
24[[#54bbc8a0]]
Int32 
25[[#54bbc8a0]]
Int64 
26[[#54bbc8a0]]
UInt16 
27[[#54bbc8a0]]
UInt32 
28[[#54bbc8a0]]
UInt64 
31[[#54bbc800]]
byte 
32[[#54bbc800]]
sbyte 
33[[#54bbc800]]
short 
34[[#54bbc800]]
int 
35[[#54bbc800]]
long 
36[[#54bbc800]]
ushort 
37[[#54bbc800]]
uint 
38[[#54bbc800]]
ulong 
41[[#54bbc740]]
ToByte 
42[[#54bbc740]]
ToSByte 
43[[#54bbc740]]
ToInt16 
44[[#54bbc740]]
ToInt32 
45[[#54bbc740]]
ToInt64 
46[[#54bbc740]]
ToUInt16 
47[[#54bbc740]]
ToUInt32 
48[[#54bbc740]]
ToUInt64