File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed
src/AppCoreNet.Attributes.Sources Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ // <auto-generated />
2+
3+ #if ! NET6_0_OR_GREATER && APPCORENET_ATTRIBUTES_ENABLED && APPCORENET_TRIMMING_ATTRIBUTES_ENABLED
4+
5+ #nullable enable
6+
7+ // Licensed to the .NET Foundation under one or more agreements.
8+ // The .NET Foundation licenses this file to you under the MIT license.
9+
10+ namespace System . Diagnostics . CodeAnalysis ;
11+
12+ /// <summary>
13+ /// Indicates that the specified member requires assembly files to be on disk.
14+ /// </summary>
15+ [ AttributeUsage (
16+ AttributeTargets . Constructor |
17+ AttributeTargets . Event |
18+ AttributeTargets . Method |
19+ AttributeTargets . Property ,
20+ Inherited = false ) ]
21+ internal sealed class RequiresAssemblyFilesAttribute : Attribute
22+ {
23+ /// <summary>
24+ /// Initializes a new instance of the <see cref="RequiresAssemblyFilesAttribute"/> class.
25+ /// </summary>
26+ public RequiresAssemblyFilesAttribute ( )
27+ {
28+ }
29+
30+ /// <summary>
31+ /// Initializes a new instance of the <see cref="RequiresAssemblyFilesAttribute"/> class.
32+ /// </summary>
33+ /// <param name="message">
34+ /// A message that contains information about the need for assembly files to be on disk.
35+ /// </param>
36+ public RequiresAssemblyFilesAttribute ( string message )
37+ {
38+ Message = message ;
39+ }
40+
41+ /// <summary>
42+ /// Gets an optional message that contains information about the need for
43+ /// assembly files to be on disk.
44+ /// </summary>
45+ public string ? Message { get ; }
46+
47+ /// <summary>
48+ /// Gets or sets an optional URL that contains more information about the member,
49+ /// why it requires assembly files to be on disk, and what options a consumer has
50+ /// to deal with it.
51+ /// </summary>
52+ public string ? Url { get ; set ; }
53+ }
54+
55+ #endif
You can’t perform that action at this time.
0 commit comments