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
SocketPermissionAttribute.cs
Go to the documentation of this file.
1using System;
4
5namespace System.Net
6{
7 // Token: 0x02000279 RID: 633
8 [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
11 {
12 // Token: 0x0600116F RID: 4463 RVA: 0x00036638 File Offset: 0x00034838
17
18 // Token: 0x170003F9 RID: 1017
19 // (get) Token: 0x06001170 RID: 4464 RVA: 0x0003664C File Offset: 0x0003484C
20 // (set) Token: 0x06001171 RID: 4465 RVA: 0x00036660 File Offset: 0x00034860
21 public string Access
22 {
23 get
24 {
25 return this.m_access;
26 }
27 set
28 {
29 while (this.m_access != null)
30 {
31 }
33 }
34 }
35
36 // Token: 0x170003FA RID: 1018
37 // (get) Token: 0x06001172 RID: 4466 RVA: 0x0003667C File Offset: 0x0003487C
38 // (set) Token: 0x06001173 RID: 4467 RVA: 0x00036690 File Offset: 0x00034890
39 public string Host
40 {
41 get
42 {
43 return this.m_host;
44 }
45 set
46 {
47 while (this.m_host != null)
48 {
49 }
51 }
52 }
53
54 // Token: 0x170003FB RID: 1019
55 // (get) Token: 0x06001174 RID: 4468 RVA: 0x000366AC File Offset: 0x000348AC
56 // (set) Token: 0x06001175 RID: 4469 RVA: 0x000366C0 File Offset: 0x000348C0
57 public string Port
58 {
59 get
60 {
61 return this.m_port;
62 }
63 set
64 {
65 while (this.m_port != null)
66 {
67 }
69 }
70 }
71
72 // Token: 0x170003FC RID: 1020
73 // (get) Token: 0x06001176 RID: 4470 RVA: 0x000366DC File Offset: 0x000348DC
74 // (set) Token: 0x06001177 RID: 4471 RVA: 0x000366F0 File Offset: 0x000348F0
75 public string Transport
76 {
77 get
78 {
79 return this.m_transport;
80 }
81 set
82 {
83 while (this.m_transport != null)
84 {
85 }
87 }
88 }
89
90 // Token: 0x06001178 RID: 4472 RVA: 0x0003670C File Offset: 0x0003490C
91 public override IPermission CreatePermission()
92 {
93 /*
94An exception occurred when decompiling this method (06001178)
95
96ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Security.IPermission System.Net.SocketPermissionAttribute::CreatePermission()
97
98 ---> System.Exception: Basic block has to end with unconditional control flow.
99{
100 IL_00EE:
101 stloc:string(var_22_FB, call:string(Locale::GetText, ldstr:string("The parameter value for 'Access', '{1}, is invalid.")))
102 stloc:string(var_23_107, call:string(Locale::GetText, ldstr:string("The parameter value for 'Port', '{1}, is invalid.")))
103 stloc:int64(var_25_10D, ldc.i4:int64(0))
104 stloc:string(var_26_120, call:string(string::Format, call:string(Locale::GetText, ldstr:string("The parameter value for 'Transport', '{1}, is invalid.")), ldloc:int64[exp:object](var_25_10D)))
105}
106
107 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
108 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
109 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
110 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
111 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
112 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
113 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
114 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
115 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
116 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
117 --- End of inner exception stack trace ---
118 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
119 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
120*/;
121 }
122
123 // Token: 0x06001179 RID: 4473 RVA: 0x00036840 File Offset: 0x00034A40
124 internal void AlreadySet(string property)
125 {
126 /*
127An exception occurred when decompiling this method (06001179)
128
129ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void System.Net.SocketPermissionAttribute::AlreadySet(System.String)
130
131 ---> System.Exception: Basic block has to end with unconditional control flow.
132{
133 Block_0:
134 stloc:string(var_0_10, call:string(string::Format, call:string(Locale::GetText, ldstr:string("The parameter '{0}' can be set only once.")), ldloc:string[exp:object](property)))
135}
136
137 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
138 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
139 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
140 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
141 --- End of inner exception stack trace ---
142 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
143 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
144*/;
145 }
146
147 // Token: 0x04000D82 RID: 3458
148 private string m_access;
149
150 // Token: 0x04000D83 RID: 3459
151 private string m_host;
152
153 // Token: 0x04000D84 RID: 3460
154 private string m_port;
155
156 // Token: 0x04000D85 RID: 3461
157 private string m_transport;
158 }
159}
class f__AnonymousType0<< Count > j__TPar