From 50cb63d204d5f944c5816197b1386f4015093f27 Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Thu, 8 Oct 2026 11:47:31 +1100 Subject: [PATCH] Squash 2.0.0, and Guard into the EmptyFiles namespace EmptyFiles uses none of the settings Squash 2.0.0 renames, and has no friend assemblies, so the trimmed assembly is unchanged. Guard was the one internal type declared outside a namespace. --- src/Directory.Packages.props | 2 +- src/EmptyFiles/Guard.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index 354c243..dbc6529 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -6,7 +6,7 @@ - + diff --git a/src/EmptyFiles/Guard.cs b/src/EmptyFiles/Guard.cs index 1386dba..4bf306b 100644 --- a/src/EmptyFiles/Guard.cs +++ b/src/EmptyFiles/Guard.cs @@ -1,3 +1,5 @@ +namespace EmptyFiles; + static class Guard { public static void FileExists(string path, [CallerArgumentExpression("path")] string argumentName = "")