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

Remove attributes that aren't yet available in C# 8 #1218

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

BillWagner
Copy link
Member

The MemberNotNull and MemberNotNullWhen attributes weren't available in C# 8. They were added in C# 9.

The `MemberNotNull` and `MemberNotNullWhen` attributes weren't available in C# 8. They were added in C# 9.
@BillWagner BillWagner requested a review from jskeet November 21, 2024 17:47
Missed two notes on these attributes
@BillWagner
Copy link
Member Author

I'll open the PR to revert this once it's squashed and merged

@BillWagner BillWagner merged commit 7a021a9 into dotnet:draft-v8 Nov 21, 2024
6 checks passed
@BillWagner BillWagner deleted the remove-csharp9-attributes branch November 21, 2024 17:57
BillWagner added a commit that referenced this pull request Nov 22, 2024
These two attributes were mistakenly added in #1191.  They were removed in #1218

This PR adds them back into the `draft-v9` branch, where they are valid.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants