Repository navigation
Update RequiresPreviewFeatures attribute - #56938
Conversation
|
Note regarding the This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change. |
|
Tagging subscribers to this area: @dotnet/area-system-runtime Issue DetailsUpdates RequiresPreviewFeatures attribute with an optional string message and URL Fixes #56498
|
| [Theory] | ||
| [InlineData(null, "")] | ||
| [InlineData("", null)] | ||
| [InlineData("message", "https://aka.ms/obsolete/{0}")] |
| [InlineData("message")] | ||
| public void Ctor_String_Message(string message) | ||
| { | ||
| var attribute = new RequiresPreviewFeaturesAttribute(message) {}; |
There was a problem hiding this comment.
| var attribute = new RequiresPreviewFeaturesAttribute(message) {}; | |
| var attribute = new RequiresPreviewFeaturesAttribute(message); |
|
Unrelated build failures. Merging. Thanks for the reviews!! |
|
Hi, can the ASP.NET Core repo be updated to use the message immediately? Will it just work once the runtime changes flow into aspnetcore and aspnetcore includes a message, or does it also require other changes in VS or the compiler for the message to show up when building? |
Updates RequiresPreviewFeatures attribute with an optional string message and URL
Fixes #56498
cc @jeffhandley @terrajobst