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
IPv4AddressHelper.cs
Go to the documentation of this file.
1using System;
3
4namespace System
5{
6 // Token: 0x0200007A RID: 122
7 internal static class IPv4AddressHelper
8 {
9 // Token: 0x060001CF RID: 463 RVA: 0x00002050 File Offset: 0x00000250
10 internal static int ParseHostNumber(ReadOnlySpan<char> str, int start, int end)
11 {
12 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
13 }
14
15 // Token: 0x060001D0 RID: 464 RVA: 0x0000613C File Offset: 0x0000433C
16 internal unsafe static bool IsValid(char* name, int start, int end, bool allowIPv6, bool notImplicitFile, bool unknownScheme)
17 {
18 bool flag;
19 return flag;
20 }
21
22 // Token: 0x060001D1 RID: 465 RVA: 0x0000614C File Offset: 0x0000434C
23 private unsafe static bool ParseCanonical(ReadOnlySpan<char> name, byte* numbers, int start, int end)
24 {
25 /*
26An exception occurred when decompiling this method (060001D1)
27
28ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.IPv4AddressHelper::ParseCanonical(System.ReadOnlySpan`1<System.Char>,System.Byte*,System.Int32,System.Int32)
29
30 ---> System.Exception: Basic block has to end with unconditional control flow.
31{
32 Block_0:
33 stloc:int64(var_0_01, ldc.i4:int64(0))
34 stloc:int64(var_1_03, ldc.i4:int64(0))
35 stfld:int64(int64::m_value, ldloc:int64[exp:int64&](var_0_01), ldloc:int64(var_1_03))
36}
37
38 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
39 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
40 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
41 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
42 --- End of inner exception stack trace ---
43 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
44 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
45*/;
46 }
47
48 // Token: 0x060001D2 RID: 466 RVA: 0x00006164 File Offset: 0x00004364
49 internal unsafe static bool IsValidCanonical(char* name, int start, int end, bool allowIPv6, bool notImplicitFile)
50 {
51 long num = 0L;
52 if (num != 0L)
53 {
54 return;
55 }
56 }
57
58 // Token: 0x060001D3 RID: 467 RVA: 0x00006188 File Offset: 0x00004388
59 internal unsafe static long ParseNonCanonical(char* name, int start, int end, bool notImplicitFile)
60 {
61 long num = 0L;
62 int num2 = 8;
63 long num3 = 0L;
65 num2.m_value = (int)num3;
66 return num;
67 }
68
69 // Token: 0x060001D4 RID: 468 RVA: 0x000061B0 File Offset: 0x000043B0
70 internal static string ParseCanonicalName(string str, int start, int end, bool isLoopback)
71 {
72 int num = 1;
73 end.m_value = num;
74 int num2 = 46;
78 string text;
79 return text;
80 }
81
82 // Token: 0x060001D5 RID: 469 RVA: 0x000061EC File Offset: 0x000043EC
83 private unsafe static bool Parse(string name, byte* numbers, int start, int end)
84 {
85 /*
86An exception occurred when decompiling this method (060001D5)
87
88ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.IPv4AddressHelper::Parse(System.String,System.Byte*,System.Int32,System.Int32)
89
90 ---> System.Exception: Basic block has to end with unconditional control flow.
91{
92 Block_0:
93 stloc:int32(var_1_07, callgetter:int32(RuntimeHelpers::get_OffsetToStringData))
94}
95
96 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
97 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
98 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
99 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
100 --- End of inner exception stack trace ---
101 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
102 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
103*/;
104 }
105 }
106}
class f__AnonymousType0<< Count > j__TPar
static unsafe bool IsValid(char *name, int start, int end, bool allowIPv6, bool notImplicitFile, bool unknownScheme)
static unsafe bool ParseCanonical(ReadOnlySpan< char > name, byte *numbers, int start, int end)
static string ParseCanonicalName(string str, int start, int end, bool isLoopback)
static unsafe bool IsValidCanonical(char *name, int start, int end, bool allowIPv6, bool notImplicitFile)
static unsafe bool Parse(string name, byte *numbers, int start, int end)
static unsafe long ParseNonCanonical(char *name, int start, int end, bool notImplicitFile)
static int ParseHostNumber(ReadOnlySpan< char > str, int start, int end)
static void ThrowArgumentOutOfRangeException()