8000 explore a hypothetical #r! directive · Issue #369 · dotnet-script/dotnet-script · GitHub
[go: up one dir, main page]

Skip to content
explore a hypothetical #r! directive #369
Open
@filipw

Description

@filipw

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0