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
Considered if this is a general question and not a bug?. For general questions please use StackOverflow.
Description
While implementing #1880 we discussed the return type for the new overloads for HaveElement(string | XName, OccurrenceConstraint). I realized that the "old" HaveElement overloads have a different return type (AndWhichConstraint<XDocumentAssertions, XElement>).
Now I would like to unify this and change the return type to AndWhichConstraint<XDocumentAssertions, IEnumerable<XElement>> as we discussed.
The text was updated successfully, but these errors were encountered:
Hmm... after lookin deep into the meaning of AndWhichConstraint and the HaveElement implementation this is a completely unnecessary and more or less wrong "feature".
Before you file a bug, have you:
Description
While implementing #1880 we discussed the return type for the new overloads for
HaveElement(string | XName, OccurrenceConstraint)
. I realized that the "old"HaveElement
overloads have a different return type (AndWhichConstraint<XDocumentAssertions, XElement>
).Now I would like to unify this and change the return type to
AndWhichConstraint<XDocumentAssertions, IEnumerable<XElement>>
as we discussed.The text was updated successfully, but these errors were encountered: