Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nullable attributes leaking as public #94

Merged
merged 1 commit into from
Mar 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading