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