Allow LinqPad Query to access internal members of referenced libraries
It would be great if LinqPad query can access internal members of referenced libraries without changing the referenced libraries to add InternalsVisibleTo
attribute. Instead we could use the reverse attribute IgnoresAccessChecksToAttribute
in the query to allow it to access internal members of any specified libraries. You can find detailed information on how this can be done here: https://github.com/aelij/IgnoresAccessChecksToGenerator and https://github.com/filipw/Strathweb.Samples.CSharp.NoVisibilityChecks
3
votes
wangzq
shared this idea