You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should also install the `System.Memory`package when targeting .NET Framework 4.5+ or .NET Standard 2.0,
37
-
as that adds APIs that significantly improve much of the code generated by CsWin32:
36
+
You should also install the `System.Memory`and `System.Runtime.CompilerServices.Unsafe` packages when targeting .NET Framework 4.5+ or .NET Standard 2.0,
37
+
as these add APIs that significantly improve much of the code generated by CsWin32:
this.canUseUnmanagedCallersOnlyAttribute=this.compilation?.GetTypeByMetadataName("System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute")is not null;
0 commit comments