Make method internal

Signed-off-by: Campbell Harding-Deason <campbell.harding-deason@firstaml.com>
This commit is contained in:
Campbell Harding-Deason 2023-09-01 17:37:09 +12:00
parent 5949d11396
commit 872e67ddf6
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ namespace CloudNative.CloudEvents.Core
/// <param name="condition">The condition to validate; this method will throw an <see cref="ArgumentException"/> if this is false.</param>
/// <param name="paramName">The name of the parameter being validated. May be null.</param>
/// <param name="messageFunc">A func that returns the message to use in the exception, if one is thrown.</param>
public static void CheckArgument([DoesNotReturnIf(false)] bool condition, string paramName, Func<string> messageFunc)
internal static void CheckArgument([DoesNotReturnIf(false)] bool condition, string paramName, Func<string> messageFunc)
{
if (!condition)
{