From 405b69faa57f5dd843fd8074a54f20e6de61dea0 Mon Sep 17 00:00:00 2001 From: Riccardo De Agostini Date: Wed, 9 Nov 2022 17:33:06 +0100 Subject: [PATCH] Disable CS0649 in attributes that have unassigned fields --- .../Runtime/InteropServices/UnmanagedCallersOnlyAttribute.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PolyKit.Polyfills/System/Runtime/InteropServices/UnmanagedCallersOnlyAttribute.cs b/src/PolyKit.Polyfills/System/Runtime/InteropServices/UnmanagedCallersOnlyAttribute.cs index 3401ce3..67af931 100644 --- a/src/PolyKit.Polyfills/System/Runtime/InteropServices/UnmanagedCallersOnlyAttribute.cs +++ b/src/PolyKit.Polyfills/System/Runtime/InteropServices/UnmanagedCallersOnlyAttribute.cs @@ -6,6 +6,7 @@ #else +#pragma warning disable CS0649 // Field is never assigned to #pragma warning disable SA1401 // Fields should be private // Licensed to the .NET Foundation under one or more agreements.