Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review for Type.xml
  • Loading branch information
dakersnar committed Sep 20, 2022
commit fc1ca153fbf8750fbfd9cc825c58cbac1de399d1
10 changes: 5 additions & 5 deletions xml/System/Type.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3156,13 +3156,13 @@ If the current <xref:System.Type> represents a generic type parameter, the <xref
</ReturnValue>
<Parameters />
<Docs>
<summary>Retrieves an array of the values of the underlying type constants in a specified enumeration type.</summary>
<returns>An array that contains the values of the underlying type constants in enumType.</returns>
<summary>Retrieves an array of the values of the underlying type constants of this enumeration type.</summary>
<returns>An array that contains the values of the underlying type constants in this enumeration type.</returns>
<remarks>
This method can be used to get enumeration values when creating an array of the enumeration type is challenging.
For example, <see cref="T:System.Reflection.MetadataLoadContext" /> or on a platform where runtime codegen is not available.
You can use this method to get enumeration values when it's hard to create an array of the enumeration type.
For example, you might use this method for the <see cref="T:System.Reflection.MetadataLoadContext" /> enumeration or on a platform where run-time code generation is not available.
</remarks>
<exception cref="ArgumentException">Thrown when the type is not an enumeration type.</exception>
<exception cref="T:System.ArgumentException">This type is not an enumeration type.</exception>
</Docs>
</Member>
<MemberGroup MemberName="GetEvent">
Expand Down