Are there any plans for CsWin32 to support the new C# memory safety features? #1700
Replies: 2 comments 3 replies
-
|
Good question! Things should be mostly unchanged, but there may be more cases where opted-in callers will have to do the safety attestations. We might need to change the codegen to help as well, since there are places where we put unsafe on the generated methods even though they're not unsafe by the new rules. If someone wanted to scout ahead and see what opt-ing in cswin32 to the new mode looks like, I would be interested to see the results. :) |
Beta Was this translation helpful? Give feedback.
-
|
It appears that .NET 11 primarily restricts This is highly beneficial for CsWin32, and I look forward to the maintainers adding a milestone for updating to the .NET 11 safety model. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
https://devblogs.microsoft.com/dotnet/improving-csharp-memory-safety/
How will the upcoming C# memory safety improvements affect CsWin32?
Beta Was this translation helpful? Give feedback.
All reactions