CsWinRT
CsWinRT copied to clipboard
C# language projection for the Windows Runtime
### Description GeneratedBindableCustomProperty generated code lacks qualifier global:: ##### ------------------------------ GeneratedBindableCustomProperty 生成的代码缺少限定符 global:: ### Steps To Reproduce None ### Expected Behavior Add the missing qualifier global:: ##### ------------------------------ 添加上缺少的限定符 global::...
### Description The UnhandledException event handler broken since appsdk 1.7 was released (see https://github.com/microsoft/microsoft-ui-xaml/issues/10447#issuecomment-2800107924) and the issue is caused by a change in the DispatcherQueueSynchronizationContext class. I see that this...
### Description This bug/crash has been reported previously here: https://github.com/CommunityToolkit/Windows/issues/612 ``` System.InvalidCastException: Specified cast is not valid at System.Runtime.RuntimeExports.RhUnbox2(MethodTable*, Object) + 0x3f at CommunityToolkit.WinUI.Controls.GridSplitter.IsStarColumn(ColumnDefinition) + 0x53 at CommunityToolkit.WinUI.Controls.GridSplitter.OnDragHorizontal(Double) + 0xf9...
### Description My code is like below ``` public class Parent { } public sealed class Child : Parent { } public static class Example { public static Child GetChild()...
Proposal: Support for contract versioning (and other WinRT attributes) on published WinRT interfaces
### Summary There's a set of WinRT attributes that affect the WinMD generation that enable devs to create stable ABIs. Currently to meet this need we have devs write IDL,...
### Description I'm developing a WinUI3 application. When not publishing AOT, it works, but when adding `true,` it throws ``` System.NotSupportedException: 'Cannot retrieve a helper type for generic public type...
Minor optimization to `EventSourceCache` when removing event registrations.
### Summary When CsWinRTAotWarningLevel is set to 2, warnings are enabled for classes not marked partial that implement custom mapped interfaces given we can't generate vtables for them. Out of...
### Summary Today, if the implementation with the `AsyncInfo.Run` lambda uses other generated code from another generator, we apparently fail to analyze the entire function and generate the necessary vtables...
### Summary Add a [Custom MSBuild Schema](https://github.com/mhutch/MonoDevelop.MSBuildEditor/wiki/Creating-a-custom-schema) so that the Visual Studio extension [MSBuildEditor](https://github.com/mhutch/MonoDevelop.MSBuildEditor) can understand and show help for CsWinRT properties and items. ### Rationale It will make it...