From 2fe6ab95080074a4e636ec0f5d3f2a00c302f928 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Thu, 23 Nov 2023 19:11:46 +0100 Subject: [PATCH] Centralize suppressions for IDE0055 in bindings --- src/ComputeSharp.Win32.D2D1/.editorconfig | 1 + src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Image.cs | 2 -- .../DirectX/um/d2d1_1/ID2D1CommandList.cs | 2 -- src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Factory1.cs | 2 -- .../DirectX/um/d2d1_1/ID2D1Multithread.cs | 2 -- src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_2/ID2D1Device1.cs | 2 -- .../DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs | 2 -- .../DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs | 2 -- .../DirectX/um/d2d1effectauthor/ID2D1Transform.cs | 2 -- .../DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs | 2 -- .../DirectX/um/d3d11shader/ID3D11ShaderReflection.cs | 2 -- src/ComputeSharp.Win32.D3D12/.editorconfig | 1 + .../DirectX/shared/dxgi/IDXGIAdapter.cs | 2 -- .../DirectX/shared/dxgi/IDXGIAdapter1.cs | 2 -- .../DirectX/shared/dxgi/IDXGISwapChain.cs | 2 -- .../DirectX/shared/dxgi1_2/DXGIOutput1.cs | 2 -- .../DirectX/shared/dxgi1_4/IDXGIFactory4.cs | 2 -- .../DirectX/shared/dxgi1_4/IDXGISwapChain3.cs | 2 -- .../DirectX/shared/dxgi1_6/IDXGIFactory6.cs | 2 -- .../DirectX/um/d3d12/ID3D12CommandAllocator.cs | 2 -- .../DirectX/um/d3d12/ID3D12CommandQueue.cs | 2 -- .../DirectX/um/d3d12/ID3D12DescriptorHeap.cs | 2 -- src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Device.cs | 2 -- .../DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs | 2 -- .../um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs | 2 -- src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Fence.cs | 2 -- .../DirectX/um/d3d12/ID3D12GraphicsCommandList.cs | 2 -- .../DirectX/um/d3d12/ID3D12PipelineState.cs | 2 -- src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Resource.cs | 2 -- .../DirectX/um/d3d12/ID3D12RootSignature.cs | 2 -- .../DirectX/um/d3d12sdklayers/ID3D12Debug.cs | 2 -- .../DirectX/um/d3d12sdklayers/ID3D12Debug1.cs | 2 -- .../DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs | 2 -- .../DirectX/um/d3d12shader/ID3D12ShaderReflection.cs | 2 -- src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/IDxcUtils.cs | 2 -- src/ComputeSharp.Win32.D3D12/Windows/um/Unknwnbase/IUnknown.cs | 2 -- .../Windows/um/wincodec/IWICImagingFactory2.cs | 2 -- 37 files changed, 2 insertions(+), 70 deletions(-) diff --git a/src/ComputeSharp.Win32.D2D1/.editorconfig b/src/ComputeSharp.Win32.D2D1/.editorconfig index e66e478f..e87be3e4 100644 --- a/src/ComputeSharp.Win32.D2D1/.editorconfig +++ b/src/ComputeSharp.Win32.D2D1/.editorconfig @@ -34,6 +34,7 @@ dotnet_diagnostic.IDE0032.severity = none dotnet_diagnostic.IDE0045.severity = none dotnet_diagnostic.IDE0046.severity = none dotnet_diagnostic.IDE0047.severity = none +dotnet_diagnostic.IDE0055.severity = none dotnet_diagnostic.IDE0060.severity = none dotnet_diagnostic.IDE0090.severity = none dotnet_diagnostic.IDE0160.severity = none diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Image.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Image.cs index 6c4a3e7b..403ef737 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Image.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Image.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID2D1Image : ID2D1Resource")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1CommandList.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1CommandList.cs index e1977b0e..77932eef 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1CommandList.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1CommandList.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID2D1CommandList : ID2D1Image")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Factory1.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Factory1.cs index 6d84da92..8cb73733 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Factory1.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Factory1.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID2D1Factory1 : ID2D1Factory")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Multithread.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Multithread.cs index d9032cb9..1823978f 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Multithread.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Multithread.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID2D1Multithread : IUnknown")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_2/ID2D1Device1.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_2/ID2D1Device1.cs index baf54ee0..44084a36 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_2/ID2D1Device1.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_2/ID2D1Device1.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID2D1Device1 : ID2D1Device")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs index f1b5bb68..049f8642 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID2D1DrawTransform : ID2D1Transform")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs index ff8076ad..ce390ac7 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID2D1EffectImpl : IUnknown")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1Transform.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1Transform.cs index aad258c4..991fb7b1 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1Transform.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1Transform.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID2D1Transform : ID2D1TransformNode")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs index a3c9d288..fc7ce887 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID2D1TransformNode : IUnknown")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs index 8c7e8e59..4e574e37 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID3D11ShaderReflection : IUnknown")] diff --git a/src/ComputeSharp.Win32.D3D12/.editorconfig b/src/ComputeSharp.Win32.D3D12/.editorconfig index e66e478f..e87be3e4 100644 --- a/src/ComputeSharp.Win32.D3D12/.editorconfig +++ b/src/ComputeSharp.Win32.D3D12/.editorconfig @@ -34,6 +34,7 @@ dotnet_diagnostic.IDE0032.severity = none dotnet_diagnostic.IDE0045.severity = none dotnet_diagnostic.IDE0046.severity = none dotnet_diagnostic.IDE0047.severity = none +dotnet_diagnostic.IDE0055.severity = none dotnet_diagnostic.IDE0060.severity = none dotnet_diagnostic.IDE0090.severity = none dotnet_diagnostic.IDE0160.severity = none diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter.cs index 72aeb677..8c1e9bc4 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct IDXGIAdapter : IDXGIObject")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter1.cs index e2317100..d9760d2c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter1.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct IDXGIAdapter1 : IDXGIAdapter")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGISwapChain.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGISwapChain.cs index 96ded98c..971ed936 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGISwapChain.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGISwapChain.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct IDXGISwapChain : IDXGIDeviceSubObject")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGIOutput1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGIOutput1.cs index a4370886..6084cf72 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGIOutput1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGIOutput1.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct IDXGIOutput1 : IDXGIOutput")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGIFactory4.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGIFactory4.cs index 2a766162..e085046b 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGIFactory4.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGIFactory4.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct IDXGIFactory4 : IDXGIFactory3")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs index 3e9b4cbe..43c1227b 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs @@ -8,8 +8,6 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [SupportedOSPlatform("windows10.0")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_6/IDXGIFactory6.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_6/IDXGIFactory6.cs index 3f065d20..ad2f06ac 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_6/IDXGIFactory6.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_6/IDXGIFactory6.cs @@ -8,8 +8,6 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [SupportedOSPlatform("windows10.0.17134.0")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandAllocator.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandAllocator.cs index 9035a349..50b02a1f 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandAllocator.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandAllocator.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID3D12CommandAllocator : ID3D12Pageable")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandQueue.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandQueue.cs index a62a6d2c..6a87018d 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandQueue.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandQueue.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID3D12CommandQueue : ID3D12Pageable")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DescriptorHeap.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DescriptorHeap.cs index 69abca96..c4e01964 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DescriptorHeap.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DescriptorHeap.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID3D12DescriptorHeap : ID3D12Pageable")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Device.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Device.cs index 4f1fca2c..5a2c174e 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Device.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Device.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID3D12Device : ID3D12Object")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs index d98b681d..72f0d406 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID3D12DeviceRemovedExtendedData1 : ID3D12DeviceRemovedExtendedData")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs index def4cc50..bd9854f4 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID3D12DeviceRemovedExtendedDataSettings1 : ID3D12DeviceRemovedExtendedDataSettings")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Fence.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Fence.cs index f2cbed13..3438cd5d 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Fence.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Fence.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID3D12Fence : ID3D12Pageable")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs index 18db7b1c..828329c1 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID3D12GraphicsCommandList : ID3D12CommandList")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12PipelineState.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12PipelineState.cs index 674f8275..657cbcf0 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12PipelineState.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12PipelineState.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID3D12PipelineState : ID3D12Pageable")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Resource.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Resource.cs index 6ddd5605..97bd52f1 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Resource.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Resource.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID3D12Resource : ID3D12Pageable")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12RootSignature.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12RootSignature.cs index 2e1da93c..48dbfc37 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12RootSignature.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12RootSignature.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID3D12RootSignature : ID3D12DeviceChild")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug.cs index 443471e5..d35b5a16 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID3D12Debug : IUnknown")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs index 81313dc1..37f4cd8b 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID3D12Debug1 : IUnknown")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs index 71d2cc83..1c0b35d7 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID3D12InfoQueue : IUnknown")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs index adb81f80..9be08551 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct ID3D12ShaderReflection : IUnknown")] diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/IDxcUtils.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/IDxcUtils.cs index b3592ed0..08173d19 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/IDxcUtils.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/IDxcUtils.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [NativeTypeName("struct IDxcUtils : IUnknown")] diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/Unknwnbase/IUnknown.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/Unknwnbase/IUnknown.cs index 5dab9040..ae86a8be 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/Unknwnbase/IUnknown.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/Unknwnbase/IUnknown.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; internal unsafe partial struct IUnknown : IComObject diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICImagingFactory2.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICImagingFactory2.cs index a7f6421e..198194aa 100644 --- a/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICImagingFactory2.cs +++ b/src/ComputeSharp.Win32.D3D12/Windows/um/wincodec/IWICImagingFactory2.cs @@ -8,8 +8,6 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; -#pragma warning disable IDE0055 - namespace ComputeSharp.Win32; [SupportedOSPlatform("windows8.0")]