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
TimeSpan.cs
Go to the documentation of this file.
1using System;
4
5namespace System
6{
7 // Token: 0x02000107 RID: 263
10 {
11 // Token: 0x060009A7 RID: 2471 RVA: 0x000172F4 File Offset: 0x000154F4
12 public TimeSpan(long ticks)
13 {
14 this._ticks = ticks;
15 }
16
17 // Token: 0x060009A8 RID: 2472 RVA: 0x00017308 File Offset: 0x00015508
18 public TimeSpan(int hours, int minutes, int seconds)
19 {
20 if (!true)
21 {
22 }
23 long num = TimeSpan.TimeToTicks(hours, minutes, seconds);
24 this._ticks = num;
25 }
26
27 // Token: 0x060009A9 RID: 2473 RVA: 0x00017328 File Offset: 0x00015528
28 public TimeSpan(int days, int hours, int minutes, int seconds, int milliseconds)
29 {
30 int num = 20864;
31 this._ticks = (long)num;
32 }
33
34 // Token: 0x170000A8 RID: 168
35 // (get) Token: 0x060009AA RID: 2474 RVA: 0x0000207A File Offset: 0x0000027A
36 public long Ticks
37 {
38 get
39 {
40 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
41 }
42 }
43
44 // Token: 0x170000A9 RID: 169
45 // (get) Token: 0x060009AB RID: 2475 RVA: 0x0000207A File Offset: 0x0000027A
46 public int Days
47 {
48 get
49 {
50 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
51 }
52 }
53
54 // Token: 0x170000AA RID: 170
55 // (get) Token: 0x060009AC RID: 2476 RVA: 0x0000207A File Offset: 0x0000027A
56 public int Hours
57 {
58 get
59 {
60 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
61 }
62 }
63
64 // Token: 0x170000AB RID: 171
65 // (get) Token: 0x060009AD RID: 2477 RVA: 0x0000207A File Offset: 0x0000027A
66 public int Milliseconds
67 {
68 get
69 {
70 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
71 }
72 }
73
74 // Token: 0x170000AC RID: 172
75 // (get) Token: 0x060009AE RID: 2478 RVA: 0x0000207A File Offset: 0x0000027A
76 public int Minutes
77 {
78 get
79 {
80 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
81 }
82 }
83
84 // Token: 0x170000AD RID: 173
85 // (get) Token: 0x060009AF RID: 2479 RVA: 0x0000207A File Offset: 0x0000027A
86 public int Seconds
87 {
88 get
89 {
90 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
91 }
92 }
93
94 // Token: 0x170000AE RID: 174
95 // (get) Token: 0x060009B0 RID: 2480 RVA: 0x0000207A File Offset: 0x0000027A
96 public double TotalDays
97 {
98 get
99 {
100 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
101 }
102 }
103
104 // Token: 0x170000AF RID: 175
105 // (get) Token: 0x060009B1 RID: 2481 RVA: 0x0000207A File Offset: 0x0000027A
106 public double TotalHours
107 {
108 get
109 {
110 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
111 }
112 }
113
114 // Token: 0x170000B0 RID: 176
115 // (get) Token: 0x060009B2 RID: 2482 RVA: 0x0000207A File Offset: 0x0000027A
116 public double TotalMilliseconds
117 {
118 get
119 {
120 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
121 }
122 }
123
124 // Token: 0x170000B1 RID: 177
125 // (get) Token: 0x060009B3 RID: 2483 RVA: 0x0000207A File Offset: 0x0000027A
126 public double TotalMinutes
127 {
128 get
129 {
130 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
131 }
132 }
133
134 // Token: 0x170000B2 RID: 178
135 // (get) Token: 0x060009B4 RID: 2484 RVA: 0x0000207A File Offset: 0x0000027A
136 public double TotalSeconds
137 {
138 get
139 {
140 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
141 }
142 }
143
144 // Token: 0x060009B5 RID: 2485 RVA: 0x0000207A File Offset: 0x0000027A
146 {
147 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
148 }
149
150 // Token: 0x060009B6 RID: 2486 RVA: 0x00017350 File Offset: 0x00015550
151 public static int Compare(TimeSpan t1, TimeSpan t2)
152 {
153 return 1;
154 }
155
156 // Token: 0x060009B7 RID: 2487 RVA: 0x00017360 File Offset: 0x00015560
157 public int CompareTo(object value)
158 {
159 if (value != null)
160 {
161 }
162 return 1;
163 }
164
165 // Token: 0x060009B8 RID: 2488 RVA: 0x00017374 File Offset: 0x00015574
167 {
168 return 1;
169 }
170
171 // Token: 0x060009B9 RID: 2489 RVA: 0x00017384 File Offset: 0x00015584
172 public static TimeSpan FromDays(double value)
173 {
174 if (!true)
175 {
176 }
178 return 1;
179 }
180
181 // Token: 0x060009BA RID: 2490 RVA: 0x000173A4 File Offset: 0x000155A4
182 public override bool Equals(object value)
183 {
184 if (value != null)
185 {
186 return;
187 }
188 }
189
190 // Token: 0x060009BB RID: 2491 RVA: 0x0000207A File Offset: 0x0000027A
191 public bool Equals(TimeSpan obj)
192 {
193 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
194 }
195
196 // Token: 0x060009BC RID: 2492 RVA: 0x000173B8 File Offset: 0x000155B8
197 public override int GetHashCode()
198 {
199 /*
200An exception occurred when decompiling this method (060009BC)
201
202ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.TimeSpan::GetHashCode()
203
204 ---> System.Exception: Basic block has to end with unconditional control flow.
205{
206 Block_0:
207 stloc:int64(var_0_06, ldfld:int64(TimeSpan::_ticks, ldloc:valuetype System.TimeSpan&(this)))
208}
209
210 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
211 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
212 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
213 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
214 --- End of inner exception stack trace ---
215 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
216 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
217*/;
218 }
219
220 // Token: 0x060009BD RID: 2493 RVA: 0x000173CC File Offset: 0x000155CC
221 public static TimeSpan FromHours(double value)
222 {
223 if (!true)
224 {
225 }
227 return 1;
228 }
229
230 // Token: 0x060009BE RID: 2494 RVA: 0x0000207A File Offset: 0x0000027A
231 private static TimeSpan Interval(double value, int scale)
232 {
233 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
234 }
235
236 // Token: 0x060009BF RID: 2495 RVA: 0x000173EC File Offset: 0x000155EC
237 public static TimeSpan FromMilliseconds(double value)
238 {
239 if (!true)
240 {
241 }
243 return 1;
244 }
245
246 // Token: 0x060009C0 RID: 2496 RVA: 0x00017408 File Offset: 0x00015608
247 public static TimeSpan FromMinutes(double value)
248 {
249 if (!true)
250 {
251 }
253 return 1;
254 }
255
256 // Token: 0x060009C1 RID: 2497 RVA: 0x00017428 File Offset: 0x00015628
258 {
259 /*
260An exception occurred when decompiling this method (060009C1)
261
262ICSharpCode.Decompiler.DecompilerException: Error decompiling System.TimeSpan System.TimeSpan::Negate()
263
264 ---> System.Exception: Basic block has to end with unconditional control flow.
265{
266 IL_0000:
267 brtrue(IL_0000, ldc.i4:bool(1))
268}
269
270 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
271 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
272 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
273 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
274 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
275 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
276 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
277 --- End of inner exception stack trace ---
278 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
279 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
280*/;
281 }
282
283 // Token: 0x060009C2 RID: 2498 RVA: 0x00017438 File Offset: 0x00015638
284 public static TimeSpan FromSeconds(double value)
285 {
286 if (!true)
287 {
288 }
290 return 1;
291 }
292
293 // Token: 0x060009C3 RID: 2499 RVA: 0x0000207A File Offset: 0x0000027A
295 {
296 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
297 }
298
299 // Token: 0x060009C4 RID: 2500 RVA: 0x00017458 File Offset: 0x00015658
300 public static TimeSpan FromTicks(long value)
301 {
303 return timeSpan;
304 }
305
306 // Token: 0x060009C5 RID: 2501 RVA: 0x00017468 File Offset: 0x00015668
307 internal static long TimeToTicks(int hour, int minute, int second)
308 {
309 }
310
311 // Token: 0x060009C6 RID: 2502 RVA: 0x00017480 File Offset: 0x00015680
312 public static TimeSpan Parse(string s)
313 {
314 /*
315An exception occurred when decompiling this method (060009C6)
316
317ICSharpCode.Decompiler.DecompilerException: Error decompiling System.TimeSpan System.TimeSpan::Parse(System.String)
318
319 ---> System.Exception: Basic block has to end with unconditional control flow.
320{
321 IL_0013:
322 call:void(ThrowHelper::ThrowArgumentNullException, ldc.i4:ExceptionArgument(49))
323}
324
325 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
326 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
327 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
328 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
329 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
330 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
331 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
332 --- End of inner exception stack trace ---
333 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
334 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
335*/;
336 }
337
338 // Token: 0x060009C7 RID: 2503 RVA: 0x000174A8 File Offset: 0x000156A8
340 {
341 /*
342An exception occurred when decompiling this method (060009C7)
343
344ICSharpCode.Decompiler.DecompilerException: Error decompiling System.TimeSpan System.TimeSpan::Parse(System.String,System.IFormatProvider)
345
346 ---> System.Exception: Basic block has to end with unconditional control flow.
347{
348 IL_0013:
349 call:void(ThrowHelper::ThrowArgumentNullException, ldc.i4:ExceptionArgument(49))
350}
351
352 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
353 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
354 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
355 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
356 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
357 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
358 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
359 --- End of inner exception stack trace ---
360 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
361 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
362*/;
363 }
364
365 // Token: 0x060009C8 RID: 2504 RVA: 0x000174D0 File Offset: 0x000156D0
366 public static bool TryParseExact(string input, string format, IFormatProvider formatProvider, [Out] TimeSpan result)
367 {
368 if (input != null)
369 {
370 char rawStringData = input.GetRawStringData();
371 int stringLength = input._stringLength;
372 bool flag;
373 return flag;
374 }
375 }
376
377 // Token: 0x060009C9 RID: 2505 RVA: 0x000174F4 File Offset: 0x000156F4
378 public override string ToString()
379 {
380 if (!true)
381 {
382 }
383 string text;
384 return text;
385 }
386
387 // Token: 0x060009CA RID: 2506 RVA: 0x00017508 File Offset: 0x00015708
388 public string ToString(string format)
389 {
390 if (!true)
391 {
392 }
393 string text;
394 return text;
395 }
396
397 // Token: 0x060009CB RID: 2507 RVA: 0x0001751C File Offset: 0x0001571C
399 {
400 if (!true)
401 {
402 }
403 string text;
404 return text;
405 }
406
407 // Token: 0x060009CC RID: 2508 RVA: 0x00017530 File Offset: 0x00015730
409 {
410 if (!true)
411 {
412 }
413 bool flag;
414 return flag;
415 }
416
417 // Token: 0x060009CD RID: 2509 RVA: 0x00017544 File Offset: 0x00015744
418 public static TimeSpan operator -(TimeSpan t)
419 {
420 if (!true)
421 {
422 }
423 return 1;
424 }
425
426 // Token: 0x060009CE RID: 2510 RVA: 0x00017558 File Offset: 0x00015758
428 {
431 return timeSpan2;
432 }
433
434 // Token: 0x060009CF RID: 2511 RVA: 0x00017570 File Offset: 0x00015770
436 {
439 return timeSpan2;
440 }
441
442 // Token: 0x060009D0 RID: 2512 RVA: 0x0000207A File Offset: 0x0000027A
443 public static bool operator ==(TimeSpan t1, TimeSpan t2)
444 {
445 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
446 }
447
448 // Token: 0x060009D1 RID: 2513 RVA: 0x0000207A File Offset: 0x0000027A
449 public static bool operator !=(TimeSpan t1, TimeSpan t2)
450 {
451 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
452 }
453
454 // Token: 0x060009D2 RID: 2514 RVA: 0x0000207A File Offset: 0x0000027A
455 public static bool operator <(TimeSpan t1, TimeSpan t2)
456 {
457 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
458 }
459
460 // Token: 0x060009D3 RID: 2515 RVA: 0x0000207A File Offset: 0x0000027A
461 public static bool operator <=(TimeSpan t1, TimeSpan t2)
462 {
463 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
464 }
465
466 // Token: 0x060009D4 RID: 2516 RVA: 0x0000207A File Offset: 0x0000027A
467 public static bool operator >(TimeSpan t1, TimeSpan t2)
468 {
469 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
470 }
471
472 // Token: 0x060009D5 RID: 2517 RVA: 0x0000207A File Offset: 0x0000027A
473 public static bool operator >=(TimeSpan t1, TimeSpan t2)
474 {
475 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
476 }
477
478 // Token: 0x060009D6 RID: 2518 RVA: 0x00017588 File Offset: 0x00015788
479 // Note: this type is marked as 'beforefieldinit'.
480 static TimeSpan()
481 {
482 }
483
484 // Token: 0x040003B3 RID: 947
485 public const long TicksPerMillisecond = 10000L;
486
487 // Token: 0x040003B4 RID: 948
488 private const double MillisecondsPerTick = 0.0001;
489
490 // Token: 0x040003B5 RID: 949
491 public const long TicksPerSecond = 10000000L;
492
493 // Token: 0x040003B6 RID: 950
494 private const double SecondsPerTick = 1E-07;
495
496 // Token: 0x040003B7 RID: 951
497 public const long TicksPerMinute = 600000000L;
498
499 // Token: 0x040003B8 RID: 952
500 private const double MinutesPerTick = 1.6666666666666667E-09;
501
502 // Token: 0x040003B9 RID: 953
503 public const long TicksPerHour = 36000000000L;
504
505 // Token: 0x040003BA RID: 954
506 private const double HoursPerTick = 2.7777777777777777E-11;
507
508 // Token: 0x040003BB RID: 955
509 public const long TicksPerDay = 864000000000L;
510
511 // Token: 0x040003BC RID: 956
512 private const double DaysPerTick = 1.1574074074074074E-12;
513
514 // Token: 0x040003BD RID: 957
515 private const int MillisPerSecond = 1000;
516
517 // Token: 0x040003BE RID: 958
518 private const int MillisPerMinute = 60000;
519
520 // Token: 0x040003BF RID: 959
521 private const int MillisPerHour = 3600000;
522
523 // Token: 0x040003C0 RID: 960
524 private const int MillisPerDay = 86400000;
525
526 // Token: 0x040003C1 RID: 961
527 internal const long MaxSeconds = 922337203685L;
528
529 // Token: 0x040003C2 RID: 962
530 internal const long MinSeconds = -922337203685L;
531
532 // Token: 0x040003C3 RID: 963
533 internal const long MaxMilliSeconds = 922337203685477L;
534
535 // Token: 0x040003C4 RID: 964
536 internal const long MinMilliSeconds = -922337203685477L;
537
538 // Token: 0x040003C5 RID: 965
539 internal const long TicksPerTenthSecond = 1000000L;
540
541 // Token: 0x040003C6 RID: 966
542 public static readonly TimeSpan Zero;
543
544 // Token: 0x040003C7 RID: 967
546
547 // Token: 0x040003C8 RID: 968
549
550 // Token: 0x040003C9 RID: 969
551 internal readonly long _ticks;
552 }
553}
class f__AnonymousType0<< Count > j__TPar
static readonly long
bool TryFormat(Span< char > destination, [Out] int charsWritten, [Optional] ReadOnlySpan< char > format, [Optional] IFormatProvider formatProvider)
Definition TimeSpan.cs:408
const long TicksPerTenthSecond
Definition TimeSpan.cs:539
static TimeSpan operator-(TimeSpan t)
Definition TimeSpan.cs:418
const long TicksPerMinute
Definition TimeSpan.cs:497
static bool operator>=(TimeSpan t1, TimeSpan t2)
Definition TimeSpan.cs:473
double TotalDays
Definition TimeSpan.cs:97
double TotalSeconds
Definition TimeSpan.cs:137
TimeSpan(int hours, int minutes, int seconds)
Definition TimeSpan.cs:18
double TotalMilliseconds
Definition TimeSpan.cs:117
static readonly TimeSpan MinValue
Definition TimeSpan.cs:548
static TimeSpan Interval(double value, int scale)
Definition TimeSpan.cs:231
override bool Equals(object value)
Definition TimeSpan.cs:182
static int Compare(TimeSpan t1, TimeSpan t2)
Definition TimeSpan.cs:151
const double MillisecondsPerTick
Definition TimeSpan.cs:488
static TimeSpan()
Definition TimeSpan.cs:480
TimeSpan(int days, int hours, int minutes, int seconds, int milliseconds)
Definition TimeSpan.cs:28
static bool operator>(TimeSpan t1, TimeSpan t2)
Definition TimeSpan.cs:467
const int MillisPerMinute
Definition TimeSpan.cs:518
static TimeSpan Parse(string input, IFormatProvider formatProvider)
Definition TimeSpan.cs:339
const double MinutesPerTick
Definition TimeSpan.cs:500
TimeSpan Negate()
Definition TimeSpan.cs:257
static bool operator<=(TimeSpan t1, TimeSpan t2)
Definition TimeSpan.cs:461
static readonly TimeSpan MaxValue
Definition TimeSpan.cs:545
static TimeSpan FromMilliseconds(double value)
Definition TimeSpan.cs:237
const long MinSeconds
Definition TimeSpan.cs:530
static bool operator<(TimeSpan t1, TimeSpan t2)
Definition TimeSpan.cs:455
const double HoursPerTick
Definition TimeSpan.cs:506
TimeSpan(long ticks)
Definition TimeSpan.cs:12
const long TicksPerMillisecond
Definition TimeSpan.cs:485
double TotalHours
Definition TimeSpan.cs:107
double TotalMinutes
Definition TimeSpan.cs:127
static TimeSpan FromSeconds(double value)
Definition TimeSpan.cs:284
const int MillisPerDay
Definition TimeSpan.cs:524
const long MaxSeconds
Definition TimeSpan.cs:527
string ToString(string format, IFormatProvider formatProvider)
Definition TimeSpan.cs:398
bool Equals(TimeSpan obj)
Definition TimeSpan.cs:191
static readonly TimeSpan Zero
Definition TimeSpan.cs:542
static bool TryParseExact(string input, string format, IFormatProvider formatProvider, [Out] TimeSpan result)
Definition TimeSpan.cs:366
const int MillisPerSecond
Definition TimeSpan.cs:515
readonly long _ticks
Definition TimeSpan.cs:551
const long TicksPerDay
Definition TimeSpan.cs:509
override int GetHashCode()
Definition TimeSpan.cs:197
const double SecondsPerTick
Definition TimeSpan.cs:494
static TimeSpan operator+(TimeSpan t1, TimeSpan t2)
Definition TimeSpan.cs:435
const long MaxMilliSeconds
Definition TimeSpan.cs:533
static TimeSpan FromDays(double value)
Definition TimeSpan.cs:172
const long TicksPerHour
Definition TimeSpan.cs:503
static bool operator==(TimeSpan t1, TimeSpan t2)
Definition TimeSpan.cs:443
int CompareTo(TimeSpan value)
Definition TimeSpan.cs:166
TimeSpan Subtract(TimeSpan ts)
Definition TimeSpan.cs:294
static bool operator!=(TimeSpan t1, TimeSpan t2)
Definition TimeSpan.cs:449
int CompareTo(object value)
Definition TimeSpan.cs:157
const int MillisPerHour
Definition TimeSpan.cs:521
static TimeSpan FromTicks(long value)
Definition TimeSpan.cs:300
string ToString(string format)
Definition TimeSpan.cs:388
static TimeSpan FromHours(double value)
Definition TimeSpan.cs:221
static TimeSpan Parse(string s)
Definition TimeSpan.cs:312
override string ToString()
Definition TimeSpan.cs:378
const double DaysPerTick
Definition TimeSpan.cs:512
const long TicksPerSecond
Definition TimeSpan.cs:491
static long TimeToTicks(int hour, int minute, int second)
Definition TimeSpan.cs:307
static TimeSpan FromMinutes(double value)
Definition TimeSpan.cs:247
const long MinMilliSeconds
Definition TimeSpan.cs:536
TimeSpan Add(TimeSpan ts)
Definition TimeSpan.cs:145