diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ComputeSharp.D2D1.SourceGenerators.csproj b/src/ComputeSharp.D2D1.SourceGenerators/ComputeSharp.D2D1.SourceGenerators.csproj index 27b2d5e0..dd2d7075 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ComputeSharp.D2D1.SourceGenerators.csproj +++ b/src/ComputeSharp.D2D1.SourceGenerators/ComputeSharp.D2D1.SourceGenerators.csproj @@ -1,7 +1,18 @@ netstandard2.0 - $(NoWarn);CS1591;CS0649;CS1574;CS0419;IDE0004 + + + + + + $(NoWarn);CS0419 + + + $(NoWarn);CS1574 + + + $(NoWarn);IDE0004 diff --git a/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj b/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj index 130b2861..c7bb09bb 100644 --- a/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj +++ b/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj @@ -1,7 +1,12 @@ netstandard2.0 - $(NoWarn);CS1591;CS0649;CS1574 + + + + + + $(NoWarn);CS1574 diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Factory.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Factory.cs index 1447bc76..22811f17 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Factory.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Factory.cs @@ -6,8 +6,6 @@ using System; using System.Runtime.InteropServices; -#pragma warning disable CS0649 - namespace ComputeSharp.Win32; [Guid("06152247-6F50-465A-9245-118BFD3B6007")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Image.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1/ID2D1Image.cs index c7a5e4d5..4dde8f27 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 CS0649 - namespace ComputeSharp.Win32; [Guid("65019F75-8DA2-497C-B32C-DFA34E48EDE6")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1DeviceContext.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1DeviceContext.cs index cce90946..0d1c2252 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1DeviceContext.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1DeviceContext.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable CS0649 - namespace ComputeSharp.Win32; [Guid("E8F7FE7A-191C-466D-AD95-975678BDA998")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Effect.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Effect.cs index d2ebf9a0..38959e2f 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Effect.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1_1/ID2D1Effect.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable CS0649 - namespace ComputeSharp.Win32; [Guid("28211A43-7D89-476F-8181-2D6159B220AD")] 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 d53395cd..5a09e646 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 CS0649 - namespace ComputeSharp.Win32; [Guid("BB12D362-DAEE-4B9A-AA1D-14BA401CFA1F")] 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 404bff13..604ef042 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 CS0649 - namespace ComputeSharp.Win32; [Guid("31E6E7BC-E0FF-4D46-8C64-A0A8C41C15D3")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_PROPERTY_BINDING.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_PROPERTY_BINDING.cs index ce1c8f3a..0db6630d 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_PROPERTY_BINDING.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_PROPERTY_BINDING.cs @@ -3,8 +3,6 @@ // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -#pragma warning disable CS0649 - namespace ComputeSharp.Win32; internal unsafe partial struct D2D1_PROPERTY_BINDING diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_RESOURCE_TEXTURE_PROPERTIES.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_RESOURCE_TEXTURE_PROPERTIES.cs index db5e4e9f..088fc58e 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_RESOURCE_TEXTURE_PROPERTIES.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/D2D1_RESOURCE_TEXTURE_PROPERTIES.cs @@ -3,8 +3,6 @@ // Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -#pragma warning disable CS0649 - namespace ComputeSharp.Win32; internal unsafe partial struct D2D1_RESOURCE_TEXTURE_PROPERTIES diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs index d88a8bbe..c2d478ab 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs @@ -8,8 +8,6 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using static ComputeSharp.Win32.D2D1_PIXEL_OPTIONS; -#pragma warning disable CS0649 - namespace ComputeSharp.Win32; [Guid("693CE632-7F2F-45DE-93FE-18D88B37AA21")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs index 7cea3a1c..e1ce0a55 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 CS0649 - namespace ComputeSharp.Win32; [Guid("36BFDCB6-9739-435D-A30D-A653BEFF6A6F")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs index 04b19ba0..86420bf6 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable CS0649 - namespace ComputeSharp.Win32; [Guid("3D9F916B-27DC-4AD7-B4F1-64945340F563")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs index 903e7119..e88ec7a6 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 CS0649 - namespace ComputeSharp.Win32; [Guid("A248FD3F-3E6C-4E63-9F03-7F68ECC91DB9")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs index b380bfeb..863abed5 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable CS0649 - namespace ComputeSharp.Win32; [Guid("688D15C3-02B0-438D-B13A-D1B44C32C39A")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1Transform.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1Transform.cs index 6e9342ef..954fe1f9 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1Transform.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1Transform.cs @@ -6,8 +6,6 @@ using System; using System.Runtime.InteropServices; -#pragma warning disable CS0649 - namespace ComputeSharp.Win32; [Guid("EF1A287D-342A-4F76-8FDB-DA0D6EA9F92B")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs index 7b0d1cb6..6d37f945 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable CS0649 - namespace ComputeSharp.Win32; [Guid("13D29038-C3E6-4034-9081-13B53A417992")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs index 5819cf26..c9588777 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs @@ -6,8 +6,6 @@ using System; using System.Runtime.InteropServices; -#pragma warning disable CS0649 - namespace ComputeSharp.Win32; [Guid("B2EFE1E7-729F-4102-949F-505FA21BF666")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs index f2bbbe49..01f24542 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 CS0649 - namespace ComputeSharp.Win32; [Guid("8D536CA1-0CCA-4956-A837-786963755584")] diff --git a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcommon/ID3DInclude.cs b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcommon/ID3DInclude.cs index f0d8caa3..3820fc0f 100644 --- a/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcommon/ID3DInclude.cs +++ b/src/ComputeSharp.Win32.D2D1/DirectX/um/d3dcommon/ID3DInclude.cs @@ -5,8 +5,6 @@ using System.Runtime.CompilerServices; -#pragma warning disable CS0649 - namespace ComputeSharp.Win32; internal unsafe partial struct ID3DInclude diff --git a/src/ComputeSharp.Win32.D2D1/Windows/shared/windef/RECT.cs b/src/ComputeSharp.Win32.D2D1/Windows/shared/windef/RECT.cs index c6c8ddf5..1ef6c369 100644 --- a/src/ComputeSharp.Win32.D2D1/Windows/shared/windef/RECT.cs +++ b/src/ComputeSharp.Win32.D2D1/Windows/shared/windef/RECT.cs @@ -3,8 +3,6 @@ // Ported from shared/windef.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -#pragma warning disable CS0649 - namespace ComputeSharp.Win32; internal struct RECT diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/ID3DBlob.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/ID3DBlob.cs index 1b97bd90..a3bbe6ff 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/ID3DBlob.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3dcommon/ID3DBlob.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -#pragma warning disable CS0649 - namespace ComputeSharp.Win32; [Guid("8BA5FB08-5195-40E2-AC58-0D989C3A0102")] diff --git a/src/ComputeSharp.Win32.D3D12/Windows/um/Unknwnbase/IUnknown.cs b/src/ComputeSharp.Win32.D3D12/Windows/um/Unknwnbase/IUnknown.cs index d19342f0..cbdb1a64 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 CS0649 - namespace ComputeSharp.Win32; [Guid("00000000-0000-0000-C000-000000000046")]