From cdfb03cf93cdf79559476ac7db0a8c75be8f04f6 Mon Sep 17 00:00:00 2001 From: sveinungf Date: Fri, 27 Oct 2023 20:32:53 +0200 Subject: [PATCH] Ban ZipArchive.CreateEntry(string) --- BannedSymbols.txt | 1 + Directory.Build.props | 4 ++++ Directory.Packages.props | 1 + SpreadCheetah.sln | 1 + 4 files changed, 7 insertions(+) create mode 100644 BannedSymbols.txt diff --git a/BannedSymbols.txt b/BannedSymbols.txt new file mode 100644 index 00000000..9b6e71c8 --- /dev/null +++ b/BannedSymbols.txt @@ -0,0 +1 @@ +M:System.IO.Compression.ZipArchive.CreateEntry(System.String);Pass CompressionLevel parameter \ No newline at end of file diff --git a/Directory.Build.props b/Directory.Build.props index 0c47a828..8ca0b0a0 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -15,4 +15,8 @@ MA0048 + + + + diff --git a/Directory.Packages.props b/Directory.Packages.props index 37b971c9..04f254a0 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -6,6 +6,7 @@ + diff --git a/SpreadCheetah.sln b/SpreadCheetah.sln index 136f8ee8..e0b37699 100644 --- a/SpreadCheetah.sln +++ b/SpreadCheetah.sln @@ -11,6 +11,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution items", "Solution ProjectSection(SolutionItems) = preProject .editorconfig = .editorconfig .globalconfig = .globalconfig + BannedSymbols.txt = BannedSymbols.txt Directory.Build.props = Directory.Build.props Directory.Packages.props = Directory.Packages.props README.md = README.md