示例#1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = (_involvedFields != null ? _involvedFields.GetHashCode() : 0);
         result = (result * 397) ^ (_targetField != null ? _targetField.GetHashCode() : 0);
         result = (result * 397) ^ (_detailDescription != null ? _detailDescription.GetHashCode() : 0);
         result = (result * 397) ^ (_branchLocation != null ? _branchLocation.GetHashCode() : 0);
         result = (result * 397) ^ (_targetType != null ? _targetType.GetHashCode() : 0);
         return(result);
     }
 }
示例#2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = (Kind != null ? Kind.GetHashCode() : 0);
         result = (result * 397) ^ (TargetName != null ? TargetName.GetHashCode() : 0);
         result = (result * 397) ^ (Message != null ? Message.GetHashCode() : 0);
         result = (result * 397) ^ (FlippedLocation != null ? FlippedLocation.GetHashCode() : 0);
         result = (result * 397) ^ (FlippedCondition != null ? FlippedCondition.GetHashCode() : 0);
         return(result);
     }
 }
示例#3
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = (BranchInfo != null ? BranchInfo.GetHashCode() : 0);
         result = (result * 397) ^ (TargetLocation != null ? TargetLocation.GetHashCode() : 0);
         result = (result * 397) ^ (Type != null ? Type.GetHashCode() : 0);
         result = (result * 397) ^ IsBranch.GetHashCode();
         result = (result * 397) ^ IsCheck.GetHashCode();
         result = (result * 397) ^ IsContinue.GetHashCode();
         result = (result * 397) ^ IsFailedCheck.GetHashCode();
         result = (result * 397) ^ IsStartMethod.GetHashCode();
         result = (result * 397) ^ IsSwitch.GetHashCode();
         result = (result * 397) ^ IsTarget.GetHashCode();
         return(result);
     }
 }