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
LicenseProviderAttribute.cs
Go to the documentation of this file.
1using System;
2
4{
5 // Token: 0x02000397 RID: 919
6 [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
7 public sealed class LicenseProviderAttribute : Attribute
8 {
9 // Token: 0x060017E9 RID: 6121 RVA: 0x00043C30 File Offset: 0x00041E30
11 {
12 }
13
14 // Token: 0x060017EA RID: 6122 RVA: 0x00043C44 File Offset: 0x00041E44
15 public LicenseProviderAttribute(string typeName)
16 {
18 }
19
20 // Token: 0x060017EB RID: 6123 RVA: 0x00043C60 File Offset: 0x00041E60
22 {
24 }
25
26 // Token: 0x17000571 RID: 1393
27 // (get) Token: 0x060017EC RID: 6124 RVA: 0x00043C7C File Offset: 0x00041E7C
29 {
30 get
31 {
33 if (!true)
34 {
35 }
37 if (licenseProviderName != null)
38 {
39 if (!true)
40 {
41 }
43 }
44 return this._licenseProviderType;
45 }
46 }
47
48 // Token: 0x17000572 RID: 1394
49 // (get) Token: 0x060017ED RID: 6125 RVA: 0x00043CB0 File Offset: 0x00041EB0
50 public override object TypeId
51 {
52 get
53 {
54 /*
55An exception occurred when decompiling this method (060017ED)
56
57ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.ComponentModel.LicenseProviderAttribute::get_TypeId()
58
59 ---> System.Exception: Basic block has to end with unconditional control flow.
60{
61 IL_0016:
62 stloc:Type(var_3_1C, call:Type(object::GetType, ldloc:LicenseProviderAttribute[exp:object](this)))
63}
64
65 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
66 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
67 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
68 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
69 --- End of inner exception stack trace ---
70 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
71 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
72*/;
73 }
74 }
75
76 // Token: 0x060017EE RID: 6126 RVA: 0x00043CDC File Offset: 0x00041EDC
77 public override bool Equals(object value)
78 {
79 if (value != null)
80 {
81 }
83 Type type;
84 bool flag = type == licenseProvider;
85 return true;
86 }
87
88 // Token: 0x060017EF RID: 6127 RVA: 0x00043D08 File Offset: 0x00041F08
89 public override int GetHashCode()
90 {
91 return base.GetHashCode();
92 }
93
94 // Token: 0x060017F0 RID: 6128 RVA: 0x00043D1C File Offset: 0x00041F1C
95 // Note: this type is marked as 'beforefieldinit'.
97 {
98 }
99
100 // Token: 0x04001235 RID: 4661
102
103 // Token: 0x04001236 RID: 4662
105
106 // Token: 0x04001237 RID: 4663
107 private string _licenseProviderName;
108 }
109}
class f__AnonymousType0<< Count > j__TPar
static readonly LicenseProviderAttribute Default