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
RegexMatchTimeoutException.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x020000BC RID: 188
10 {
11 // Token: 0x060003F9 RID: 1017 RVA: 0x000106C0 File Offset: 0x0000E8C0
13 {
16 base..ctor("The RegEx engine has timed out while trying to match a pattern to an input string. This can occur for many reasons, including very large inputs or excessive backtracking caused by nested quantifiers, back-references and other factors.");
19 this.<MatchTimeout>k__BackingField = matchTimeout;
20 }
21
22 // Token: 0x060003FA RID: 1018 RVA: 0x000106F4 File Offset: 0x0000E8F4
29
30 // Token: 0x060003FB RID: 1019 RVA: 0x00010710 File Offset: 0x0000E910
32 {
35 base..ctor(info, context);
36 string @string = info.GetString("regexInput");
37 this.Input = @string;
38 string string2 = info.GetString("regexPattern");
40 long @int = info.GetInt64("timeoutTicks");
41 this.<MatchTimeout>k__BackingField = @int;
42 }
43
44 // Token: 0x060003FC RID: 1020 RVA: 0x00010768 File Offset: 0x0000E968
46 {
47 base.GetObjectData(info, context);
48 string text = this.<Input>k__BackingField;
49 info.AddValue("regexInput", text);
50 string text2 = this.<Pattern>k__BackingField;
51 info.AddValue("regexPattern", text2);
53 }
54
55 // Token: 0x170000BF RID: 191
56 // (get) Token: 0x060003FD RID: 1021 RVA: 0x000107AC File Offset: 0x0000E9AC
57 public string Input
58 {
60 get
61 {
62 return this.<Input>k__BackingField;
63 }
64 }
65
66 // Token: 0x170000C0 RID: 192
67 // (get) Token: 0x060003FE RID: 1022 RVA: 0x000107C0 File Offset: 0x0000E9C0
68 public string Pattern
69 {
71 get
72 {
73 return this.<Pattern>k__BackingField;
74 }
75 }
76
77 // Token: 0x170000C1 RID: 193
78 // (get) Token: 0x060003FF RID: 1023 RVA: 0x000107D4 File Offset: 0x0000E9D4
80 {
82 get
83 {
86 return timeSpan2;
87 }
88 }
89
90 // Token: 0x04000336 RID: 822
92 private readonly string <Input>k__BackingField;
93
94 // Token: 0x04000337 RID: 823
96 private readonly string <Pattern>k__BackingField;
97
98 // Token: 0x04000338 RID: 824
100 private readonly TimeSpan <MatchTimeout>k__BackingField;
101 }
102}
class f__AnonymousType0<< Count > j__TPar
void AddValue(string name, object value, Type type)
RegexMatchTimeoutException(string regexInput, string regexPattern, TimeSpan matchTimeout)
RegexMatchTimeoutException(SerializationInfo info, StreamingContext context)
void GetObjectData(SerializationInfo info, StreamingContext context)