dotnet / dotnet/aspnetcore

Leverage `EditorBrowsable` attribute to hide unnecessary methods

Open
#35,906 1 comment 0 reactions 0 assignees View on GitHub
area-minimal enhancement feature-minimal-actions
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

In RC1, we added the new `IResultsExtensions` type to support developers extending the `Results` static with custom Result types.

With the current implementation, abstract methods on the object like `ToString` and `Equals` will show up in Intellisense. We can use the `EditorBrowsable` attribute to hide these in the editor and avoid distractions.

`polish`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.