How do I get DeclaringType from a given IObjectInfo #1944
-
I'm refactoring a bunch of code that I have upgraded FluentAssertions from v5 to v6 and have come across an issue where .When(info => info != null
&& info.SelectedMemberInfo != null
&& info.SelectedMemberInfo.DeclaringType == foo); I know that in |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
That would be |
Beta Was this translation helpful? Give feedback.
-
There is no real difference. They were only different for the root object. But anywhere deeper they were always the same. I don't remember the details. We changed that two years ago. |
Beta Was this translation helpful? Give feedback.
-
This is now available in 6.8.0. |
Beta Was this translation helpful? Give feedback.
This is now available in 6.8.0.