File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Source/Shared/Models/Client/Data Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public override int GetHashCode() {
39
39
hashCode = ( hashCode * 397 ) ^ ( DeclaringNamespace == null ? 0 : DeclaringNamespace . GetHashCode ( ) ) ;
40
40
hashCode = ( hashCode * 397 ) ^ ( DeclaringType == null ? 0 : DeclaringType . GetHashCode ( ) ) ;
41
41
hashCode = ( hashCode * 397 ) ^ ( Name == null ? 0 : Name . GetHashCode ( ) ) ;
42
- hashCode = ( hashCode * 397 ) ^ ( Data == null ? 0 : Data . GetCollectionHashCode ( new [ ] { "ILOffset" } ) ) ;
42
+ hashCode = ( hashCode * 397 ) ^ ( Data == null ? 0 : Data . GetCollectionHashCode ( new [ ] { "ILOffset" , "NativeOffset" } ) ) ;
43
43
hashCode = ( hashCode * 397 ) ^ ( GenericArguments == null ? 0 : GenericArguments . GetCollectionHashCode ( ) ) ;
44
44
hashCode = ( hashCode * 397 ) ^ ( Parameters == null ? 0 : Parameters . GetCollectionHashCode ( ) ) ;
45
45
return hashCode ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ public class StackFrame : Method {
7
7
public int Column { get ; set ; }
8
8
9
9
protected bool Equals ( StackFrame other ) {
10
- return base . Equals ( other ) && string . Equals ( FileName , other . FileName ) && LineNumber == other . LineNumber && Column == other . Column ;
10
+ return base . Equals ( other ) && string . Equals ( FileName , other . FileName ) ;
11
11
}
12
12
13
13
public override bool Equals ( object obj ) {
@@ -24,8 +24,6 @@ public override int GetHashCode() {
24
24
unchecked {
25
25
int hashCode = base . GetHashCode ( ) ;
26
26
hashCode = ( hashCode * 397 ) ^ ( FileName == null ? 0 : FileName . GetHashCode ( ) ) ;
27
- hashCode = ( hashCode * 397 ) ^ LineNumber ;
28
- hashCode = ( hashCode * 397 ) ^ Column ;
29
27
return hashCode ;
30
28
}
31
29
}
You can’t perform that action at this time.
0 commit comments