seesharper/LightInject — pull request #33 by Ayaro (2013-09-23 14:03:04+00:00)
Title: Internal classes

Hello, could you please take a look?

I have added 3 test cases to show possible issues with internal classes.
In the first commit I've tried to restrict container to search only for public classes. Sadly, I was not aware of ICompositionRoot implemetation. Moreover, there might already be projects using internal classes with InternalsVisibleToAttribute.

So that's why I've pushed the second one, in which I've added check on public constructor and disabled visibilty check for DynamicMethod.

Let me know your thoughts..