CloneSet1863


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4240.951class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14106
src/NHibernate/Cache/ReadOnlyCache.cs
24140
src/NHibernate/Cache/ReadOnlyCache.cs
Clone Instance
1
Line Count
4
Source Line
106
Source File
src/NHibernate/Cache/ReadOnlyCache.cs

                /// <summary>
                /// Unsupported!
                /// </summary>
                public bool AfterUpdate(CacheKey key, object value, object version, ISoftLock @lock)
                {
                        log.Error("Application attempted to edit read only item: " + key);
                        throw new InvalidOperationException("ReadOnlyCache: Can't write to a readonly object " + key.EntityOrRoleName);
                }



Clone Instance
2
Line Count
4
Source Line
140
Source File
src/NHibernate/Cache/ReadOnlyCache.cs

                /// <summary>
                /// Unsupported!
                /// </summary>
                public bool Update(CacheKey key, object value, object currentVersion, object previousVersion)
                {
                        log.Error("Application attempted to edit read only item: " + key);
                        throw new InvalidOperationException("ReadOnlyCache: Can't write to a readonly object " + key.EntityOrRoleName);
                }



Clone AbstractionParameter Count: 4Parameter Bindings

/// <summary>
/// Unsupported!
/// </summary>
public bool [[#variable5540c7a0]](CacheKey key, object value, object [[#variable278cf5e0]], [[#variable5540c480]] [[#variable5540c800]])
{
   log.Error("Application attempted to edit read only item: " + key);
   throw new InvalidOperationException("ReadOnlyCache: Can't write to a readonly object " + key.EntityOrRoleName);
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5540c7a0]]
AfterUpdate 
12[[#5540c7a0]]
Update 
21[[#278cf5e0]]
version 
22[[#278cf5e0]]
currentVersion 
31[[#5540c480]]
ISoftLock 
32[[#5540c480]]
object 
41[[#5540c800]]
@lock 
42[[#5540c800]]
previousVersion