-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
Area-CompilersConcept-Diagnostic ClarityThe issues deals with the ease of understanding of errors and warnings.The issues deals with the ease of understanding of errors and warnings.Feature Requesthelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on itThe issue is "up for grabs" - add a comment if you are interested in working on it
Milestone
Description
The upgrade from beta1 to rc1 NuGet packages introduced a number of Obsolete members. The messages though are not very helpful:
[Obsolete("This member is obsolete.", true)]
public ClassStatementSyntax Begin { get; }
This just tells the user the member is obsolete but gives them no direction on how to fix the problem. Intellisense is also not helpful here because Begin has no matches. I'm forced to go to the metadata view of the file and search for the new member.
A much better message would be:
[Obsolete("This member is obsolete, use ClassStatement instead", true)]
public ClassStatementSyntax Begin { get; }
Copilot
Metadata
Metadata
Assignees
Labels
Area-CompilersConcept-Diagnostic ClarityThe issues deals with the ease of understanding of errors and warnings.The issues deals with the ease of understanding of errors and warnings.Feature Requesthelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on itThe issue is "up for grabs" - add a comment if you are interested in working on it