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
IPv6AddressFormatter.cs
Go to the documentation of this file.
1using System;
3
4namespace System.Net
5{
6 // Token: 0x0200025F RID: 607
7 internal struct IPv6AddressFormatter
8 {
9 // Token: 0x06001059 RID: 4185 RVA: 0x00033B38 File Offset: 0x00031D38
10 public IPv6AddressFormatter(ushort[] addr, long scopeId)
11 {
14 }
15
16 // Token: 0x0600105A RID: 4186 RVA: 0x00002050 File Offset: 0x00000250
17 private static ushort SwapUShort(ushort number)
18 {
19 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
20 }
21
22 // Token: 0x0600105B RID: 4187 RVA: 0x00002050 File Offset: 0x00000250
23 private uint AsIPv4Int()
24 {
25 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
26 }
27
28 // Token: 0x0600105C RID: 4188 RVA: 0x00033B54 File Offset: 0x00031D54
29 private bool IsIPv4Compatible()
30 {
31 if (false)
32 {
33 return;
34 }
35 }
36
37 // Token: 0x0600105D RID: 4189 RVA: 0x00033B68 File Offset: 0x00031D68
38 private bool IsIPv4Mapped()
39 {
40 if (false)
41 {
42 return;
43 }
44 }
45
46 // Token: 0x0600105E RID: 4190 RVA: 0x00033B7C File Offset: 0x00031D7C
47 public override string ToString()
48 {
49 /*
50An exception occurred when decompiling this method (0600105E)
51
52ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.Net.IPv6AddressFormatter::ToString()
53
54 ---> System.Exception: Basic block has to end with unconditional control flow.
55{
56 Block_0:
57 stloc:int64(var_16_32, ldfld:int64(IPv6AddressFormatter::scopeId, ldloc:valuetype System.Net.IPv6AddressFormatter&(this)))
58 stloc:StringBuilder(var_17_3D, call:StringBuilder(StringBuilder::Append, ldloc:StringBuilder(var_15), ldloc:int64(var_16_32)))
59}
60
61 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
62 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
63 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
64 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
65 --- End of inner exception stack trace ---
66 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
67 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
68*/;
69 }
70
71 // Token: 0x04000CE0 RID: 3296
72 private ushort[] address;
73
74 // Token: 0x04000CE1 RID: 3297
75 private long scopeId;
76 }
77}
class f__AnonymousType0<< Count > j__TPar
IPv6AddressFormatter(ushort[] addr, long scopeId)
static ushort SwapUShort(ushort number)