-
Notifications
You must be signed in to change notification settings - Fork 831
Closed
Labels
BugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.(Internal MS Team use only) Describes an issue with limited impact on existing code.good first issue
Description
see #1332
There is also one other visibility in IL, famANDassembly, e.g. it can only be accessed by sub-types in the same assembly (and by subtypes in other assemblies, if you use InternalsVisibleTo)
It can currently only be produced by C++/CLI, but C# had wanted to implement it for C#6 (not sure if it was postponed to C#7 or completely scraped).
Repro steps
I modified an assembly with DnSpy (it might be easier to just create a C++/CLI assembly):
Expected behavior
In C#, the member is invisible outside the subtype

The member is visible inside the subtype

Actual behavior
In F#, the FamAndAssembly member is NOT visible.
Related information
Provide any related information
Attached is the modified assembly (A.dll)
A.zip
Metadata
Metadata
Assignees
Labels
BugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.(Internal MS Team use only) Describes an issue with limited impact on existing code.good first issue


