CloneSet1676


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10201.000class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110887
src/NHibernate/Impl/AbstractQueryImpl.cs
210261
src/NHibernate/Impl/CriteriaImpl.cs
Clone Instance
1
Line Count
10
Source Line
887
Source File
src/NHibernate/Impl/AbstractQueryImpl.cs

                public T UniqueResult<T>()
                {
                        object result = UniqueResult();
                        if (result == null && typeof(T).IsValueType)
                        {
                                return default (T);
                        }
                        else
                        {
                                return (T)result;
                        }
                }



Clone Instance
2
Line Count
10
Source Line
261
Source File
src/NHibernate/Impl/CriteriaImpl.cs

                public T UniqueResult<T>()
                {
                        object result = UniqueResult();
                        if (result == null && typeof( T).IsValueType)
                        {
                                return default (T);
                        }
                        else
                        {
                                return (T) result;
                        }
                }



Clone AbstractionParameter Count: 0Parameter Bindings

public T UniqueResult<T>()
{
   object result = UniqueResult();
   if (result == null && typeof(T).IsValueType)
   {
      return default (T);
   }
   else
   {
      return (T)result;
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None