terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
CodeAccessPermission.cs
Go to the documentation of this file.
1using System;
8
9namespace System.Security
10{
11 [global::System.MonoTODO("CAS support is experimental (and unsupported).")]
12 [global::System.Runtime.InteropServices.ComVisible(true)]
13 [global::Cpp2ILInjected.Token(Token = "0x2000295")]
14 [global::System.Serializable]
16 {
17 [global::Cpp2ILInjected.Token(Token = "0x60016CC")]
18 [global::Cpp2ILInjected.Address(RVA = "0x1AEA94C", Offset = "0x1AEA94C", Length = "0x8")]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebPermission", Member = ".ctor", MemberParameters = new object[] { typeof(global::System.Security.Permissions.PermissionState) }, ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebPermission", Member = ".ctor", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebPermission", Member = ".ctor", ReturnType = typeof(void))]
22 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebPermission", Member = ".ctor", MemberParameters = new object[] { "System.Net.NetworkAccess" }, ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebPermission", Member = ".ctor", MemberParameters = new object[] { "System.Net.NetworkAccess", "System.Text.RegularExpressions.Regex" }, ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebPermission", Member = ".ctor", MemberParameters = new object[]
25 {
26 "System.Net.NetworkAccess",
27 typeof(string)
28 }, ReturnType = typeof(void))]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebPermission", Member = ".ctor", MemberParameters = new object[] { "System.Net.NetworkAccess", "System.Uri" }, ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.SocketPermission", Member = ".ctor", MemberParameters = new object[] { typeof(global::System.Security.Permissions.PermissionState) }, ReturnType = typeof(void))]
31 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.SocketPermission", Member = ".ctor", MemberParameters = new object[]
32 {
33 "System.Net.NetworkAccess",
34 "System.Net.TransportType",
35 typeof(string),
36 typeof(int)
37 }, ReturnType = typeof(void))]
38 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 9)]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
41 {
42 throw null;
43 }
44
45 [global::Cpp2ILInjected.Token(Token = "0x60016CD")]
46 public abstract IPermission Copy();
47
48 [global::System.Diagnostics.Conditional("MONO_FEATURE_CAS")]
49 [global::Cpp2ILInjected.Token(Token = "0x60016CE")]
50 [global::Cpp2ILInjected.Address(RVA = "0x1AEA954", Offset = "0x1AEA954", Length = "0x2C")]
51 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Newtonsoft.Json.Serialization.JsonTypeReflector", Member = "get_DynamicCodeGeneration", ReturnType = typeof(bool))]
52 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Newtonsoft.Json.Serialization.JsonTypeReflector", Member = "get_FullyTrusted", ReturnType = typeof(bool))]
53 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
54 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
55 public void Demand()
56 {
57 throw null;
58 }
59
60 [global::System.Runtime.InteropServices.ComVisible(false)]
61 [global::Cpp2ILInjected.Token(Token = "0x60016CF")]
62 [global::Cpp2ILInjected.Address(RVA = "0x1AEAA3C", Offset = "0x1AEAA3C", Length = "0x11C")]
63 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
64 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
65 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "GetType", ReturnType = typeof(global::System.Type))]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "op_Inequality", MemberParameters = new object[]
67 {
68 typeof(global::System.Type),
69 typeof(global::System.Type)
70 }, ReturnType = typeof(bool))]
71 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
72 public override bool Equals(object obj)
73 {
74 throw null;
75 }
76
77 [global::Cpp2ILInjected.Token(Token = "0x60016D0")]
78 public abstract void FromXml(SecurityElement elem);
79
80 [global::System.Runtime.InteropServices.ComVisible(false)]
81 [global::Cpp2ILInjected.Token(Token = "0x60016D1")]
82 [global::Cpp2ILInjected.Address(RVA = "0x1AEAB58", Offset = "0x1AEAB58", Length = "0x8")]
83 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
84 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "GetHashCode", ReturnType = typeof(int))]
85 public override int GetHashCode()
86 {
87 throw null;
88 }
89
90 [global::Cpp2ILInjected.Token(Token = "0x60016D2")]
91 public abstract IPermission Intersect(IPermission target);
92
93 [global::Cpp2ILInjected.Token(Token = "0x60016D3")]
94 public abstract bool IsSubsetOf(IPermission target);
95
96 [global::Cpp2ILInjected.Token(Token = "0x60016D4")]
97 [global::Cpp2ILInjected.Address(RVA = "0x1AEAB60", Offset = "0x1AEAB60", Length = "0x20")]
98 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
99 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
100 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
101 public override string ToString()
102 {
103 throw null;
104 }
105
106 [global::Cpp2ILInjected.Token(Token = "0x60016D5")]
107 public abstract SecurityElement ToXml();
108
109 [global::Cpp2ILInjected.Token(Token = "0x60016D6")]
110 [global::Cpp2ILInjected.Address(RVA = "0x1AEAB80", Offset = "0x1AEAB80", Length = "0x44")]
111 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
113 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
115 {
116 throw null;
117 }
118
119 [global::Cpp2ILInjected.Token(Token = "0x60016D7")]
120 [global::Cpp2ILInjected.Address(RVA = "0x1AEABC4", Offset = "0x1AEABC4", Length = "0x15C")]
121 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
122 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Permissions.ReflectionPermission), Member = "ToXml", ReturnType = typeof(SecurityElement))]
123 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Permissions.SecurityPermission), Member = "ToXml", ReturnType = typeof(SecurityElement))]
124 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
125 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SecurityElement), Member = ".ctor", MemberParameters = new object[]
126 {
127 typeof(string),
128 typeof(string)
129 }, ReturnType = typeof(void))]
130 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "GetType", ReturnType = typeof(global::System.Type))]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
132 {
133 typeof(char),
134 typeof(char)
135 }, ReturnType = typeof(string))]
136 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
137 {
138 typeof(string),
139 typeof(string),
140 typeof(string)
141 }, ReturnType = typeof(string))]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SecurityElement), Member = "AddAttribute", MemberParameters = new object[]
143 {
144 typeof(string),
145 typeof(string)
146 }, ReturnType = typeof(void))]
147 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
148 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
149 internal SecurityElement Element(int version)
150 {
151 throw null;
152 }
153
154 [global::Cpp2ILInjected.Token(Token = "0x60016D8")]
155 [global::Cpp2ILInjected.Address(RVA = "0x1AEAD20", Offset = "0x1AEAD20", Length = "0xAC")]
156 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
157 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NamedPermissionSet), Member = ".ctor", MemberParameters = new object[]
158 {
159 typeof(string),
160 typeof(global::System.Security.Permissions.PermissionState)
161 }, ReturnType = typeof(void))]
162 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PermissionSet), Member = ".ctor", MemberParameters = new object[] { typeof(global::System.Security.Permissions.PermissionState) }, ReturnType = typeof(void))]
163 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Permissions.ReflectionPermission), Member = ".ctor", MemberParameters = new object[] { typeof(global::System.Security.Permissions.PermissionState) }, ReturnType = typeof(void))]
164 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Permissions.SecurityPermission), Member = ".ctor", MemberParameters = new object[] { typeof(global::System.Security.Permissions.PermissionState) }, ReturnType = typeof(void))]
165 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
166 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Locale), Member = "GetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
167 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
168 {
169 typeof(string),
170 typeof(object)
171 }, ReturnType = typeof(string))]
172 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
173 {
174 typeof(string),
175 typeof(string)
176 }, ReturnType = typeof(void))]
177 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
178 internal static global::System.Security.Permissions.PermissionState CheckPermissionState(global::System.Security.Permissions.PermissionState state, bool allowUnrestricted)
179 {
180 throw null;
181 }
182
183 [global::Cpp2ILInjected.Token(Token = "0x60016D9")]
184 [global::Cpp2ILInjected.Address(RVA = "0x1AEADCC", Offset = "0x1AEADCC", Length = "0x2B8")]
185 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
186 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Permissions.ReflectionPermission), Member = "FromXml", MemberParameters = new object[] { typeof(SecurityElement) }, ReturnType = typeof(void))]
187 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Permissions.SecurityPermission), Member = "FromXml", MemberParameters = new object[] { typeof(SecurityElement) }, ReturnType = typeof(void))]
188 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
189 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Inequality", MemberParameters = new object[]
190 {
191 typeof(string),
192 typeof(string)
193 }, ReturnType = typeof(bool))]
194 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SecurityElement), Member = "Attribute", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
195 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "Parse", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(int))]
196 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Locale), Member = "GetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
197 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
198 {
199 typeof(string),
200 typeof(object),
201 typeof(object),
202 typeof(object)
203 }, ReturnType = typeof(string))]
204 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
205 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
206 {
207 typeof(string),
208 typeof(object)
209 }, ReturnType = typeof(string))]
210 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
211 {
212 typeof(string),
213 typeof(string)
214 }, ReturnType = typeof(void))]
215 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
216 {
217 typeof(string),
218 typeof(string),
219 typeof(global::System.Exception)
220 }, ReturnType = typeof(void))]
221 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 32)]
223 {
224 throw null;
225 }
226
227 [global::Cpp2ILInjected.Token(Token = "0x60016DA")]
228 [global::Cpp2ILInjected.Address(RVA = "0x1AEB0E8", Offset = "0x1AEB0E8", Length = "0xD4")]
229 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
230 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Permissions.ReflectionPermission), Member = "FromXml", MemberParameters = new object[] { typeof(SecurityElement) }, ReturnType = typeof(void))]
231 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Permissions.SecurityPermission), Member = "FromXml", MemberParameters = new object[] { typeof(SecurityElement) }, ReturnType = typeof(void))]
232 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
233 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SecurityElement), Member = "Attribute", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
234 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Globalization.CultureInfo), Member = "get_InvariantCulture", ReturnType = typeof(global::System.Globalization.CultureInfo))]
235 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Compare", MemberParameters = new object[]
236 {
237 typeof(string),
238 typeof(string),
239 typeof(bool),
240 typeof(global::System.Globalization.CultureInfo)
241 }, ReturnType = typeof(int))]
242 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
243 internal static bool IsUnrestricted(SecurityElement se)
244 {
245 throw null;
246 }
247
248 [global::Cpp2ILInjected.Token(Token = "0x60016DB")]
249 [global::Cpp2ILInjected.Address(RVA = "0x1AEB1BC", Offset = "0x1AEB1BC", Length = "0x98")]
250 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Permissions.ReflectionPermission), Member = "Cast", MemberParameters = new object[] { typeof(IPermission) }, ReturnType = typeof(global::System.Security.Permissions.ReflectionPermission))]
251 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Permissions.SecurityPermission), Member = "Cast", MemberParameters = new object[] { typeof(IPermission) }, ReturnType = typeof(global::System.Security.Permissions.SecurityPermission))]
252 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
253 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Locale), Member = "GetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
254 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "GetType", ReturnType = typeof(global::System.Type))]
255 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
256 {
257 typeof(string),
258 typeof(object),
259 typeof(object)
260 }, ReturnType = typeof(string))]
261 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
262 {
263 typeof(string),
264 typeof(string)
265 }, ReturnType = typeof(void))]
266 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
267 internal static void ThrowInvalidPermission(IPermission target, global::System.Type expected)
268 {
269 throw null;
270 }
271
272 [global::Cpp2ILInjected.Token(Token = "0x60016DC")]
273 [global::Cpp2ILInjected.Address(RVA = "0x1AEB254", Offset = "0x1AEB254", Length = "0x4")]
274 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
276 {
277 throw null;
278 }
279 }
280}
class f__AnonymousType0<< Count > j__TPar
virtual IPermission Union(IPermission other)
bool IsSubsetOf(IPermission target)
IPermission Intersect(IPermission target)
static global::System.Security.Permissions.PermissionState CheckPermissionState(global::System.Security.Permissions.PermissionState state, bool allowUnrestricted)
static bool IsUnrestricted(SecurityElement se)
static int CheckSecurityElement(SecurityElement se, string parameterName, int minimumVersion, int maximumVersion)
void FromXml(SecurityElement elem)
static void ThrowInvalidPermission(IPermission target, global::System.Type expected)