We're updating the issue view to help you get more done. 

Ensure that user gets an exception when using existing private members in an expression tree with Reflection.Emit

Description

Allowed:

  • Using private added members.

  • Using public, protected, protected internal existing or base members.

Disallowed:

  • Using non-public, non-protected, and non-protected internal existing or base members.

The disallowed cases must throw an exception, ideally in the mutable reflection layer (SetBody/AddMethod/AddConstructor); at least in the Reflection.Emit layer.

Assignee

Unassigned

Reporter

User known

Labels

None

Components

Fix versions

Priority

Normal
Configure