Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 1 | 0.993 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 72 | src/NHibernate/StaleObjectStateException.cs |
2 | 4 | 71 | src/NHibernate/WrongClassException.cs |
| ||||
#region ISerializable Members /// <summary> /// Initializes a new instance of the <see cref="StaleObjectStateException"/> class /// with serialized data. /// </summary> /// <param name="info"> /// The <see cref="SerializationInfo"/> that holds the serialized object /// data about the exception being thrown. /// </param> /// <param name="context"> /// The <see cref="StreamingContext"/> that contains contextual information about the source or destination. /// </param> protected StaleObjectStateException(SerializationInfo info, StreamingContext context) : base(info, context) { entityName = info.GetValue("entityName", typeof(string)) as string ; identifier = info.GetValue("identifier", typeof(object)); } |
| ||||
#region ISerializable Members /// <summary> /// Initializes a new instance of the <see cref="WrongClassException"/> class /// with serialized data. /// </summary> /// <param name="info"> /// The <see cref="SerializationInfo"/> that holds the serialized object /// data about the exception being thrown. /// </param> /// <param name="context"> /// The <see cref="StreamingContext"/> that contains contextual information about the source or destination. /// </param> protected WrongClassException(SerializationInfo info, StreamingContext context) : base(info, context) { entityName = info.GetValue("entityName", typeof(string)) as string ; identifier = info.GetValue("identifier", typeof(object)); } |
| |||
#region ISerializable Members /// <summary> /// Initializes a new instance of the <see cref="StaleObjectStateException"/> class /// Initializes a new instance of the <see cref="WrongClassException"/> class /// with serialized data. /// </summary> /// <param name="info"> /// The <see cref="SerializationInfo"/> that holds the serialized object /// data about the exception being thrown. /// </param> /// <param name="context"> /// The <see cref="StreamingContext"/> that contains contextual information about the source or destination. /// </param> protected [[#variable67da7f40]](SerializationInfo info, StreamingContext context): base(info, context) { entityName = info.GetValue("entityName", typeof(string)) as string ; identifier = info.GetValue("identifier", typeof(object)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#67da7f40]] | StaleObjectStateException |
1 | 2 | [[#67da7f40]] | WrongClassException |