Skip to content

Commit 46cdcbb

Browse files
carlossanlopgewarren
authored andcommitted
Document System.Enum (dotnet#4894)
Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
1 parent d132c2d commit 46cdcbb

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

xml/System/Enum.xml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -701,10 +701,10 @@
701701
<Parameter Name="value" Type="TEnum" Index="0" FrameworkAlternate="net-5.0" />
702702
</Parameters>
703703
<Docs>
704-
<typeparam name="TEnum">To be added.</typeparam>
705-
<param name="value">To be added.</param>
706-
<summary>To be added.</summary>
707-
<returns>To be added.</returns>
704+
<typeparam name="TEnum">The type of the enumeration.</typeparam>
705+
<param name="value">The value of a particular enumerated constant in terms of its underlying type.</param>
706+
<summary>Retrieves the name of the constant in the specified enumeration type that has the specified value.</summary>
707+
<returns>A string containing the name of the enumerated constant in <paramref name="enumType" /> whose value is <paramref name="value" />; or <see langword="null" /> if no such constant is found.</returns>
708708
<remarks>To be added.</remarks>
709709
</Docs>
710710
</Member>
@@ -816,9 +816,9 @@
816816
</TypeParameters>
817817
<Parameters />
818818
<Docs>
819-
<typeparam name="TEnum">To be added.</typeparam>
820-
<summary>To be added.</summary>
821-
<returns>To be added.</returns>
819+
<typeparam name="TEnum">The type of the enumeration.</typeparam>
820+
<summary>Retrieves an array of the names of the constants in a specified enumeration type.</summary>
821+
<returns>A string array of the names of the constants in <typeparamref name="TEnum" />.</returns>
822822
<remarks>To be added.</remarks>
823823
</Docs>
824824
</Member>
@@ -1064,9 +1064,9 @@
10641064
</TypeParameters>
10651065
<Parameters />
10661066
<Docs>
1067-
<typeparam name="TEnum">To be added.</typeparam>
1068-
<summary>To be added.</summary>
1069-
<returns>To be added.</returns>
1067+
<typeparam name="TEnum">The type of the enumeration.</typeparam>
1068+
<summary>Retrieves an array of the values of the constants in a specified enumeration type.</summary>
1069+
<returns>An array that contains the values of the constants in <typeparamref name="TEnum" />.</returns>
10701070
<remarks>To be added.</remarks>
10711071
</Docs>
10721072
</Member>
@@ -1288,10 +1288,11 @@ thisInstance And flag = flag
12881288
<Parameter Name="value" Type="TEnum" Index="0" FrameworkAlternate="net-5.0" />
12891289
</Parameters>
12901290
<Docs>
1291-
<typeparam name="TEnum">To be added.</typeparam>
1292-
<param name="value">To be added.</param>
1293-
<summary>To be added.</summary>
1294-
<returns>To be added.</returns>
1291+
<typeparam name="TEnum">The type of the enumeration.</typeparam>
1292+
<param name="value">The value or name of a constant in <typeparamref name="TEnum" />.</param>
1293+
<summary>Returns a boolean telling whether a given integral value, or its name as a string, exists in a specified enumeration.</summary>
1294+
<returns>
1295+
<see langword="true" /> if a given integral value, or its name as a string, exists in a specified enumeration; <see langword="false" /> otherwise.</returns>
12951296
<remarks>To be added.</remarks>
12961297
</Docs>
12971298
</Member>

0 commit comments

Comments
 (0)