System.Runtime.CompilerServices.CallerArgumentExpressionAttribute sealed class CallerArgumentExpressionAttribute : Attribute Allows capturing of the expressions passed to a method. Documentation Code public string ParameterName { get; } public CallerArgumentExpressionAttribute(string parameterName)