Skip to content

Commit

Permalink
Fix nullable attributes leaking as public
Browse files Browse the repository at this point in the history
  • Loading branch information
brantburnett committed Mar 5, 2024
1 parent adcc68b commit b612efa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Snappier/Internal/NullableAttributes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ sealed class DoesNotReturnIfAttribute : Attribute
/// <summary>Specifies that the method or property will ensure that the listed field and property members have not-null values.</summary>
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
#if INTERNAL_NULLABLE_ATTRIBUTES
public
#else
internal
#else
public
#endif
sealed class MemberNotNullAttribute : Attribute
{
Expand All @@ -166,9 +166,9 @@ sealed class MemberNotNullAttribute : Attribute
/// <summary>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.</summary>
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
#if INTERNAL_NULLABLE_ATTRIBUTES
public
#else
internal
#else
public
#endif
sealed class MemberNotNullWhenAttribute : Attribute
{
Expand Down

0 comments on commit b612efa

Please sign in to comment.