<PackageReference Include="NUnit" Version="4.4.0-beta.1" />

CallerArgumentExpressionAttribute

Indicates that a parameter captures the expression passed for another parameter as a string.
namespace System.Runtime.CompilerServices { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] [AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)] internal sealed class CallerArgumentExpressionAttribute : Attribute { public string ParameterName { get; } public CallerArgumentExpressionAttribute(string parameterName) { ParameterName = parameterName; } } }