Skip to content

Commit

Permalink
Change exception raised to NotSupportedException.
Browse files Browse the repository at this point in the history
  • Loading branch information
comintern committed Mar 14, 2017
1 parent 194aa1c commit 64e23b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RetailCoder.VBE/UnitTesting/PermissiveObjectComparer.cs
Expand Up @@ -55,11 +55,11 @@ public new bool Equals(object x, object y)
/// DO NOT USE THIS. It is a hard-coded throw.
/// </summary>
/// <param name="obj"></param>
/// <returns>NotImplementedException</returns>
/// <returns>NotSupportedException</returns>
public int GetHashCode(object obj)
{
//This is intentional to "discourage" any use of the comparer that relies on GetHashCode().
throw new NotImplementedException();
throw new NotSupportedException();
}
}
}

0 comments on commit 64e23b9

Please sign in to comment.