Skip to content

Commit 206ec09

Browse files
DhineshinDthangavel
andauthored
Changed 'OrderedItems' to 'DinnerItems' as given in example (#5156)
Co-authored-by: Dthangavel <dthangavel@medline.com>
1 parent 4fcd9ae commit 206ec09

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

xml/System/Enum.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,7 +1119,8 @@
11191119
<returns>
11201120
<see langword="true" /> if the bit field or bit fields that are set in <paramref name="flag" /> are also set in the current instance; otherwise, <see langword="false" />.</returns>
11211121
<remarks>
1122-
<format type="text/markdown"><![CDATA[
1122+
<format type="text/markdown">
1123+
<![CDATA[
11231124
11241125
## Remarks
11251126
The <xref:System.Enum.HasFlag%2A> method returns the result of the following Boolean expression.
@@ -1138,7 +1139,7 @@ thisInstance And flag = flag
11381139
11391140
11401141
## Examples
1141-
The following example defines an `ItemsOrdered` enumeration that reflects categories of items that a customer can order in a restaurant. The example tests whether the customer has ordered both an entrée and a beverage.
1142+
The following example defines an `DinnerItems` enumeration that reflects categories of items that a customer can order in a restaurant. The example tests whether the customer has ordered both an entrée and a beverage.
11421143
11431144
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.enum.hasflag/cs/hasflag1.cs" interactive="try-dotnet" id="Snippet2":::
11441145
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.hasflag/vb/hasflag1.vb" id="Snippet2":::

0 commit comments

Comments
 (0)