CsWinRT icon indicating copy to clipboard operation
CsWinRT copied to clipboard

C# language projection for the Windows Runtime

Results 340 CsWinRT issues
Sort by recently updated
recently updated
newest added

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...

bug
pri-2
debugging

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...

enhancement
debugging

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...

enhancement
debugging

workaround: using WinRT; ... var obj = ((object)objectWithStaticAs).As

bug
pri-2

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...

enhancement

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...

enhancement
performance

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...

enhancement
performance

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...

enhancement
authoring
testing

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'...

enhancement
light-up

- 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...

testing
light-up