public int GetHashCode(ThreadFlow obj) { if (ReferenceEquals(obj, null)) { return(0); } else { int hs = 0; return(hs ^ ListComparisonHelpers.GetHashOfListContentsOrdered(obj.Locations)); } }
public int GetHashCode(Stack obj) { if (ReferenceEquals(obj, null)) { return(0); } else { int hs = 0; return(hs ^ ListComparisonHelpers.GetHashOfListContentsOrdered(obj.Frames, StackFrameBaselineEquals.Instance)); } }
public int GetHashCode(StackFrame obj) { if (ReferenceEquals(obj, null) || obj.Location?.PhysicalLocation?.ArtifactLocation?.Uri == null || obj.Module == null) { return(0); } else { int hs = 0; hs = hs ^ obj.Location.PhysicalLocation.ArtifactLocation.Uri.GetNullCheckedHashCode(); hs = hs ^ obj.Module.GetNullCheckedHashCode(); hs = hs ^ ListComparisonHelpers.GetHashOfListContentsOrdered(obj.Parameters); return(hs); } }
public int GetHashCode(StackFrame obj) { if (ReferenceEquals(obj, null)) { return(0); } else { int hs = 0; hs = hs ^ obj.Uri.GetNullCheckedHashCode(); hs = hs ^ obj.FullyQualifiedLogicalName.GetNullCheckedHashCode(); hs = hs ^ obj.Module.GetNullCheckedHashCode(); hs = hs ^ ListComparisonHelpers.GetHashOfListContentsOrdered(obj.Parameters); return(hs); } }