//
#pragma warning disable
#nullable enable annotations
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Runtime.CompilerServices
{
///
/// An attribute that allows parameters to receive the expression of other parameters.
///
[global::System.AttributeUsage(global::System.AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
public sealed class CallerArgumentExpressionAttribute : global::System.Attribute
{
///
/// Initializes a new instance of the class.
///
/// The condition parameter value.
public CallerArgumentExpressionAttribute(string parameterName)
{
ParameterName = parameterName;
}
///
/// Gets the parameter name the expression is retrieved from.
///
public string ParameterName { get; }
}
}