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
MonoHttpDate.cs
Go to the documentation of this file.
1using System;
2
3namespace System.Net
4{
5 // Token: 0x02000269 RID: 617
6 internal class MonoHttpDate
7 {
8 // Token: 0x06001096 RID: 4246 RVA: 0x000348C0 File Offset: 0x00032AC0
9 internal static DateTime Parse(string dateStr)
10 {
11 /*
12An exception occurred when decompiling this method (06001096)
13
14ICSharpCode.Decompiler.DecompilerException: Error decompiling System.DateTime System.Net.MonoHttpDate::Parse(System.String)
15
16 ---> System.Exception: Basic block has to end with unconditional control flow.
17{
18 IL_0003:
19 stloc:CultureInfo(var_1_0A, callgetter:CultureInfo(CultureInfo::get_InvariantCulture))
20 stloc:DateTime(var_3_11, call:DateTime(DateTime::ToLocalTime, ldloc:DateTime[exp:valuetype [mscorlib]System.DateTime&](var_2)))
21}
22
23 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
24 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
25 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
26 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
27 --- End of inner exception stack trace ---
28 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
29 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
30*/;
31 }
32
33 // Token: 0x06001097 RID: 4247 RVA: 0x000348E0 File Offset: 0x00032AE0
34 public MonoHttpDate()
35 {
36 }
37
38 // Token: 0x06001098 RID: 4248 RVA: 0x000348F4 File Offset: 0x00032AF4
39 // Note: this type is marked as 'beforefieldinit'.
40 static MonoHttpDate()
41 {
42 }
43
44 // Token: 0x04000D19 RID: 3353
45 private static readonly string rfc1123_date;
46
47 // Token: 0x04000D1A RID: 3354
48 private static readonly string rfc850_date;
49
50 // Token: 0x04000D1B RID: 3355
51 private static readonly string asctime_date;
52
53 // Token: 0x04000D1C RID: 3356
54 private static readonly string[] formats;
55 }
56}
class f__AnonymousType0<< Count > j__TPar
static DateTime Parse(string dateStr)
static readonly string asctime_date
static readonly string rfc1123_date
static readonly string[] formats
static readonly string rfc850_date