public bool Equals(ThreadFlow x, ThreadFlow y)
 {
     if (!object.ReferenceEquals(x, y))
     {
         if (!ListComparisonHelpers.CompareListsOrdered(x.Locations, y.Locations, ThreadFlowLocationBaselineEquals.DefaultInstance))
         {
             return false;
         }
     }
     return true;
 }
예제 #2
0
 public bool Equals(CodeFlow x, CodeFlow y)
 {
     if (!object.ReferenceEquals(x, y))
     {
         if (!ListComparisonHelpers.CompareListsOrdered(x.Locations, y.Locations, AnnotatedCodeLocationBaselineEquals.DefaultInstance))
         {
             return(false);
         }
     }
     return(true);
 }
 public bool Equals(CodeFlow x, CodeFlow y)
 {
     if (!object.ReferenceEquals(x, y))
     {
         if (!ListComparisonHelpers.CompareListsOrdered(x.ThreadFlows, y.ThreadFlows, ThreadFlowBaselineEqualityComparator.Instance))
         {
             return(false);
         }
     }
     return(true);
 }
예제 #4
0
 public bool Equals(Stack x, Stack y)
 {
     if (!object.ReferenceEquals(x, y))
     {
         if (!ListComparisonHelpers.CompareListsOrdered(x.Frames, y.Frames))
         {
             return(false);
         }
     }
     return(true);
 }
예제 #5
0
        public bool Equals(StackFrame x, StackFrame y)
        {
            if (!object.ReferenceEquals(x, y))
            {
                if (x.Location?.PhysicalLocation?.ArtifactLocation?.Uri != y.Location?.PhysicalLocation?.ArtifactLocation?.Uri)
                {
                    return(false);
                }

                if (x.Module != y.Module)
                {
                    return(false);
                }

                if (!ListComparisonHelpers.CompareListsOrdered(x.Parameters, y.Parameters))
                {
                    return(false);
                }
            }
            return(true);
        }
 public bool Equals(StackFrame x, StackFrame y)
 {
     if (!object.ReferenceEquals(x, y))
     {
         if (x.Uri != y.Uri)
         {
             return(false);
         }
         if (x.FullyQualifiedLogicalName != y.FullyQualifiedLogicalName)
         {
             return(false);
         }
         if (x.Module != y.Module)
         {
             return(false);
         }
         if (!ListComparisonHelpers.CompareListsOrdered(x.Parameters, y.Parameters))
         {
             return(false);
         }
     }
     return(true);
 }