1 type derived from Capture
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Group.cs (1)
19
public class Group :
Capture
1 instantiation of Capture
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\CaptureCollection.cs (1)
119
_captures[j] = new
Capture
(_group.Text, _group._caps[j * 2], _group._caps[j * 2 + 1]);
53 references to Capture
Microsoft.AspNetCore.App.Analyzers (1)
RouteEmbeddedLanguage\Infrastructure\EmbeddedLanguageCommentDetector.cs (1)
48
options = optionGroup.Captures.OfType<
Capture
>().Select(c => c.Value);
netstandard (1)
netstandard.cs (1)
2045
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Text.RegularExpressions.
Capture
))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
900
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Text.RegularExpressions.
Capture
))]
System.Data.Common (1)
src\libraries\Common\src\System\Data\Common\DbConnectionOptions.Common.cs (1)
440
foreach (
Capture
keypair in match.Groups[KeyIndex].Captures)
System.Data.Odbc (1)
src\libraries\Common\src\System\Data\Common\DbConnectionOptions.Common.cs (1)
440
foreach (
Capture
keypair in match.Groups[KeyIndex].Captures)
System.Text.RegularExpressions (48)
System\Text\RegularExpressions\Capture.cs (3)
9
/// A <see cref="
Capture
"/> object is immutable and has no public constructor. Instances are returned
17
/// property returns a <see cref="CaptureCollection"/> with a single <see cref="
Capture
"/> object
21
/// the <see cref="
Capture
"/> objects in the <see cref="CaptureCollection"/> provide information
System\Text\RegularExpressions\CaptureCollection.cs (38)
16
/// The <see cref="CaptureCollection" /> object contains one or more <see cref="
Capture
" /> objects.
23
/// <see cref="CaptureCollection" /> includes a single <see cref="
Capture
" /> object that represents
25
/// capturing group, the <see cref="CaptureCollection" /> includes one <see cref="
Capture
" /> object
31
/// <see cref="
Capture
" /> object that provides information about the match as a whole. That is, the
43
[DebuggerTypeProxy(typeof(CollectionDebuggerProxy<
Capture
>))]
44
public class CaptureCollection : IList<
Capture
>, IReadOnlyList<
Capture
>, IList
48
private
Capture
[]? _captures;
71
public
Capture
this[int i] => GetCapture(i);
75
/// An object that contains all <see cref="
Capture
" /> objects within the
80
/// you iterate through the <see cref="
Capture
" /> objects in the collection, you should use the
86
IEnumerator<
Capture
> IEnumerable<
Capture
>.GetEnumerator() => new Enumerator(this);
89
private
Capture
GetCapture(int i)
116
_captures = new
Capture
[_capcount];
181
public void CopyTo(
Capture
[] array, int arrayIndex)
202
int IList<
Capture
>.IndexOf(
Capture
item)
206
if (EqualityComparer<
Capture
>.Default.Equals(this[i], item))
215
void IList<
Capture
>.Insert(int index,
Capture
item) =>
218
void IList<
Capture
>.RemoveAt(int index) =>
221
Capture
IList<
Capture
>.this[int index]
227
void ICollection<
Capture
>.Add(
Capture
item) =>
230
void ICollection<
Capture
>.Clear() =>
233
bool ICollection<
Capture
>.Contains(
Capture
item) =>
234
((IList<
Capture
>)this).IndexOf(item) >= 0;
236
bool ICollection<
Capture
>.Remove(
Capture
item) =>
246
value is
Capture
other && ((ICollection<
Capture
>)this).Contains(other);
249
value is
Capture
other ? ((IList<
Capture
>)this).IndexOf(other) : -1;
268
private sealed class Enumerator : IEnumerator<
Capture
>
295
public
Capture
Current
System\Text\RegularExpressions\Group.cs (1)
60
/// <see cref="Captures"/> property contains a single <see cref="
Capture
"/> object that provides
System\Text\RegularExpressions\GroupCollection.cs (1)
29
/// <see langword="false" /> and whose <see cref="
Capture
.Value" /> property equals
System\Text\RegularExpressions\Match.cs (3)
30
/// If a pattern match is successful, the <see cref="
Capture
.Value"/> property contains the matched
31
/// substring, the <see cref="
Capture
.Index"/> property indicates the zero-based starting position of
32
/// the matched substring in the input string, and the <see cref="
Capture
.Length"/> property indicates
System\Text\RegularExpressions\Regex.Match.cs (2)
298
/// is found, the returned <see cref="System.Text.RegularExpressions.Match"/> object's <see cref="
Capture
.Value"/> property contains the
404
/// is found, the returned <see cref="System.Text.RegularExpressions.Match"/> object's <see cref="
Capture
.Value"/> property contains the