You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.Buffers/SequenceReader`1.xml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -549,7 +549,7 @@
549
549
</Parameters>
550
550
<Docs>
551
551
<paramname="delimiters">The delimiters to search for.</param>
552
-
<paramname="advancePastDelimiter">>see langword="true" /> to move past the first instance of any of the given <paramrefname="delimiters" />; <seelanword="false" /> to not move past the delimiter.</param>
552
+
<paramname="advancePastDelimiter"><seelangword="true" /> to move past the first instance of any of the given <paramrefname="delimiters" />; <seelanword="false" /> to not move past the delimiter.</param>
553
553
<summary>Searches for any of a number of specified delimiters and optionally advances past the first one to be found.</summary>
554
554
<returns><seelangword="true" /> if any of the given <paramrefname="delimiters" /> was found.</returns>
555
555
<remarks>To be added.</remarks>
@@ -782,7 +782,7 @@ This method copies a fixed amount of data out of the sequence if possible. It do
782
782
<Docs>
783
783
<paramname="span">When the method returns, contains the data read, if any.</param>
784
784
<paramname="delimiter">The delimiter to look for.</param>
785
-
<paramname="delimiterEscape">>A value that indicates that an immediately following <paramrefname="delimiter" /> is to be skipped.</param>
785
+
<paramname="delimiterEscape">A value that indicates that an immediately following <paramrefname="delimiter" /> is to be skipped.</param>
786
786
<paramname="advancePastDelimiter"><seelangword="true" /> to move past the <paramrefname="delimiter" /> if found.</param>
787
787
<summary>Tries to read everything up to the given <paramrefname="delimiter" />, ignoring delimiters that are preceded by <paramrefname="delimiterEscape" />.</summary>
788
788
<returns><seelangword="true" /> if the <paramrefname="delimiter" /> was found; otherwise, <seelangword="false" />.</returns>
Copy file name to clipboardExpand all lines: xml/System.Globalization/ISOWeek.xml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@
18
18
</Base>
19
19
<Interfaces />
20
20
<Docs>
21
-
<summary>>Provides static members to support the ISO week date that is part of the ISO 8601 date and time standard issued by the International Organization for Standardization (ISO).</summary>
21
+
<summary>Provides static members to support the ISO week date that is part of the ISO 8601 date and time standard issued by the International Organization for Standardization (ISO).</summary>
Copy file name to clipboardExpand all lines: xml/System/ReadOnlySpan`1+Enumerator.xml
+26-8Lines changed: 26 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,11 @@
28
28
<Docs>
29
29
<summary>Provides an enumerator for the elements of a <seecref="T:System.ReadOnlySpan`1" />.</summary>
30
30
<remarks>
31
-
<formattype="text/markdown">< of the C# language and the [For Each...Next](~/docs/visual-basic/language-reference/statements/for-each-next-statement.md) construct in Visual Basic hides the complexity of enumerators. Instead of directly manipulating the enumerator, using `foreach` or `For Each...Next` is recommended.
31
+
<formattype="text/markdown">< of the C# language and the [For Each...Next](~/docs/visual-basic/language-reference/statements/for-each-next-statement.md) construct in Visual Basic hides the complexity of enumerators. Instead of directly manipulating the enumerator, using `foreach` or `For Each...Next` is recommended.
32
36
33
37
Initially, the enumerator is positioned before the first element in the <xref:System.ReadOnlySpan`1>. At this position, <xref:System.ReadOnlySpan`1.Enumerator.Current> is undefined. You must call <xref:System.ReadOnlySpan`1.Enumerator.MoveNext%2A> to advance the enumerator to the first item in the <xref:System.ReadOnlySpan`1> before reading the value of <xref:System.ReadOnlySpan`1.Enumerator.Current>.
34
38
@@ -42,7 +46,9 @@ Unlike some other enumerator structures in .NET, the <xref:System.ReadOnlySpan`1
42
46
43
47
- Does not implement the <xref:System.Collections.IEnumerator> or <xref:System.Collections.Generic.IEnumerator`1> interface. This is because <xref:System.ReadOnlySpan`1.Enumerator> is a [ref struct](~/docs/csharp/language-reference/keywords/ref.md#ref-struct-types) and cannot be boxed.
44
48
45
-
- Does not include a `Reset` method, which can set the enumerator to its initial position before the first element in the span. (The <xref:System.Collections.IEnumerator.Reset?displayProperty=nameWithType> method must be implemented as part of the interface, but most implementors either throw an exception or provide no implementation.)]]></format>
49
+
- Does not include a `Reset` method, which can set the enumerator to its initial position before the first element in the span. (The <xref:System.Collections.IEnumerator.Reset?displayProperty=nameWithType> method must be implemented as part of the interface, but most implementors either throw an exception or provide no implementation.)
50
+
51
+
]]></format>
46
52
</remarks>
47
53
</Docs>
48
54
<Members>
@@ -74,13 +80,19 @@ Unlike some other enumerator structures in .NET, the <xref:System.ReadOnlySpan`1
74
80
<summary>Gets a reference to the item at the current position of the enumerator.</summary>
75
81
<value>The element in the <seecref="T:System.ReadOnlySpan`1" /> at the current position of the enumerator.</value>
76
82
<remarks>
77
-
<formattype="text/markdown"><![CDATA[`Current` is undefined under either of the following conditions:
83
+
<formattype="text/markdown"><![CDATA[
84
+
85
+
## Remarks
86
+
87
+
`Current` is undefined under either of the following conditions:
78
88
79
89
- Immediately after the enumerator is created, the enumerator is positioned before the first element in the span. <xref:System.ReadOnlySpan`1.Enumerator.MoveNext*> must be called to advance the enumerator to the first element of the span before reading the value of `Current`.
80
90
81
91
- The last call to <xref:System.ReadOnlySpan`1.Enumerator.MoveNext*> returned `false`, which indicates the end of the span.
82
92
83
-
`Current` returns the same value until <xref:System.ReadOnlySpan`1.Enumerator.MoveNext*> is called. <xref:System.ReadOnlySpan`1.Enumerator.MoveNext*> sets `Current` to the next item in the span.]]></format>
93
+
`Current` returns the same value until <xref:System.ReadOnlySpan`1.Enumerator.MoveNext*> is called. <xref:System.ReadOnlySpan`1.Enumerator.MoveNext*> sets `Current` to the next item in the span.
94
+
95
+
]]></format>
84
96
</remarks>
85
97
</Docs>
86
98
</Member>
@@ -106,13 +118,19 @@ Unlike some other enumerator structures in .NET, the <xref:System.ReadOnlySpan`1
106
118
<Parameters />
107
119
<Docs>
108
120
<summary>Advances the enumerator to the next item of the <seecref="System.ReadOnlySpan`1" />.</summary>
109
-
<returns>`true` if the enumerator successfully advanced to the next item; `false` if the end of the span has been passed.</returns>
121
+
<returns><seelangword="true" /> if the enumerator successfully advanced to the next item; <seelangword="false" /> if the end of the span has been passed.</returns>
110
122
<remarks>
111
-
<formattype="text/markdown"><![CDATA[After an enumerator is created, it is positioned before the first element in the span, and the first call to `MoveNext` advances the enumerator to the first item in the span.
123
+
<formattype="text/markdown"><![CDATA[
124
+
125
+
## Remarks
126
+
127
+
After an enumerator is created, it is positioned before the first element in the span, and the first call to `MoveNext` advances the enumerator to the first item in the span.
128
+
129
+
If `MoveNext` passes the end of the span, `MoveNext` returns `false`. When the enumerator is at this state, subsequent calls to `MoveNext` also return `false`.
112
130
113
-
If `MoveNext` passes the end of the span, `MoveNext` returns `false`. When the enumerator is at this state, subsequent calls to `MoveNext` also return `false`.]]></format>
Copy file name to clipboardExpand all lines: xml/System/Span`1+Enumerator.xml
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ Unlike some other enumerator structures in .NET, the <xref:System.Span%601.Enume
52
52
53
53
- Does not include a `Reset` method, which can set the enumerator to its initial position before the first element in the span. (The <xref:System.Collections.IEnumerator.Reset?displayProperty=nameWithType> method must be implemented as part of the interface, but most implementors either throw an exception or provide no implementation.)
54
54
55
-
]]></format>
55
+
]]></format>
56
56
</remarks>
57
57
</Docs>
58
58
<Members>
@@ -89,7 +89,7 @@ Unlike some other enumerator structures in .NET, the <xref:System.Span%601.Enume
89
89
90
90
`Current` returns the same value until <xref:System.Span%601.Enumerator.MoveNext%2A> is called. <xref:System.Span%601.Enumerator.MoveNext%2A> sets `Current` to the next item in the span.
91
91
92
-
]]></format>
92
+
]]></format>
93
93
</remarks>
94
94
</Docs>
95
95
</Member>
@@ -115,17 +115,17 @@ Unlike some other enumerator structures in .NET, the <xref:System.Span%601.Enume
115
115
<Parameters />
116
116
<Docs>
117
117
<summary>Advances the enumerator to the next item of the <seecref="System.Span`1" />.</summary>
118
-
<returns>`true` if the enumerator successfully advanced to the next item; `false` if the end of the span has been passed.</returns>
118
+
<returns><seelangword="true" /> if the enumerator successfully advanced to the next item; <seelangword="false" /> if the end of the span has been passed.</returns>
119
119
<remarks>
120
120
<formattype="text/markdown"><![CDATA[
121
121
122
122
After an enumerator is created, it is positioned before the first element in the span, and the first call to `MoveNext` advances the enumerator to the first item in the span.
123
123
124
124
If `MoveNext` passes the end of the span, `MoveNext` returns `false`. When the enumerator is at this state, subsequent calls to `MoveNext` also return `false`.
0 commit comments