Merge pull request #642 from Sergio0694/dev/remove-unnecessary-CS0649-suppressions

Remove unnecessary CS0649 suppressions
このコミットが含まれているのは:
Sergio Pedri authored and GitHub committed 2023-11-21 16:44:13 +01:00
コミット 2a7ddf0016
23ファイル変更
+18 -44

検索条件に一致するファイルはありません

+12 -1
ファイルの表示
@@ -1,7 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<NoWarn>$(NoWarn);CS1591;CS0649;CS1574;CS0419;IDE0004</NoWarn>
</PropertyGroup>
<PropertyGroup>
<!-- Ignore warnings for ambiguous XML cref attributes (due to some CSharpLang/CsWin32 signature differences) -->
<NoWarn>$(NoWarn);CS0419</NoWarn>
<!-- Ignore warnings for unresolved XML cref attributes (for imported types, same as in the D3D12 generator) -->
<NoWarn>$(NoWarn);CS1574</NoWarn>
<!-- Ignore warnings for redundant casts (needed in some imported enum types due to CSharpLang/CsWin32 type differences) -->
<NoWarn>$(NoWarn);IDE0004</NoWarn>
</PropertyGroup>
<!-- Same setup as ComputeSharp.Core.SourceGenerators, just with also APIs from ComputeSharp -->
+6 -1
ファイルの表示
@@ -1,7 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<NoWarn>$(NoWarn);CS1591;CS0649;CS1574</NoWarn>
</PropertyGroup>
<PropertyGroup>
<!-- Ignore warnings for unresolved XML cref attributes (for imported types from ComputeSharp) -->
<NoWarn>$(NoWarn);CS1574</NoWarn>
</PropertyGroup>
<!-- Same setup as ComputeSharp.Core.SourceGenerators, just with also APIs from ComputeSharp -->
-2
ファイルの表示
@@ -6,8 +6,6 @@
using System;
using System.Runtime.InteropServices;
#pragma warning disable CS0649
namespace ComputeSharp.Win32;
[Guid("06152247-6F50-465A-9245-118BFD3B6007")]
-2
ファイルの表示
@@ -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")]
-2
ファイルの表示
@@ -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")]
-2
ファイルの表示
@@ -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")]
-2
ファイルの表示
@@ -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")]
-2
ファイルの表示
@@ -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")]
-2
ファイルの表示
@@ -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
@@ -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
-2
ファイルの表示
@@ -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")]
-2
ファイルの表示
@@ -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")]
-2
ファイルの表示
@@ -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")]
-2
ファイルの表示
@@ -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")]
-2
ファイルの表示
@@ -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")]
-2
ファイルの表示
@@ -6,8 +6,6 @@
using System;
using System.Runtime.InteropServices;
#pragma warning disable CS0649
namespace ComputeSharp.Win32;
[Guid("EF1A287D-342A-4F76-8FDB-DA0D6EA9F92B")]
-2
ファイルの表示
@@ -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")]
-2
ファイルの表示
@@ -6,8 +6,6 @@
using System;
using System.Runtime.InteropServices;
#pragma warning disable CS0649
namespace ComputeSharp.Win32;
[Guid("B2EFE1E7-729F-4102-949F-505FA21BF666")]
-2
ファイルの表示
@@ -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")]
-2
ファイルの表示
@@ -5,8 +5,6 @@
using System.Runtime.CompilerServices;
#pragma warning disable CS0649
namespace ComputeSharp.Win32;
internal unsafe partial struct ID3DInclude
-2
ファイルの表示
@@ -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
-2
ファイルの表示
@@ -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")]
-2
ファイルの表示
@@ -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")]