Skip to content

Commit 8413856

Browse files
authored
remove weird tagging (#4515)
1 parent 82de6c9 commit 8413856

File tree

19 files changed

+21
-50
lines changed

19 files changed

+21
-50
lines changed

xml/Microsoft.VisualBasic/Collection.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -896,8 +896,7 @@ MsgBox(CStr(customers(1)))
896896
<format type="text/markdown"><![CDATA[
897897
898898
## Remarks
899-
[Visual Basic, C#]
900-
899+
901900
The `foreach` statement of the C# language (`for each` in Visual Basic) hides the complexity of the enumerators. Therefore, using `foreach` is recommended, instead of directly manipulating the enumerator.
902901
903902
Enumerators can be used to read the data in the collection, but they cannot be used to modify the underlying collection.

xml/System.Collections.Specialized/IOrderedDictionary.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,7 @@
120120
<format type="text/markdown"><![CDATA[
121121
122122
## Remarks
123-
[Visual Basic, C#]
124-
123+
125124
The `foreach` statement of the C# language (`for each` in Visual Basic) hides the complexity of the enumerators. Therefore, using `foreach` is recommended instead of directly manipulating the enumerator.
126125
127126
Enumerators can be used to read the data in the collection, but they cannot be used to modify the underlying collection.

xml/System.Collections.Specialized/OrderedDictionary.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -749,8 +749,7 @@
749749
<format type="text/markdown"><![CDATA[
750750
751751
## Remarks
752-
[Visual Basic, C#]
753-
752+
754753
The `foreach` statement of the C# language (`for each` in Visual Basic) hides the complexity of the enumerators. Therefore, using `foreach` is recommended instead of directly manipulating the enumerator.
755754
756755
Enumerators can be used to read the data in the collection, but they cannot be used to modify the underlying collection.

xml/System.Collections.Specialized/StringCollection.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -547,8 +547,7 @@
547547
<format type="text/markdown"><![CDATA[
548548
549549
## Remarks
550-
[Visual Basic, C#]
551-
550+
552551
The `foreach` statement of the C# language (`for each` in Visual Basic) hides the complexity of the enumerators. Therefore, using `foreach` is recommended, instead of directly manipulating the enumerator.
553552
554553
Enumerators can be used to read the data in the collection, but they cannot be used to modify the underlying collection.
@@ -1189,8 +1188,7 @@
11891188
<format type="text/markdown"><![CDATA[
11901189
11911190
## Remarks
1192-
[Visual Basic, C#]
1193-
1191+
11941192
The `foreach` statement of the C# language (`for each` in Visual Basic) hides the complexity of the enumerators. Therefore, using `foreach` is recommended, instead of directly manipulating the enumerator.
11951193
11961194
Enumerators can be used to read the data in the collection, but they cannot be used to modify the underlying collection.

xml/System.Collections/CollectionBase.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,8 +404,7 @@ A <xref:System.Collections.CollectionBase> instance is always modifiable. See <x
404404
<format type="text/markdown"><![CDATA[
405405
406406
## Remarks
407-
[Visual Basic, C#]
408-
407+
409408
The `foreach` statement of the C# language (`for each` in Visual Basic) hides the complexity of the enumerators. Therefore, using `foreach` is recommended, instead of directly manipulating the enumerator.
410409
411410
Enumerators can be used to read the data in the collection, but they cannot be used to modify the underlying collection.

xml/System.Collections/Hashtable.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2289,7 +2289,6 @@ Each element is a key/value pair stored in a <xref:System.Collections.Dictionary
22892289
<format type="text/markdown"><![CDATA[
22902290
22912291
## Remarks
2292-
[Visual Basic, C#]
22932292
22942293
The `foreach` statement of the C# language (`for each` in Visual Basic) hides the complexity of the enumerators. Therefore, using `foreach` is recommended, instead of directly manipulating the enumerator.
22952294
@@ -3259,7 +3258,6 @@ Each element is a key/value pair stored in a <xref:System.Collections.Dictionary
32593258
<format type="text/markdown"><![CDATA[
32603259
32613260
## Remarks
3262-
[Visual Basic, C#]
32633261
32643262
The `foreach` statement of the C# language (`for each` in Visual Basic) hides the complexity of the enumerators. Therefore, using `foreach` is recommended, instead of directly manipulating the enumerator.
32653263

xml/System.Collections/IDictionary.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,7 @@
316316
<format type="text/markdown"><![CDATA[
317317
318318
## Remarks
319-
[Visual Basic, C#]
320-
319+
321320
The `foreach` statement of the C# language (`for each` in Visual Basic) hides the complexity of the enumerators. Therefore, using `foreach` is recommended instead of directly manipulating the enumerator.
322321
323322
Enumerators can be used to read the data in the collection, but they cannot be used to modify the underlying collection.

xml/System.Collections/SortedList.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2316,8 +2316,7 @@ A <xref:System.Collections.SortedList> element can be accessed by its key, like
23162316
<format type="text/markdown"><![CDATA[
23172317
23182318
## Remarks
2319-
[Visual Basic, C#]
2320-
2319+
23212320
The `foreach` statement of the C# language (`for each` in Visual Basic) hides the complexity of the enumerators. Therefore, using `foreach` is recommended, instead of directly manipulating the enumerator.
23222321
23232322
Enumerators can be used to read the data in the collection, but they cannot be used to modify the underlying collection.

xml/System.Collections/Stack.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -595,8 +595,7 @@ If <xref:System.Collections.Stack.Count%2A> is less than the capacity of the sta
595595
<format type="text/markdown"><![CDATA[
596596
597597
## Remarks
598-
[Visual Basic, C#]
599-
598+
600599
The `foreach` statement of the C# language (`for each` in Visual Basic) hides the complexity of the enumerators. Therefore, using `foreach` is recommended, instead of directly manipulating the enumerator.
601600
602601
Enumerators can be used to read the data in the collection, but they cannot be used to modify the underlying collection.

xml/System.DirectoryServices/PropertyCollection.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,7 @@
300300
301301
Enumerating through a collection is intrinsically not a thread safe procedure. Even when a collection is synchronized, other threads can still modify the collection, which causes the enumerator to throw an exception. To guarantee thread safety during enumeration, you can either lock the collection during the entire enumeration or catch the exceptions that result from changes made by other threads.
302302
303-
[Visual Basic, C#]
304-
303+
305304
The following example shows how to lock the collection using the <xref:System.Collections.ICollection.SyncRoot%2A> during the entire enumeration:
306305
307306
```csharp
@@ -377,8 +376,7 @@ Dim myCollection as New ICollection()
377376
378377
Enumerating through a collection is intrinsically not a thread safe procedure. Even when a collection is synchronized, other threads can still modify the collection, which causes the enumerator to throw an exception. To guarantee thread safety during enumeration, you can either lock the collection during the entire enumeration or catch the exceptions resulting from changes made by other threads.
379378
380-
[Visual Basic, C#]
381-
379+
382380
The following code example shows how to lock the collection using the <xref:System.Collections.ICollection.SyncRoot%2A> during the entire enumeration:
383381
384382
```csharp
@@ -810,8 +808,7 @@ Dim myCollection As New ICollection()
810808
<format type="text/markdown"><![CDATA[
811809
812810
## Remarks
813-
[Visual Basic, C#]
814-
811+
815812
The `foreach` statement of the C# language (`for each` in Visual Basic) hides the complexity of the enumerators. Therefore, using `foreach` is recommended instead of directly manipulating the enumerator.
816813
817814
Enumerators can be used to read the data in the collection, but they cannot be used to modify the underlying collection.

0 commit comments

Comments
 (0)