You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
namespaceSystem{publicpartialclassObsoleteAttribute:Attribute{// Existing://// public ObsoleteAttribute();// public ObsoleteAttribute(string message);// public ObsoleteAttribute(string message, bool error);// public bool IsError { get; }// public string Message { get; }// New:publicstringDiagnosticId{get;set;}publicstringUrlFormat{get;set;}}}
See corresponding Roslyn issue here: dotnet/roslyn#42119
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
Tagging @terrajobst
The text was updated successfully, but these errors were encountered: