Convert all possible `DllImport`s to `LibraryImport` for .NET 7+ (#41573)
* Convert all possible DllImports to LibraryImport for .NET 7+ * Explicitly declare entry point on Windows P/Invokes with W suffix. * Mark as "ref struct". * Consume latest source generator. * Permit unsafe blocks.
显示
- .editorconfig 3 个添加, 0 个删除.editorconfig
- eng/tools/HelixTestRunner/HelixTestRunner.csproj 1 个添加, 0 个删除eng/tools/HelixTestRunner/HelixTestRunner.csproj
- eng/tools/HelixTestRunner/ProcessUtil.cs 3 个添加, 3 个删除eng/tools/HelixTestRunner/ProcessUtil.cs
- src/DataProtection/Cryptography.Internal/src/SafeHandles/SafeLibraryHandle.cs 49 个添加, 23 个删除...ryptography.Internal/src/SafeHandles/SafeLibraryHandle.cs
- src/DataProtection/Cryptography.Internal/src/UnsafeNativeMethods.cs 320 个添加, 181 个删除...otection/Cryptography.Internal/src/UnsafeNativeMethods.cs
- src/DataProtection/DataProtection/src/Cng/DpapiSecretSerializerHelper.cs 2 个添加, 2 个删除...ion/DataProtection/src/Cng/DpapiSecretSerializerHelper.cs
- src/Servers/HttpSys/src/NativeInterop/HttpApi.cs 47 个添加, 46 个删除src/Servers/HttpSys/src/NativeInterop/HttpApi.cs
- src/Servers/HttpSys/src/NativeInterop/RequestQueue.cs 2 个添加, 2 个删除src/Servers/HttpSys/src/NativeInterop/RequestQueue.cs
- src/Servers/HttpSys/src/NativeInterop/SafeLibraryHandle.cs 13 个添加, 13 个删除src/Servers/HttpSys/src/NativeInterop/SafeLibraryHandle.cs
- src/Servers/HttpSys/test/FunctionalTests/Listener/ServerOnExistingQueueTests.cs 1 个添加, 1 个删除...st/FunctionalTests/Listener/ServerOnExistingQueueTests.cs
- src/Servers/HttpSys/test/FunctionalTests/ServerTests.cs 1 个添加, 1 个删除src/Servers/HttpSys/test/FunctionalTests/ServerTests.cs
- src/Servers/IIS/IIS/src/Core/IISConfigurationData.cs 67 个添加, 3 个删除src/Servers/IIS/IIS/src/Core/IISConfigurationData.cs
- src/Servers/IIS/IIS/src/NativeMethods.cs 69 个添加, 70 个删除src/Servers/IIS/IIS/src/NativeMethods.cs
- src/Servers/IIS/IIS/test/IIS.Tests/IIS.Tests.csproj 1 个添加, 0 个删除src/Servers/IIS/IIS/test/IIS.Tests/IIS.Tests.csproj
- src/Servers/IIS/IIS/test/IIS.Tests/Utilities/TestServer.cs 12 个添加, 12 个删除src/Servers/IIS/IIS/test/IIS.Tests/Utilities/TestServer.cs
- src/Servers/IIS/IIS/test/testassets/InProcessNewShimWebSite/InProcessNewShimWebSite.csproj 2 个添加, 1 个删除...ts/InProcessNewShimWebSite/InProcessNewShimWebSite.csproj
- src/Servers/IIS/IIS/test/testassets/InProcessWebSite/InProcessWebSite.csproj 1 个添加, 0 个删除.../test/testassets/InProcessWebSite/InProcessWebSite.csproj
- src/Servers/IIS/IIS/test/testassets/InProcessWebSite/Startup.cs 6 个添加, 5 个删除...rvers/IIS/IIS/test/testassets/InProcessWebSite/Startup.cs
- src/Servers/IIS/IISIntegration/src/NativeMethods.cs 4 个添加, 4 个删除src/Servers/IIS/IISIntegration/src/NativeMethods.cs
- src/Servers/IIS/IntegrationTesting.IIS/src/IISExpressDeployer.cs 28 个添加, 10 个删除...vers/IIS/IntegrationTesting.IIS/src/IISExpressDeployer.cs
加载中
想要评论请 注册 或 登录