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
SecurityException.cs
Go to the documentation of this file.
1using System;
4
5namespace System.Security
6{
7 // Token: 0x0200029C RID: 668
8 [ComVisible(true)]
11 {
12 // Token: 0x0600171A RID: 5914 RVA: 0x00030C8C File Offset: 0x0002EE8C
14 {
15 string text = Locale.GetText("A security error has been detected.");
16 base..ctor(text);
17 this._HResult = 5386;
18 }
19
20 // Token: 0x0600171B RID: 5915 RVA: 0x00030CB8 File Offset: 0x0002EEB8
21 public SecurityException(string message)
22 : base(message)
23 {
24 this._HResult = 5386;
25 }
26
27 // Token: 0x0600171C RID: 5916 RVA: 0x00030CD8 File Offset: 0x0002EED8
29 : base(info, context)
30 {
31 this._HResult = 5386;
32 SerializationInfoEnumerator enumerator = info.GetEnumerator();
33 bool flag = enumerator.MoveNext();
34 bool flag2 = enumerator.Name == "PermissionState";
35 object value = enumerator.Value;
36 if (value != null)
37 {
39 throw new InvalidCastException();
40 }
41 }
42
43 // Token: 0x0600171D RID: 5917 RVA: 0x00030D30 File Offset: 0x0002EF30
44 public SecurityException(string message, Exception inner)
45 : base(message, inner)
46 {
47 this._HResult = 5386;
48 }
49
50 // Token: 0x0600171E RID: 5918 RVA: 0x00030D50 File Offset: 0x0002EF50
52 {
53 base.GetObjectData(info, context);
54 string text = this.permissionState;
55 info.AddValue("PermissionState", text);
56 }
57
58 // Token: 0x0600171F RID: 5919 RVA: 0x00030D7C File Offset: 0x0002EF7C
59 public override string ToString()
60 {
61 return base.ToString();
62 }
63
64 // Token: 0x04000BB1 RID: 2993
65 private string permissionState;
66 }
67}
class f__AnonymousType0<< Count > j__TPar
static string GetText(string msg)
Definition Locale.cs:8
void AddValue(string name, object value, Type type)
override void GetObjectData(SerializationInfo info, StreamingContext context)
SecurityException(string message, Exception inner)
SecurityException(SerializationInfo info, StreamingContext context)