Example #1
0
 /// <inheritdoc/>
 public override int GetHashCode()
 {
     unchecked
     {
         int result = base.GetHashCode();
         result = (result * 397) ^ InterfaceUri?.GetHashCode() ?? 0;
         result = (result * 397) ^ FromFeed?.GetHashCode() ?? 0;
         result = (result * 397) ^ QuickTestFile?.GetHashCode() ?? 0;
         return(result);
     }
 }
 /// <inheritdoc/>
 public override int GetHashCode()
 {
     unchecked
     {
         int result = base.GetHashCode();
         if (InterfaceUri != null)
         {
             result = (result * 397) ^ InterfaceUri.GetHashCode();
         }
         if (FromFeed != null)
         {
             result = (result * 397) ^ FromFeed.GetHashCode();
         }
         if (QuickTestFile != null)
         {
             result = (result * 397) ^ QuickTestFile.GetHashCode();
         }
         return(result);
     }
 }