From 2eafdeac93479a24b8c7d260de0078e7e27ae305 Mon Sep 17 00:00:00 2001 From: CodingFlow <3643313+CodingFlow@users.noreply.github.com> Date: Thu, 6 Jun 2024 16:21:33 -0400 Subject: [PATCH] Add ignore warning pragmas to example and unit test wrapper list files. --- DecoratorGenerator.UnitTests/WrapperList.cs | 6 ++++++ SampleLibrary/WrapperList.cs | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/DecoratorGenerator.UnitTests/WrapperList.cs b/DecoratorGenerator.UnitTests/WrapperList.cs index ebf9516..5a36661 100644 --- a/DecoratorGenerator.UnitTests/WrapperList.cs +++ b/DecoratorGenerator.UnitTests/WrapperList.cs @@ -1,6 +1,12 @@ using Amazon.DynamoDBv2.DataModel; +#pragma warning disable IDE0044 // Add readonly modifier +#pragma warning disable IDE0051 // Remove unused private members + public struct WrapperList { IDynamoDBContext dynamoDBContext; } + +#pragma warning restore IDE0051 // Remove unused private members +#pragma warning restore IDE0044 // Add readonly modifier diff --git a/SampleLibrary/WrapperList.cs b/SampleLibrary/WrapperList.cs index ebf9516..5a36661 100644 --- a/SampleLibrary/WrapperList.cs +++ b/SampleLibrary/WrapperList.cs @@ -1,6 +1,12 @@ using Amazon.DynamoDBv2.DataModel; +#pragma warning disable IDE0044 // Add readonly modifier +#pragma warning disable IDE0051 // Remove unused private members + public struct WrapperList { IDynamoDBContext dynamoDBContext; } + +#pragma warning restore IDE0051 // Remove unused private members +#pragma warning restore IDE0044 // Add readonly modifier