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
UdpReceiveResult.cs
Go to the documentation of this file.
1using System;
3
4namespace System.Net.Sockets
5{
6 // Token: 0x02000308 RID: 776
7 public struct UdpReceiveResult : IEquatable<UdpReceiveResult>
8 {
9 // Token: 0x0600143B RID: 5179 RVA: 0x0003DCC4 File Offset: 0x0003BEC4
11 {
12 while (buffer != null)
13 {
14 if (remoteEndPoint != null)
15 {
16 this.m_buffer = buffer;
18 return;
19 }
20 }
21 }
22
23 // Token: 0x17000492 RID: 1170
24 // (get) Token: 0x0600143C RID: 5180 RVA: 0x00002050 File Offset: 0x00000250
25 public byte[] Buffer
26 {
27 get
28 {
29 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
30 }
31 }
32
33 // Token: 0x17000493 RID: 1171
34 // (get) Token: 0x0600143D RID: 5181 RVA: 0x0003DCE8 File Offset: 0x0003BEE8
36 {
37 get
38 {
39 return this.m_remoteEndPoint;
40 }
41 }
42
43 // Token: 0x0600143E RID: 5182 RVA: 0x0003DCFC File Offset: 0x0003BEFC
44 public override int GetHashCode()
45 {
46 /*
47An exception occurred when decompiling this method (0600143E)
48
49ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.Net.Sockets.UdpReceiveResult::GetHashCode()
50
51 ---> System.Exception: Basic block has to end with unconditional control flow.
52{
53 Block_0:
54 stloc:IPEndPoint(var_0_09, ldfld:IPEndPoint(UdpReceiveResult::m_remoteEndPoint, ldloc:valuetype System.Net.Sockets.UdpReceiveResult&(this)))
55}
56
57 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
58 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
59 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
60 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
61 --- End of inner exception stack trace ---
62 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
63 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
64*/;
65 }
66
67 // Token: 0x0600143F RID: 5183 RVA: 0x0003DD14 File Offset: 0x0003BF14
68 public override bool Equals(object obj)
69 {
70 if (obj != null)
71 {
72 }
73 bool flag;
74 return flag;
75 }
76
77 // Token: 0x06001440 RID: 5184 RVA: 0x0003DD28 File Offset: 0x0003BF28
79 {
80 return object.Equals(this.m_remoteEndPoint, other);
81 }
82
83 // Token: 0x040010DF RID: 4319
84 private byte[] m_buffer;
85
86 // Token: 0x040010E0 RID: 4320
88 }
89}
class f__AnonymousType0<< Count > j__TPar
override bool Equals(object obj)
UdpReceiveResult(byte[] buffer, IPEndPoint remoteEndPoint)
bool Equals(UdpReceiveResult other)