Skip to content

Conversation

@jnyrup
Copy link
Member

@jnyrup jnyrup commented Jan 27, 2018

This PR adds new selector for type, property and method selectors in order to align the API with the new assertions introduced in #727 .

CustomAttributes.GetCustomAttributes(property, true) is used instead of property.GetCustomAttributes(true) to workaround a bug in corefx where PropertyInfo ignores the inherit parameter when overriding GetCustomAttributes(bool inherit).

@dennisdoomen dennisdoomen merged commit ad72b88 into fluentassertions:release-5.0 Jan 28, 2018
@jnyrup jnyrup deleted the AttributeDecorations branch January 28, 2018 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants