CsWinRT icon indicating copy to clipboard operation
CsWinRT copied to clipboard

C# language projection for the Windows Runtime

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

Same as https://github.com/microsoft/CsWinRT/pull/1429, but for projections.

trimming
AOT

This PR reports the native memory pressure of any CsWinRT projected RCWs to the .NET GC. The .NET GC keeps track of managed memory and is not aware of native...

This PR suppresses a bunch of IL2080 warnings for `MakeGenericCalls` that we know are actually safe. The warnings come from the fact the ABI type arguments are passed to type...

trimming

### Closes #1433, #1324 This PR includes some changes to finally fix all AOT warnings on CsWinRT: - Enable `IsAotCompatible` on the .NET 8 TFM - Treat all AOT warnings...

AOT

**Describe the bug** I'm authoring an in-process WinRT server, and it has the following method: ```cs public struct Data { public int X; } class Foo { public IAsyncOperation GetDataAsync()...

bug

**Describe the bug** When I call this line with a network path that can not be found (maybe the device is offline), I get a COMException instead of the IOException...

bug

**Describe the bug** System.Runtime.InteropServices.COMException in storageLibrary.RequestAddFolderAsync() or storageLibrary.RequestRemoveFolderAsync() **To Reproduce** 1. Get StorageLibrary via await StorageLibrary.GetLibraryAsync(KnownLibraryId.Pictures); 2. Call RequestAddFolderAsync() on received library **Expected behavior** As in the UWP application, an...

bug

# Proposal: API to easily get the ABI for an activation factory ## Summary Currently, there is no easy way to get _the ABI_ for a given activation factory with...

enhancement

I have the same code running in UWP and WinUI, both from blank projects (debug and release). As an example: To enumerate my iCloud photos folder with 60,000 files and...

bug
performance