-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Annotate Microsoft.AspNetCore.Routing for trimming #40974
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
object values, look what you've done 😢
* Connections.Abstractions * Microsoft.AspNetCore.Http * Microsoft.AspNetCore.Http.Routing
d14426e to
30b889c
Compare
| /// names from <c>RouteOptions</c>. | ||
| /// </param> | ||
| /// <returns>A URI with an absolute path, or <c>null</c>.</returns> | ||
| [SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new overload. How is it "Required to maintain compatibility"❔ Same for a few other new overloads in this class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe that message is used because it needs to be placed on both the old and new methods.
The same message is used when suppressing all warnings of this type - https://github.com/dotnet/aspnetcore/search?p=1&q=RS0026
src/Servers/Connections.Abstractions/src/Microsoft.AspNetCore.Connections.Abstractions.csproj
Show resolved
Hide resolved
Co-authored-by: Doug Bunting <[email protected]>
No description provided.