Files
Aug2021-Cpp2IL-Dump/System/Text/RegularExpressions/CaptureCollection.cs
T
2026-04-10 22:50:51 +02:00

133 lines
4.8 KiB
C#

using System;
using System.Collections;
using Cpp2IlInjected;
namespace System.Text.RegularExpressions
{
/// <summary>Represents the set of captures made by a single capturing group.</summary>
// Token: 0x020000A3 RID: 163
[Token(Token = "0x20000A3")]
[Serializable]
public class CaptureCollection : ICollection, IEnumerable
{
/// <summary>Gets an object that can be used to synchronize access to the collection.</summary>
/// <returns>An object that can be used to synchronize access to the collection.</returns>
// Token: 0x17000081 RID: 129
// (get) Token: 0x06000343 RID: 835 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000081")]
public object SyncRoot
{
[Token(Token = "0x6000343")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
get
{
return null;
}
}
/// <summary>Gets a value that indicates whether access to the collection is synchronized (thread-safe).</summary>
/// <returns>
/// <see langword="false" /> in all cases.</returns>
// Token: 0x17000082 RID: 130
// (get) Token: 0x06000344 RID: 836 RVA: 0x00003420 File Offset: 0x00001620
[Token(Token = "0x17000082")]
public bool IsSynchronized
{
[Token(Token = "0x6000344")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "7")]
get
{
return default(bool);
}
}
/// <summary>Gets the number of substrings captured by the group.</summary>
/// <returns>The number of items in the <see cref="T:System.Text.RegularExpressions.CaptureCollection" />.</returns>
// Token: 0x17000083 RID: 131
// (get) Token: 0x06000345 RID: 837 RVA: 0x00003438 File Offset: 0x00001638
[Token(Token = "0x17000083")]
public int Count
{
[Token(Token = "0x6000345")]
[Address(RVA = "0x40B720", Offset = "0x40A520", VA = "0x18040B720", Slot = "5")]
get
{
return 0;
}
}
/// <summary>Gets an individual member of the collection.</summary>
/// <param name="i">Index into the capture collection.</param>
/// <returns>The captured substring at position <paramref name="i" /> in the collection.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="i" /> is less than 0 or greater than <see cref="P:System.Text.RegularExpressions.CaptureCollection.Count" />.</exception>
// Token: 0x17000084 RID: 132
[Token(Token = "0x17000084")]
public Capture this[int i]
{
[Token(Token = "0x6000346")]
[Address(RVA = "0x501110", Offset = "0x4FFF10", VA = "0x180501110")]
get
{
return null;
}
}
/// <summary>Copies all the elements of the collection to the given array beginning at the given index.</summary>
/// <param name="array">The array the collection is to be copied into.</param>
/// <param name="arrayIndex">The position in the destination array where copying is to begin.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="array" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="arrayIndex" /> is outside the bounds of <paramref name="array" />.
/// -or-
/// <paramref name="arrayIndex" /> plus <see cref="P:System.Text.RegularExpressions.CaptureCollection.Count" /> is outside the bounds of <paramref name="array" />.</exception>
// Token: 0x06000347 RID: 839 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000347")]
[Address(RVA = "0x500D80", Offset = "0x4FFB80", VA = "0x180500D80", Slot = "4")]
public void CopyTo(Array array, int arrayIndex)
{
}
/// <summary>Provides an enumerator that iterates through the collection.</summary>
/// <returns>An object that contains all <see cref="T:System.Text.RegularExpressions.Capture" /> objects within the <see cref="T:System.Text.RegularExpressions.CaptureCollection" />.</returns>
// Token: 0x06000348 RID: 840 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000348")]
[Address(RVA = "0x501080", Offset = "0x4FFE80", VA = "0x180501080", Slot = "8")]
public IEnumerator GetEnumerator()
{
return null;
}
// Token: 0x06000349 RID: 841 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000349")]
[Address(RVA = "0x500E40", Offset = "0x4FFC40", VA = "0x180500E40")]
internal Capture GetCapture(int i)
{
return null;
}
// Token: 0x0600034A RID: 842 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600034A")]
[Address(RVA = "0x5010E0", Offset = "0x4FFEE0", VA = "0x1805010E0")]
internal CaptureCollection()
{
}
// Token: 0x04000290 RID: 656
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000290")]
internal Group _group;
// Token: 0x04000291 RID: 657
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000291")]
internal int _capcount;
// Token: 0x04000292 RID: 658
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000292")]
internal Capture[] _captures;
}
}