Skip to content

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 !

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