public override int GetHashCode() { unchecked { int hashCode = (ExceptionType != null ? ExceptionType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ExceptionVariable != null ? ExceptionVariable.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Code != null ? Code.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = (Source != null ? Source.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (MessageType != null ? MessageType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ExceptionType != null ? ExceptionType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ExceptionMessage != null ? ExceptionMessage.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ExceptionText != null ? ExceptionText.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { var hashCode = new RoslynHashCode(); HashUtilities.Combine(InterproceduralCallStack, ref hashCode); hashCode.Add(BasicBlockOrdinal.GetHashCode()); hashCode.Add(HandlingCatchRegion.GetHashCodeOrDefault()); hashCode.Add(ContainingFinallyRegion.GetHashCodeOrDefault()); hashCode.Add(ExceptionType.GetHashCode()); hashCode.Add(IsDefaultExceptionForExceptionsPathAnalysis.GetHashCode()); return(hashCode.ToHashCode()); }
public override int GetHashCode() { int hash = 1; if (ExceptionType.Length != 0) { hash ^= ExceptionType.GetHashCode(); } if (StackTrace.Length != 0) { hash ^= StackTrace.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() => HashUtilities.Combine(InterproceduralCallStack, HashUtilities.Combine(HandlingCatchRegionOpt.GetHashCodeOrDefault(), HashUtilities.Combine(ContainingFinallyRegionOpt.GetHashCodeOrDefault(), HashUtilities.Combine(ExceptionType.GetHashCode(), IsDefaultExceptionForExceptionsPathAnalysis.GetHashCode()))));