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

doc: Update property received checking to make use of Discards #651

Merged
merged 2 commits into from
Mar 27, 2021

Conversation

rugk
Copy link
Contributor

@rugk rugk commented Mar 26, 2021

Since C# 7.0 you can use Discards.

https://docs.microsoft.com/en-us/dotnet/csharp/discards

@rugk rugk changed the title Update property received checking to make use of Discards doc: Update property received checking to make use of Discards Mar 26, 2021
@dtchepak dtchepak merged commit 680df07 into nsubstitute:master Mar 27, 2021
@dtchepak
Copy link
Member

Thanks @rugk !

@rugk rugk deleted the patch-1 branch March 27, 2021 13:47
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