From f70627da188007c1ca4cfd01a065284afbe85873 Mon Sep 17 00:00:00 2001 From: Brant Burnett Date: Tue, 5 Mar 2024 18:24:06 -0500 Subject: [PATCH] Fix nullable attributes leaking as public (#94) --- Snappier/Internal/NullableAttributes.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Snappier/Internal/NullableAttributes.cs b/Snappier/Internal/NullableAttributes.cs index 829abf1..e8189fe 100644 --- a/Snappier/Internal/NullableAttributes.cs +++ b/Snappier/Internal/NullableAttributes.cs @@ -141,9 +141,9 @@ sealed class DoesNotReturnIfAttribute : Attribute /// Specifies that the method or property will ensure that the listed field and property members have not-null values. [AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] #if INTERNAL_NULLABLE_ATTRIBUTES - public -#else internal +#else + public #endif sealed class MemberNotNullAttribute : Attribute { @@ -166,9 +166,9 @@ sealed class MemberNotNullAttribute : Attribute /// Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition. [AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)] #if INTERNAL_NULLABLE_ATTRIBUTES - public -#else internal +#else + public #endif sealed class MemberNotNullWhenAttribute : Attribute {