1 type derived from Capture
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Group.cs (1)
11
public class Group :
Capture
1 instantiation of Capture
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\CaptureCollection.cs (1)
72
_captures[j] = new
Capture
(_group.Text, _group._caps[j * 2], _group._caps[j * 2 + 1]);
38 references to Capture
Microsoft.AspNetCore.App.Analyzers (1)
RouteEmbeddedLanguage\Infrastructure\EmbeddedLanguageCommentDetector.cs (1)
48
options = optionGroup.Captures.OfType<
Capture
>().Select(c => c.Value);
Microsoft.CodeAnalysis.Features (1)
EmbeddedLanguages\EmbeddedLanguageCommentDetector.cs (1)
49
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)
450
foreach (
Capture
keypair in match.Groups[KeyIndex].Captures)
System.Data.Odbc (1)
src\libraries\Common\src\System\Data\Common\DbConnectionOptions.Common.cs (1)
450
foreach (
Capture
keypair in match.Groups[KeyIndex].Captures)
System.Text.RegularExpressions (32)
System\Text\RegularExpressions\CaptureCollection.cs (32)
15
[DebuggerTypeProxy(typeof(CollectionDebuggerProxy<
Capture
>))]
16
public class CaptureCollection : IList<
Capture
>, IReadOnlyList<
Capture
>, IList
20
private
Capture
[]? _captures;
34
public
Capture
this[int i] => GetCapture(i);
39
IEnumerator<
Capture
> IEnumerable<
Capture
>.GetEnumerator() => new Enumerator(this);
42
private
Capture
GetCapture(int i)
69
_captures = new
Capture
[_capcount];
93
public void CopyTo(
Capture
[] array, int arrayIndex)
114
int IList<
Capture
>.IndexOf(
Capture
item)
118
if (EqualityComparer<
Capture
>.Default.Equals(this[i], item))
127
void IList<
Capture
>.Insert(int index,
Capture
item) =>
130
void IList<
Capture
>.RemoveAt(int index) =>
133
Capture
IList<
Capture
>.this[int index]
139
void ICollection<
Capture
>.Add(
Capture
item) =>
142
void ICollection<
Capture
>.Clear() =>
145
bool ICollection<
Capture
>.Contains(
Capture
item) =>
146
((IList<
Capture
>)this).IndexOf(item) >= 0;
148
bool ICollection<
Capture
>.Remove(
Capture
item) =>
158
value is
Capture
other && ((ICollection<
Capture
>)this).Contains(other);
161
value is
Capture
other ? ((IList<
Capture
>)this).IndexOf(other) : -1;
180
private sealed class Enumerator : IEnumerator<
Capture
>
207
public
Capture
Current