1 type derived from Capture
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Group.cs (1)
19public 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)
48options = 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)
440foreach (Capture keypair in match.Groups[KeyIndex].Captures)
System.Data.Odbc (1)
src\libraries\Common\src\System\Data\Common\DbConnectionOptions.Common.cs (1)
440foreach (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>))] 44public class CaptureCollection : IList<Capture>, IReadOnlyList<Capture>, IList 48private Capture[]? _captures; 71public 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 86IEnumerator<Capture> IEnumerable<Capture>.GetEnumerator() => new Enumerator(this); 89private Capture GetCapture(int i) 116_captures = new Capture[_capcount]; 181public void CopyTo(Capture[] array, int arrayIndex) 202int IList<Capture>.IndexOf(Capture item) 206if (EqualityComparer<Capture>.Default.Equals(this[i], item)) 215void IList<Capture>.Insert(int index, Capture item) => 218void IList<Capture>.RemoveAt(int index) => 221Capture IList<Capture>.this[int index] 227void ICollection<Capture>.Add(Capture item) => 230void ICollection<Capture>.Clear() => 233bool ICollection<Capture>.Contains(Capture item) => 234((IList<Capture>)this).IndexOf(item) >= 0; 236bool ICollection<Capture>.Remove(Capture item) => 246value is Capture other && ((ICollection<Capture>)this).Contains(other); 249value is Capture other ? ((IList<Capture>)this).IndexOf(other) : -1; 268private sealed class Enumerator : IEnumerator<Capture> 295public 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