From b88b9dd515ac4fe43fb936a1b6f25399f56154b0 Mon Sep 17 00:00:00 2001 From: Davyd McColl Date: Wed, 17 Apr 2024 08:15:32 +0200 Subject: [PATCH] :recycle: more internalising --- .../PeanutButter.RandomGenerators/RequireNonZero.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/TestUtils/PeanutButter.RandomGenerators/RequireNonZero.cs b/source/TestUtils/PeanutButter.RandomGenerators/RequireNonZero.cs index 1c41aec022..d3f30ba01f 100644 --- a/source/TestUtils/PeanutButter.RandomGenerators/RequireNonZero.cs +++ b/source/TestUtils/PeanutButter.RandomGenerators/RequireNonZero.cs @@ -11,7 +11,12 @@ namespace PeanutButter.RandomGenerators; /// /// Requires that the named property is randomized to a non-zero value /// -public class RequireNonZero : RandomizerAttribute +#if BUILD_PEANUTBUTTER_INTERNAL +internal +#else +public +#endif + class RequireNonZero : RandomizerAttribute { /// public RequireNonZero(string propertyName, params string[] moreProps)