You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
hughbe
changed the title
ValueTuple.IStructuralComparable/Equatable throws NRE
ValueTuple.IStructuralComparable/Equatable throws NRE instead of ArgumentNullException
Nov 7, 2016
@terrajobst@weshaggard@stephentoub do we have room to tweak ValueTuple to follow the right patterns? I think we don't have the huge compatibility burden yet.
Talked with @KevinRansom and he confirmed that matching the logic to System.Tuple should take precedence over any conventions (although reasonable), so that we facilitate users switching between Tuple and ValueTuple without having to remember to update their exception-checking code.
So we recommend resolving this issue as "by design".
The following tests demonstrates this.
Spun off from #19265
/cc @karelz (who can help triage this :) )
The text was updated successfully, but these errors were encountered: