File tree Expand file tree Collapse file tree 1 file changed +0
-35
lines changed
src/NHibernate.Test/NHSpecificTest/NH3985 Expand file tree Collapse file tree 1 file changed +0
-35
lines changed Original file line number Diff line number Diff line change @@ -4,42 +4,7 @@ namespace NHibernate.Test.NHSpecificTest.NH3985
4
4
{
5
5
public partial class Process
6
6
{
7
- #region Extensibility Method Definitions
8
-
9
- public override bool Equals ( object obj )
10
- {
11
- Process toCompare = obj as Process ;
12
- if ( toCompare == null )
13
- {
14
- return false ;
15
- }
16
-
17
- if ( Object . Equals ( this . ProcessID , default ( long ) ) &&
18
- Object . Equals ( toCompare . ProcessID , default ( long ) ) )
19
- return ReferenceEquals ( this , toCompare ) ;
20
-
21
- if ( ! Object . Equals ( this . ProcessID , toCompare . ProcessID ) )
22
- return false ;
23
-
24
- return true ;
25
- }
26
-
27
- public override int GetHashCode ( )
28
- {
29
- int hashCode = 13 ;
30
-
31
- // on transient objects, use the basic GetHashCode()
32
- if ( Object . Equals ( this . ProcessID , default ( long ) ) )
33
- return base . GetHashCode ( ) ;
34
-
35
- hashCode = ( hashCode * 7 ) + ProcessID . GetHashCode ( ) ;
36
- return hashCode ;
37
- }
38
-
39
- #endregion
40
-
41
7
public virtual Guid ProcessID { get ; set ; }
42
-
43
8
public virtual string Name { get ; set ; }
44
9
}
45
10
}
You can’t perform that action at this time.
0 commit comments