mirror of
https://github.com/aphrody-labs/NuGet.Client.git
synced 2026-10-14 05:19:04 +00:00
15 lines
531 B
C#
15 lines
531 B
C#
// Copyright (c) .NET Foundation. All rights reserved.
|
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
|
|
|
#if !NET9_0_OR_GREATER
|
|
namespace System.Diagnostics.CodeAnalysis
|
|
{
|
|
[AttributeUsage(AttributeTargets.Property, Inherited = false)]
|
|
internal sealed class FeatureSwitchDefinitionAttribute : Attribute
|
|
{
|
|
public FeatureSwitchDefinitionAttribute(string switchName) => SwitchName = switchName;
|
|
public string SwitchName { get; }
|
|
}
|
|
}
|
|
#endif
|