MicrosoftDocs / winrt-api

WinRT reference content for developing Microsoft Universal Windows Platform (UWP) apps
Creative Commons Attribution 4.0 International
231 stars 496 forks source link

Incorrect information for language projections #1108

Closed MikeHillberg closed 5 years ago

MikeHillberg commented 5 years ago

This page doesn't indicate the interfaces that are implemented by the classes. Note that which interfaces are implemented depends on the language. At the WinRT API level, this class implements IVector<IInspectable>, but in C# that shows up as IList<Object>.

And because of that translation, the members here aren't all correct. For example, in C++ this class has an Append method (from IVector<T>), but in C# it has an Add method (from ICollection<T>).


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

jevansaks commented 5 years ago

@MikeHillberg Are you thinking this is an infrastructure bug or something we should try to handle in the way our docs are written?

@mijacobs and @mimisasouvanh as well

mijacobs commented 5 years ago

Thanks, Mike. We've filed a bug against the engineering team to track this issue.