关于[[CallerArgumentExpression] and throw helpers: Exploring .NET Core 6 - Part 11]的摘要:
In this post I describe a new feature in C# 10, the [CallerArgumentExpression] attribute, how it can be used to create "throw helpers", and the addition of a throw helper to ArgumentNullException.
原文地址: https://andrewlock.net/exploring-dotnet-6-part-11-callerargumentexpression-and-throw-helpers/