//
#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.Versioning
{
[global::System.AttributeUsage(
global::System.AttributeTargets.Assembly |
global::System.AttributeTargets.Module |
global::System.AttributeTargets.Class |
global::System.AttributeTargets.Interface |
global::System.AttributeTargets.Delegate |
global::System.AttributeTargets.Struct |
global::System.AttributeTargets.Enum |
global::System.AttributeTargets.Constructor |
global::System.AttributeTargets.Method |
global::System.AttributeTargets.Property |
global::System.AttributeTargets.Field |
AttributeTargets.Event, Inherited = false)]
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
public sealed class RequiresPreviewFeaturesAttribute : global::System.Attribute
{
///
/// Initializes a new instance of the class.
///
public RequiresPreviewFeaturesAttribute() { }
///
/// Initializes a new instance of the class with the specified message.
///
/// An optional message associated with this attribute instance.
public RequiresPreviewFeaturesAttribute(string? message)
{
Message = message;
}
///
/// Returns the optional message associated with this attribute instance.
///
public string? Message { get; }
///
/// Returns the optional URL associated with this attribute instance.
///
public string? Url { get; set; }
}
}