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
Error CS0121 The call is ambiguous between the following methods or properties:
'Foo.Deconstruct(out string, out string)' and 'Foo.Deconstruct(out string, out int)'
out parameters were chosen for Deconstruct's to support multiple overloads. It seems odd therefore that the deconstruct behaviour should not be able to resolve which one to use, based on matching the types of those out parameters to the types of the deconstruct expression.
There seems room for improving deconstruct behaviour in future for situations where two Deconstruct methods exist with clearly different parameter types.
MkazemAkhgary, Unknown6656, NetMage and Simplifier