Skip to content

update ArgumentNullException.ThrowIfNull usage#2563

Merged
JamesNK merged 1 commit intogrpc:masterfrom
WeihanLi:patch-3
Dec 9, 2024
Merged

update ArgumentNullException.ThrowIfNull usage#2563
JamesNK merged 1 commit intogrpc:masterfrom
WeihanLi:patch-3

Conversation

@WeihanLi
Copy link
Copy Markdown
Contributor

The ArgumentNullException.ThrowIfNull is introduced since .NET 6, maybe we could use if for NET6_0_OR_GREATER

https://learn.microsoft.com/en-us/dotnet/api/system.argumentnullexception.throwifnull?view=net-6.0

@WeihanLi WeihanLi marked this pull request as ready for review October 24, 2024 00:28
@JamesNK
Copy link
Copy Markdown
Member

JamesNK commented Dec 9, 2024

Thanks

@JamesNK JamesNK merged commit b6cfbd0 into grpc:master Dec 9, 2024
@WeihanLi WeihanLi deleted the patch-3 branch December 9, 2024 00:44
This was referenced Apr 15, 2026
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