terraria-cpp2il-methodrecon
v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Capture.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.CompilerServices
;
3
4
namespace
System.Text.RegularExpressions
5
{
6
// Token: 0x020000A4 RID: 164
7
public
class
Capture
8
{
9
// Token: 0x060002E2 RID: 738 RVA: 0x0000AFD0 File Offset: 0x000091D0
10
internal
Capture
(
string
text
,
int
index
,
int
length
)
11
{
12
this.Text
=
text
;
13
this.Index
=
index
;
14
this.Text
=
length
;
15
}
16
17
// Token: 0x1700009D RID: 157
18
// (get) Token: 0x060002E3 RID: 739 RVA: 0x0000AFF8 File Offset: 0x000091F8
19
// (set) Token: 0x060002E4 RID: 740 RVA: 0x0000B00C File Offset: 0x0000920C
20
public
int
Index
21
{
22
[
CompilerGenerated
]
23
get
24
{
25
return
this.<
Index
>
k__BackingField
;
26
}
27
[
CompilerGenerated
]
28
private
protected
set
29
{
30
this.<
Index
>
k__BackingField
=
value
;
31
}
32
}
33
34
// Token: 0x1700009E RID: 158
35
// (get) Token: 0x060002E5 RID: 741 RVA: 0x0000B020 File Offset: 0x00009220
36
// (set) Token: 0x060002E6 RID: 742 RVA: 0x0000B034 File Offset: 0x00009234
37
public
int
Length
38
{
39
[
CompilerGenerated
]
40
get
41
{
42
return
this.<
Length
>
k__BackingField
;
43
}
44
[
CompilerGenerated
]
45
private
protected
set
46
{
47
this.<
Length
>
k__BackingField
=
value
;
48
}
49
}
50
51
// Token: 0x1700009F RID: 159
52
// (get) Token: 0x060002E7 RID: 743 RVA: 0x0000B048 File Offset: 0x00009248
53
// (set) Token: 0x060002E8 RID: 744 RVA: 0x0000B05C File Offset: 0x0000925C
54
protected
internal
string
Text
55
{
56
[
CompilerGenerated
]
57
internal
get
58
{
59
return
this.<Text>
k__BackingField
;
60
}
61
[
CompilerGenerated
]
62
private
protected
set
63
{
64
this.<Text>
k__BackingField
=
value
;
65
}
66
}
67
68
// Token: 0x170000A0 RID: 160
69
// (get) Token: 0x060002E9 RID: 745 RVA: 0x0000B070 File Offset: 0x00009270
70
public
string
Value
71
{
72
get
73
{
74
string
text
= this.<Text>
k__BackingField
;
75
int
num = this.<
Index
>
k__BackingField
;
76
string
text2 = this.<Text>
k__BackingField
;
77
string
text3
;
78
return
text3
;
79
}
80
}
81
82
// Token: 0x060002EA RID: 746 RVA: 0x0000B094 File Offset: 0x00009294
83
public
override
string
ToString
()
84
{
85
string
text
= this.<Text>
k__BackingField
;
86
int
num = this.<
Index
>
k__BackingField
;
87
string
text2 = this.<Text>
k__BackingField
;
88
string
text3
;
89
return
text3
;
90
}
91
92
// Token: 0x060002EB RID: 747 RVA: 0x0000B0B8 File Offset: 0x000092B8
93
internal
ReadOnlySpan<char>
GetLeftSubstring
()
94
{
95
string
text
= this.<Text>
k__BackingField
;
96
int
num = this.<
Index
>
k__BackingField
;
97
if
(text !=
null
)
98
{
99
int
stringLength
=
text
._stringLength;
100
ThrowHelper
.
ThrowArgumentOutOfRangeException
(
ExceptionArgument
.start);
101
char
rawStringData
=
text
.GetRawStringData();
102
while
(
text
!=
null
)
103
{
104
}
105
}
106
if
(num != 0)
107
{
108
ThrowHelper
.
ThrowArgumentOutOfRangeException
(
ExceptionArgument
.start);
109
return
;
110
}
111
}
112
113
// Token: 0x060002EC RID: 748 RVA: 0x0000B0FC File Offset: 0x000092FC
114
internal
ReadOnlySpan<char>
GetRightSubstring
()
115
{
116
string
text
= this.<Text>
k__BackingField
;
117
int
num = this.<
Index
>
k__BackingField
;
118
string
text2 = this.<Text>
k__BackingField
;
119
int
stringLength
=
text
._stringLength;
120
int
stringLength2
;
121
if
(
text
!=
null
)
122
{
123
stringLength2
=
text
._stringLength;
124
char
rawStringData
=
text
.GetRawStringData();
125
}
126
if
(
stringLength2
!= 0)
127
{
128
return
;
129
}
130
}
131
132
// Token: 0x04000280 RID: 640
133
[
CompilerGenerated
]
134
private
int <Index>
k__BackingField
;
135
136
// Token: 0x04000281 RID: 641
137
[
CompilerGenerated
]
138
private
int <Length>
k__BackingField
;
139
140
// Token: 0x04000282 RID: 642
141
[
CompilerGenerated
]
142
private
string <Text>
k__BackingField
;
143
}
144
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.Text.RegularExpressions.Capture.ToString
override string ToString()
Definition
Capture.cs:83
System.Text.RegularExpressions.Capture.Index
int Index
Definition
Capture.cs:21
System.Text.RegularExpressions.Capture.GetLeftSubstring
ReadOnlySpan< char > GetLeftSubstring()
Definition
Capture.cs:93
System.Text.RegularExpressions.Capture.k__BackingField
string< Text > k__BackingField
Definition
Capture.cs:142
System.Text.RegularExpressions.Capture.Length
int Length
Definition
Capture.cs:38
System.Text.RegularExpressions.Capture.k__BackingField
int< Index > k__BackingField
Definition
Capture.cs:134
System.Text.RegularExpressions.Capture.k__BackingField
int< Length > k__BackingField
Definition
Capture.cs:138
System.Text.RegularExpressions.Capture.GetRightSubstring
ReadOnlySpan< char > GetRightSubstring()
Definition
Capture.cs:114
System.Text.RegularExpressions.Capture.Value
string Value
Definition
Capture.cs:71
System.Text.RegularExpressions.Capture.Capture
Capture(string text, int index, int length)
Definition
Capture.cs:10
System.Text.RegularExpressions.Capture
Definition
Capture.cs:8
System.ThrowHelper.ThrowArgumentOutOfRangeException
static void ThrowArgumentOutOfRangeException()
Definition
ThrowHelper.cs:133
System.ThrowHelper
Definition
ThrowHelper.cs:11
System.Runtime.CompilerServices
Definition
AsyncMethodBuilderAttribute.cs:4
System.Text.RegularExpressions
Definition
Capture.cs:5
System.ExceptionArgument
ExceptionArgument
Definition
ExceptionArgument.cs:7
System.ExceptionArgument.text
@ text
System.ExceptionArgument.value
@ value
System.ExceptionArgument.length
@ length
System.ExceptionArgument.index
@ index
System
Definition
__ComObject.cs:4
System.ReadOnlySpan
Definition
ReadOnlySpan.cs:15
source
System
Text
RegularExpressions
Capture.cs
Generated by
1.10.0