Skip to content

Comments

Hide 'IWindowsRuntimeInterface<T>' in 'WinRT.Runtime.dll'#2277

Merged
Sergio0694 merged 1 commit intostaging/3.0from
user/sergiopedri/hide-interface
Feb 21, 2026
Merged

Hide 'IWindowsRuntimeInterface<T>' in 'WinRT.Runtime.dll'#2277
Sergio0694 merged 1 commit intostaging/3.0from
user/sergiopedri/hide-interface

Conversation

@Sergio0694
Copy link
Member

Mark IWindowsRuntimeInterface as a private implementation detail by adding an [Obsolete] attribute (using WindowsRuntimeConstants for message, diagnostic id and URL) and [EditorBrowsable(EditorBrowsableState.Never)] to hide it from IntelliSense. Also added required using directives for System and System.ComponentModel.

Mark IWindowsRuntimeInterface<T> as a private implementation detail by adding an [Obsolete] attribute (using WindowsRuntimeConstants for message, diagnostic id and URL) and [EditorBrowsable(EditorBrowsableState.Never)] to hide it from IntelliSense. Also added required using directives for System and System.ComponentModel.
@Sergio0694 Sergio0694 enabled auto-merge (squash) February 20, 2026 23:28
@Sergio0694 Sergio0694 merged commit 1d4f6cf into staging/3.0 Feb 21, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants