-
Notifications
You must be signed in to change notification settings - Fork 849
Inventory MEAI001 experimental APIs into feature-specific diagnostic IDs (MEAI0001-MEAI0008) #7116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 9 commits
9b922fb
e0138fc
52d92a2
8c652dd
8dfcae2
6d87e94
7be2da7
51fe0dc
a5c2780
30a7d72
6f6a6b8
83c2927
fe76059
cfb2285
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,9 @@ | ||
| // Licensed to the .NET Foundation under one or more agreements. | ||
| // The .NET Foundation licenses this file to you under the MIT license. | ||
|
|
||
| #if !NET8_0_OR_GREATER | ||
| #if !NET10_0_OR_GREATER | ||
|
|
||
| #pragma warning disable CS0436 // Type conflicts with imported type | ||
|
||
|
|
||
| namespace System.Diagnostics.CodeAnalysis; | ||
|
|
||
|
|
@@ -42,6 +44,11 @@ public ExperimentalAttribute(string diagnosticId) | |
| /// </remarks> | ||
| public string DiagnosticId { get; } | ||
|
|
||
| /// <summary> | ||
| /// Gets or sets an optional message associated with the experimental attribute. | ||
| /// </summary> | ||
| public string? Message { get; set; } | ||
|
|
||
| /// <summary> | ||
| /// Gets or sets the URL for corresponding documentation. | ||
| /// The API accepts a format string instead of an actual URL, creating a generic URL that includes the diagnostic ID. | ||
|
|
@@ -53,4 +60,6 @@ public ExperimentalAttribute(string diagnosticId) | |
| #pragma warning restore S3996 // URI properties should not be strings | ||
| } | ||
|
|
||
| #pragma warning restore CS0436 | ||
|
|
||
| #endif | ||
Uh oh!
There was an error while loading. Please reload this page.