We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The below code make CsWinRT produce invalid code:
public partial class ObservableDictionaryChangedEventArgs : IMapChangedEventArgs<string> { public ObservableDictionaryChangedEventArgs(CollectionChange change, string key) { this.CollectionChange = change; this.Key = key; } public CollectionChange CollectionChange { get; private set; } public string Key { get; private set; } }
where CsWinRT generates code for ObservableDictionaryChangedEventArgs :
ObservableDictionaryChangedEventArgs
using static WinRT.TypeExtensions; namespace App1 { [global::WinRT.WinRTRuntimeClassName("Windows.Foundation.Collections.IMapChangedEventArgs`1<String>")] [global::WinRT.WinRTExposedType(typeof(ObservableDictionaryChangedEventArgsWinRTTypeDetails))] partial class ObservableDictionaryChangedEventArgs { } internal sealed class ObservableDictionaryChangedEventArgsWinRTTypeDetails : global::WinRT.IWinRTExposedTypeDetails { public global::System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry[] GetExposedInterfaces() { _ = global::WinRT.GenericHelpers.IMapChangedEventArgs_string.Initialized; return new global::System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry[] { new global::System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry { IID = global::ABI.Windows.Foundation.Collections.IMapChangedEventArgsMethods<string>.IID, Vtable = global::ABI.Windows.Foundation.Collections.IMapChangedEventArgsMethods<string>.AbiToProjectionVftablePtr }, }; } } }
but there's no IMapChangedEventArgs_string being generated.
IMapChangedEventArgs_string
Version used: CsWinRT 2.1.0-prerelease.240602.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The below code make CsWinRT produce invalid code:
where CsWinRT generates code for
ObservableDictionaryChangedEventArgs
:but there's no
IMapChangedEventArgs_string
being generated.Version used: CsWinRT 2.1.0-prerelease.240602.1
The text was updated successfully, but these errors were encountered: