Monday, 26 August 2013

Are There Any Non-UnitTesting Scenarios Where InternalsVisibleTo is Acceptable

Are There Any Non-UnitTesting Scenarios Where InternalsVisibleTo is
Acceptable

It seems like using this attribute for anything other than unit testing of
non-public methods/properties would be a huge code smell. Are there any
legitimate uses of the InternalsVisibleTo attribute to achieve something
that might be otherwise impossible/too cumbersome using standard design
patterns?

No comments:

Post a Comment