Open
Description
This idea is based on my conversations with the Roslyn team a while back. A hypotethical #r!
reference would bypass visibility checks on the referenced assemblies, allowing direct access to privates/internals of the imported assembly (a reverse internals-visible-to).
I wrote a blog post about this https://www.strathweb.com/2018/10/no-internalvisibleto-no-problem-bypassing-c-visibility-rules-with-roslyn/ and it should be possible to be baked into the project.