Skip to content

Hide Java.Lang.Object members meant only for internal use #4582

@bramborman

Description

@bramborman

Hi, this is not a very important issue, but something I guess would make a dev's life a bit easier :)

I work with Xamarin.Android so I use mostly objects that are bound from Java libs so they inherit from the Java.Lang.Object class. The problem here is that it has a few public members that are intended for internal Java.Interop use only. For instance public IntPtr Handle or public JniObjectReference PeerReference.

So I'm wondering whether it'd be possible to hide these members as they're making an unwanted noise in IntelliSense and could also possibly lead to some confusion or errors when mistakenly used. The best would of course be to make them internal or something like that or, if that's not possible, the EditorBrowsable(EditorBrowsableState.Never) attribute could be added to remove that noise.

Metadata

Metadata

Assignees

Labels

Area: BindingsIssues in Java Library Binding projects.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions