dotnet / dotnet/dotnet-api-docs
`Enum.IsDefined<TEnum>(TEnum)`'s documentation still mentions enum value string
Open
area-System.Runtime
Pri3
untriaged
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
`Enum.IsDefined(TEnum)`, while it only accepts an enum value, it still mentions about being able to determine whether an enum value is defined through its string name, which cannot happen in that overload.
The documentation was copied from its original, non-generic counterpart, which does implement it through an object. Well, it just wrongly refers to strings while only dealing with enum values.
# Screenshot

Contributor guide
Assessment
This issue has not been assessed yet.