From 872e67ddf61c4d114a0f415dbf36b34945ca4921 Mon Sep 17 00:00:00 2001 From: Campbell Harding-Deason Date: Fri, 1 Sep 2023 17:37:09 +1200 Subject: [PATCH] Make method internal Signed-off-by: Campbell Harding-Deason --- src/CloudNative.CloudEvents/Core/Validation.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CloudNative.CloudEvents/Core/Validation.cs b/src/CloudNative.CloudEvents/Core/Validation.cs index 9176ce0..cdd3e5c 100644 --- a/src/CloudNative.CloudEvents/Core/Validation.cs +++ b/src/CloudNative.CloudEvents/Core/Validation.cs @@ -46,7 +46,7 @@ namespace CloudNative.CloudEvents.Core /// The condition to validate; this method will throw an if this is false. /// The name of the parameter being validated. May be null. /// A func that returns the message to use in the exception, if one is thrown. - public static void CheckArgument([DoesNotReturnIf(false)] bool condition, string paramName, Func messageFunc) + internal static void CheckArgument([DoesNotReturnIf(false)] bool condition, string paramName, Func messageFunc) { if (!condition) {