Skip to content

Reinterop: Allow C++ implementation classes to access private fields / properties / methods of C# class #210

Open
@kring

Description

@kring

When using the [ReinteropNativeImplementation] attribute, the C++ and C# classes are conceptually one class, just with parts implemented in two different languages. To make that more seamless, it would be nice if the C++ code could access private members of the C# class. Currently the only way to do this is by declaring the private members "internal" instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestreinteropIssues related to Reinterop

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions