CloneSet309


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8510.986class_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1820
src/NHibernate/Type/AbstractStringType.cs
2835
src/NHibernate/Type/BooleanType.cs
3822
src/NHibernate/Type/ByteType.cs
4823
src/NHibernate/Type/DecimalType.cs
51427
src/NHibernate/Type/DoubleType.cs
Clone Instance
1
Line Count
8
Source Line
20
Source File
src/NHibernate/Type/AbstractStringType.cs

                public override object Get(IDataReader rs, int index)
                {
                        return Convert.ToString(rs[index]);
                }

                public override object Get(IDataReader rs, string name)
                {
                        return Convert.ToString(rs[name]);
                }



Clone Instance
2
Line Count
8
Source Line
35
Source File
src/NHibernate/Type/BooleanType.cs

                public override object Get(IDataReader rs, int index)
                {
                        return Convert.ToBoolean(rs[index]);
                }

                public override object Get(IDataReader rs, string name)
                {
                        return Convert.ToBoolean(rs[name]);
                }



Clone Instance
3
Line Count
8
Source Line
22
Source File
src/NHibernate/Type/ByteType.cs

                public override object Get(IDataReader rs, int index)
                {
                        return Convert.ToByte(rs[index]);
                }

                public override object Get(IDataReader rs, string name)
                {
                        return Convert.ToByte(rs[name]);
                }



Clone Instance
4
Line Count
8
Source Line
23
Source File
src/NHibernate/Type/DecimalType.cs

                public override object Get(IDataReader rs, int index)
                {
                        return Convert.ToDecimal(rs[index]);
                }

                public override object Get(IDataReader rs, string name)
                {
                        return Convert.ToDecimal(rs[name]);
                }



Clone Instance
5
Line Count
14
Source Line
27
Source File
src/NHibernate/Type/DoubleType.cs

                /// <summary>
                /// 
                /// </summary>
                /// <param name="rs"></param>
                /// <param name="index"></param>
                /// <returns></returns>
                public override object Get(IDataReader rs, int index)
                {
                        return Convert.ToDouble(rs[index]);
                }

                /// <summary>
                /// 
                /// </summary>
                /// <param name="rs"></param>
                /// <param name="name"></param>
                /// <returns></returns>
                public override object Get(IDataReader rs, string name)
                {
                        return Convert.ToDouble(rs[name]);
                }



Clone AbstractionParameter Count: 1Parameter Bindings

/// <summary>
/// 
/// </summary>
/// <param name="rs"></param>
/// <param name="index"></param>
/// <returns></returns>
public override object Get(IDataReader rs, int index)
{
   return Convert. [[#variable553e25e0]](rs[index]);
}

/// <summary>
/// 
/// </summary>
/// <param name="rs"></param>
/// <param name="name"></param>
/// <returns></returns>
public override object Get(IDataReader rs, string name)
{
   return Convert. [[#variable553e25e0]](rs[name]);
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#553e25e0]]
ToString 
12[[#553e25e0]]
ToBoolean 
13[[#553e25e0]]
ToByte 
14[[#553e25e0]]
ToDecimal 
15[[#553e25e0]]
ToDouble