1+ // <auto-generated/>
2+ #pragma warning disable
3+ #nullable enable annotations
4+
5+ // Licensed to the .NET Foundation under one or more agreements.
6+ // The .NET Foundation licenses this file to you under the MIT license.
7+
8+ namespace System . Runtime . Versioning
9+ {
10+ [ AttributeUsage ( AttributeTargets . Assembly |
11+ AttributeTargets . Module |
12+ AttributeTargets . Class |
13+ AttributeTargets . Interface |
14+ AttributeTargets . Delegate |
15+ AttributeTargets . Struct |
16+ AttributeTargets . Enum |
17+ AttributeTargets . Constructor |
18+ AttributeTargets . Method |
19+ AttributeTargets . Property |
20+ AttributeTargets . Field |
21+ AttributeTargets . Event , Inherited = false ) ]
22+ internal sealed class RequiresPreviewFeaturesAttribute : Attribute
23+ {
24+ /// <summary>
25+ /// Initializes a new instance of the <see cref="RequiresPreviewFeaturesAttribute"/> class.
26+ /// </summary>
27+ public RequiresPreviewFeaturesAttribute ( ) { }
28+
29+ /// <summary>
30+ /// Initializes a new instance of the <see cref="RequiresPreviewFeaturesAttribute"/> class with the specified message.
31+ /// </summary>
32+ /// <param name="message">An optional message associated with this attribute instance.</param>
33+ public RequiresPreviewFeaturesAttribute ( string ? message )
34+ {
35+ Message = message ;
36+ }
37+
38+ /// <summary>
39+ /// Returns the optional message associated with this attribute instance.
40+ /// </summary>
41+ public string ? Message { get ; }
42+
43+ /// <summary>
44+ /// Returns the optional URL associated with this attribute instance.
45+ /// </summary>
46+ public string ? Url { get ; set ; }
47+ }
48+ }
0 commit comments