-
Notifications
You must be signed in to change notification settings - Fork 548
Closed
Labels
enhancementThe issue or pull request is an enhancementThe issue or pull request is an enhancementgood first issueThis is a good first issue for someone to start working with our codeThis is a good first issue for someone to start working with our codeiOSIssues affecting iOSIssues affecting iOSmacOSIssues affecting macOSIssues affecting macOS
Milestone
Description
Suggestion:
Hide members from NSObject that customers shouldn't use.
Candidates:
- Handle: https://github.com/xamarin/xamarin-macios/blob/337f3efac4062ad07fd6f9f9c9fd6db40d2454cc/src/Foundation/NSObject2.cs#L461
- SuperHandle: https://github.com/xamarin/xamarin-macios/blob/337f3efac4062ad07fd6f9f9c9fd6db40d2454cc/src/Foundation/NSObject2.cs#L446
- IntPtr constructor (never seen this constructor used): https://github.com/xamarin/xamarin-macios/blob/337f3efac4062ad07fd6f9f9c9fd6db40d2454cc/src/Foundation/NSObject2.cs#L134
- IntPtr, bool constructor (never seen this constructor get used): https://github.com/xamarin/xamarin-macios/blob/337f3efac4062ad07fd6f9f9c9fd6db40d2454cc/src/Foundation/NSObject2.cs#L137
- Alloc (never seen this method used): https://github.com/xamarin/xamarin-macios/blob/337f3efac4062ad07fd6f9f9c9fd6db40d2454cc/src/Foundation/NSObject.iOS.cs#L31
- Init (never seen this method used): https://github.com/xamarin/xamarin-macios/blob/337f3efac4062ad07fd6f9f9c9fd6db40d2454cc/src/Foundation/NSObject.iOS.cs#L36
- IsDirectBinding (required by binding code, but afaik never called directly by customers): https://github.com/xamarin/xamarin-macios/blob/337f3efac4062ad07fd6f9f9c9fd6db40d2454cc/src/Foundation/NSObject2.cs#L96
- IsNewRefCountEnabled (should never need to be called by customers since does nothing but return a constant value): https://github.com/xamarin/xamarin-macios/blob/337f3efac4062ad07fd6f9f9c9fd6db40d2454cc/src/Foundation/NSObject2.cs#L166
- MarkDirty (required by binding code afaik, but shouldn't have to be called by customers): https://github.com/xamarin/xamarin-macios/blob/337f3efac4062ad07fd6f9f9c9fd6db40d2454cc/src/Foundation/NSObject2.cs#L177
Ref:
Nirmal4G and AmrAlSayed0
Metadata
Metadata
Assignees
Labels
enhancementThe issue or pull request is an enhancementThe issue or pull request is an enhancementgood first issueThis is a good first issue for someone to start working with our codeThis is a good first issue for someone to start working with our codeiOSIssues affecting iOSIssues affecting iOSmacOSIssues affecting macOSIssues affecting macOS