public bool Equals(ThrownExceptionInfo other)
 {
     return(other != null &&
            HandlingCatchRegionOpt == other.HandlingCatchRegionOpt &&
            ContainingFinallyRegionOpt == other.ContainingFinallyRegionOpt &&
            ExceptionType == other.ExceptionType &&
            InterproceduralCallStack.SequenceEqual(other.InterproceduralCallStack) &&
            IsDefaultExceptionForExceptionsPathAnalysis == other.IsDefaultExceptionForExceptionsPathAnalysis);
 }
 public bool Equals(ThrownExceptionInfo?other)
 {
     return(other != null &&
            BasicBlockOrdinal == other.BasicBlockOrdinal &&
            HandlingCatchRegion == other.HandlingCatchRegion &&
            ContainingFinallyRegion == other.ContainingFinallyRegion &&
            Equals(ExceptionType, other.ExceptionType) &&
            InterproceduralCallStack.SequenceEqual(other.InterproceduralCallStack) &&
            IsDefaultExceptionForExceptionsPathAnalysis == other.IsDefaultExceptionForExceptionsPathAnalysis);
 }