Add support for InternalsVisibleTo
Sometimes I want to create my Entity Framework model as internal, but also use it from LINQPad. It would be good if there was a way to do this without having to change all model items from internal to public, and then back again when I want to release my assembly.
Available from v4.44.4. Add [assembly:InternalsVisibleTo(“LINQPadQuery”)] in your assembly and enable the option in LINQPad’s preferences.
-
florin daneliuc commented
yes, it wuold be nice. Currently we have some properties which wrap enums so that we can map the integer value of the enum. And these properties are internal as they should not be used by other places then in this assemblie (or linqpad)
-
craig commented
Ya,
This does not only apply to entity framework.
I often use linqpad to debug my code, and being able to call internal static methods would be a huge plus. At the moment we make them public because it's just easier. Linqpad is so useful we compromise our design for it.