CsWinRT
CsWinRT copied to clipboard
C# language projection for the Windows Runtime
Click the button in these two repro apps to see the issue: [ColorPickerExceptionMessageUWP.zip](https://github.com/microsoft/CsWinRT/files/5265044/ColorPickerExceptionMessageUWP.zip) [ColorPickerExceptionMessageDesktop.zip](https://github.com/microsoft/CsWinRT/files/5265045/ColorPickerExceptionMessageDesktop.zip) In the UWP application, which does not use C#/WinRT projections, setting ColorPicker.MaxHue to an invalid value...
There are a few paths that can fail at runtime and would benefit greatly with some trace logging, such as: - Helper type not found: this can indicate an internal...
Debugging UX checklist: - [ ] viewing properties in the Locals/Auto/Watch windows for RCW WinRT components. - [ ] viewing properties in the Locals/Auto/Watch window for objects that previously were...
workaround: using WinRT; ... var obj = ((object)objectWithStaticAs).As
When the .NET 5 Windows SDK specific TFM is used, the WinMDs can be obtained from the Windows SDK projection package and don't need to rely on that version of...
There are scenarios in WinRT where the transitive closure of all types is known. This would imply there are opportunities to optimize the RCW code generation logic and avoid querying...
The IIterable and IBindableIterable projections should have special implementations of IIterator IBindableIterator that use random access if available, by probing for IVector, IVectorView. This would reduce the number of vcalls...
Currently, our unit tests for authoring diagnostics must be run manually. This includes a hack in the source generator (documented in the readme for the unittests). We should get these...
Ideally we wouldn't need to suppress a CA1416 warning (like below): > *Warning CA1416: This call site is reachable on: 'Windows' 10.0.17763.0 and later. 'DisplayMonitor.IsDolbyVisionSupportedInHdrMode.get' is only supported on: 'Windows'...
- We should look into creating a CSharpCompilationContext for a given source and then checking it for diagnostics to test the SupportedOSPlatform changes. Refer to the diagnostics tests for where...