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
IPv6AddressHelper.cs
Go to the documentation of this file.
1using System;
2
3namespace System
4{
5 // Token: 0x0200007B RID: 123
6 internal static class IPv6AddressHelper
7 {
8 // Token: 0x060001D6 RID: 470 RVA: 0x00006200 File Offset: 0x00004400
12
13 // Token: 0x060001D7 RID: 471 RVA: 0x00006214 File Offset: 0x00004414
15 {
16 /*
17An exception occurred when decompiling this method (060001D7)
18
19ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.IPv6AddressHelper::ShouldHaveIpv4Embedded(System.ReadOnlySpan`1<System.UInt16>)
20
21 ---> System.Exception: Basic block has to end with unconditional control flow.
22{
23 IL_000F:
24 brtrue(IL_000F, ldc.i4:bool(1))
25}
26
27 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
28 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
29 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
30 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
31 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
32 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
33 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
34 --- End of inner exception stack trace ---
35 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
36 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
37*/;
38 }
39
40 // Token: 0x060001D8 RID: 472 RVA: 0x00006234 File Offset: 0x00004434
41 internal unsafe static bool IsValidStrict(char* name, int start, int end)
42 {
43 bool flag;
44 return flag;
45 }
46
47 // Token: 0x060001D9 RID: 473 RVA: 0x00006278 File Offset: 0x00004478
48 internal unsafe static void Parse(ReadOnlySpan<char> address, ushort* numbers, int start, string scopeId)
49 {
50 }
51
52 // Token: 0x060001DA RID: 474 RVA: 0x000062E4 File Offset: 0x000044E4
53 internal static string ParseCanonicalName(string str, int start, bool isLoopback, string scopeId)
54 {
55 long num = 0L;
56 if (num != 0L)
57 {
58 }
60 if ("x" != null)
61 {
62 while ("x" != null)
63 {
64 }
65 }
66 int num2 = 58;
69 int num3 = 46;
72 int num4 = 46;
75 int num5 = 46;
78 int num6 = 58;
80 int num7 = 93;
83 string text;
84 return text;
85 }
86
87 // Token: 0x060001DB RID: 475 RVA: 0x00006390 File Offset: 0x00004590
89 {
90 }
91
92 // Token: 0x060001DC RID: 476 RVA: 0x000063A4 File Offset: 0x000045A4
93 private unsafe static bool InternalIsValid(char* name, int start, int end, bool validateStrictAddress)
94 {
95 bool flag;
96 return flag;
97 }
98
99 // Token: 0x060001DD RID: 477 RVA: 0x000063E4 File Offset: 0x000045E4
100 internal unsafe static bool IsValid(char* name, int start, int end)
101 {
102 bool flag;
103 return flag;
104 }
105 }
106}
class f__AnonymousType0<< Count > j__TPar
static unsafe bool InternalIsValid(char *name, int start, int end, bool validateStrictAddress)
static unsafe bool IsValid(char *name, int start, int end)
static unsafe void Parse(ReadOnlySpan< char > address, ushort *numbers, int start, string scopeId)
static string ParseCanonicalName(string str, int start, bool isLoopback, string scopeId)
static bool IsLoopback(ReadOnlySpan< ushort > numbers)
static bool ShouldHaveIpv4Embedded(ReadOnlySpan< ushort > numbers)
static unsafe bool IsValidStrict(char *name, int start, int end)
static ValueTuple< int, int > FindCompressionRange(ReadOnlySpan< ushort > numbers)
static void ThrowArgumentOutOfRangeException()