Skip to content

Commit d49b1c2

Browse files
author
Prashanth Govindarajan
committed
More remarks
1 parent 1477626 commit d49b1c2

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

xml/System.Text.RegularExpressions/CaptureCollection.xml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ A collection that is read-only does not allow the addition or removal of element
661661
662662
## Remarks
663663
664-
In collections of contiguous elements, such as lists, the elements that follow the removed element move up to occupy the vacated spot. If the collection is indexed, the indexes of the elements that are moved are also updated. This behavior does not apply to collections where elements are conceptually grouped into buckets, such as a hash table.
664+
This method is not supported. This is a read-only collection.
665665
666666
]]></format>
667667
</remarks>
@@ -896,7 +896,7 @@ This property provides the ability to access a specific element in the collectio
896896
897897
## Remarks
898898
899-
In collections of contiguous elements, such as lists, the elements that follow the removed element move up to occupy the vacated spot. If the collection is indexed, the indexes of the elements that are moved are also updated. This behavior does not apply to collections where elements are conceptually grouped into buckets, such as a hash table.
899+
This method is not supported. This is a read-only collection.
900900
901901
]]></format>
902902
</remarks>
@@ -1114,11 +1114,7 @@ This member is an explicit interface member implementation. It can be used only
11141114
11151115
## Remarks
11161116
1117-
This member is an explicit interface member implementation. It can be used only when the <xref:System.Text.RegularExpressions.CaptureCollection> instance is cast to an <xref:System.Collections.IList> interface.
1118-
1119-
1120-
1121-
Implementations of this method can vary in how they handle the <xref:System.Collections.ICollection.Count%2A?displayProperty=nameWithType> and the capacity of a collection. Typically, the count is set to zero, and references to other objects from elements of the collection are also released. The capacity can be set to zero or a default value, or it can remain unchanged.
1117+
This method is not supported. This is a read-only collection.
11221118
11231119
]]></format>
11241120
</remarks>
@@ -1398,7 +1394,7 @@ This property provides the ability to access a specific element in the collectio
13981394
13991395
## Remarks
14001396
1401-
In collections of contiguous elements, such as lists, the elements that follow the removed element move up to occupy the vacated spot. If the collection is indexed, the indexes of the elements that are moved are also updated. This behavior does not apply to collections where elements are conceptually grouped into buckets, such as a hash table. If `value` is not found in the <xref:System.Collections.IList>, the <xref:System.Collections.IList> remains unchanged and no exception is thrown.
1397+
This method is not supported. This is a read-only collection.
14021398
14031399
]]></format>
14041400
</remarks>
@@ -1445,8 +1441,8 @@ In collections of contiguous elements, such as lists, the elements that follow t
14451441
14461442
## Remarks
14471443
1448-
In collections of contiguous elements, such as lists, the elements that follow the removed element move up to occupy the vacated spot. If the collection is indexed, the indexes of the elements that are moved are also updated. This behavior does not apply to collections where elements are conceptually grouped into buckets, such as a hash table.
1449-
1444+
This method is not supported. This is a read-only collection.
1445+
14501446
]]></format>
14511447
</remarks>
14521448
</Docs>

xml/System.Text.RegularExpressions/MatchCollection.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ This property provides the ability to access a specific element in the collectio
928928
929929
## Remarks
930930
931-
In collections of contiguous elements, such as lists, the elements that follow the removed element move up to occupy the vacated spot. If the collection is indexed, the indexes of the elements that are moved are also updated. This behavior does not apply to collections where elements are conceptually grouped into buckets, such as a hash table.
931+
This method is not supported. This is a read-only collection.
932932
933933
]]></format>
934934
</remarks>
@@ -1477,8 +1477,8 @@ In collections of contiguous elements, such as lists, the elements that follow t
14771477
14781478
## Remarks
14791479
1480-
In collections of contiguous elements, such as lists, the elements that follow the removed element move up to occupy the vacated spot. If the collection is indexed, the indexes of the elements that are moved are also updated. This behavior does not apply to collections where elements are conceptually grouped into buckets, such as a hash table.
1481-
1480+
This method is not supported. This is a read-only collection.
1481+
14821482
]]></format>
14831483
</remarks>
14841484
<exception cref="T:System.NotSupportedException">The collection is read-only.</exception>

0 commit comments

Comments
 (0)