From 65c7945543590fad982f1aacfb11cf604eb91d81 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Sj=C3=B6gren?=
<58444816+bjornen77@users.noreply.github.com>
Date: Thu, 29 Jun 2023 16:16:48 +0200
Subject: [PATCH] Improve enum documentation
---
src/libraries/System.Private.CoreLib/src/System/Enum.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libraries/System.Private.CoreLib/src/System/Enum.cs b/src/libraries/System.Private.CoreLib/src/System/Enum.cs
index bb7fbaa73fffa..441ddfd6bd657 100644
--- a/src/libraries/System.Private.CoreLib/src/System/Enum.cs
+++ b/src/libraries/System.Private.CoreLib/src/System/Enum.cs
@@ -465,9 +465,9 @@ public bool HasFlag(Enum flag)
}
}
- /// Returns a telling whether a given integral value, or its name as a string, exists in a specified enumeration.
+ /// Returns a telling whether a given integral value exists in a specified enumeration.
/// The type of the enumeration.
- /// The value or name of a constant in .
+ /// The value in .
/// if a given integral value exists in a specified enumeration; , otherwise.
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static unsafe bool IsDefined(TEnum value) where TEnum : struct, Enum