-
Notifications
You must be signed in to change notification settings - Fork 833
Closed
Labels
Area-Compiler-CheckingType checking, attributes and all aspects of logic checkingType checking, attributes and all aspects of logic checkingFeature Request
Milestone
Description
See corresponding Roslyn issue here: dotnet/roslyn#42119
namespace System
{
public partial class ObsoleteAttribute : Attribute
{
// Existing:
//
// public ObsoleteAttribute();
// public ObsoleteAttribute(string message);
// public ObsoleteAttribute(string message, bool error);
// public bool IsError { get; }
// public string Message { get; }
// New:
public string DiagnosticId { get; set; }
public string UrlFormat { get; set; }
}
}Handling of these properties is covered in the spec here: https://github.com/dotnet/designs/blob/master/accepted/2020/better-obsoletion/better-obsoletion.md#api-changes
The code to update is here:
fsharp/src/fsharp/AttributeChecking.fs
Line 251 in 3cefbba
| let private CheckILAttributes (g: TcGlobals) isByrefLikeTyconRef cattrs m = |
Tagging @terrajobst
terrajobst and avestura
Metadata
Metadata
Assignees
Labels
Area-Compiler-CheckingType checking, attributes and all aspects of logic checkingType checking, attributes and all aspects of logic checkingFeature Request
Type
Projects
Status
Done