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