Quantcast
Channel: Fluent Assertions
Viewing all articles
Browse latest Browse all 1402

Commented Issue: Misleading AllDeclaredPublicPropertiesSelectionRule class [12486]

$
0
0
I would expect this class to provide a list of public properties only. However under the hood, in the SelectProperties method, it is calling GetNonPrivateProperties which can return protected, internal & public properties.






Comments: Fixed in commit https://fluentassertions.codeplex.com/SourceControl/changeset/e0d5f9305f298d7d001180f4399973b1b5327c21. However, internal properties are still included. If the test project has access to those (through an [InternalsVisibleTo] attribute), then we treat that as 'public'.

Viewing all articles
Browse latest Browse all 1402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>