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
ImmutableObjectAttribute.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x0200033F RID: 831
8 public sealed class ImmutableObjectAttribute : Attribute
9 {
10 // Token: 0x060015A5 RID: 5541 RVA: 0x000405DC File Offset: 0x0003E7DC
12 {
13 }
14
15 // Token: 0x170004F0 RID: 1264
16 // (get) Token: 0x060015A6 RID: 5542 RVA: 0x000405F0 File Offset: 0x0003E7F0
17 public bool Immutable
18 {
20 get
21 {
22 return this.<Immutable>k__BackingField;
23 }
24 }
25
26 // Token: 0x060015A7 RID: 5543 RVA: 0x00040604 File Offset: 0x0003E804
27 public override bool Equals(object obj)
28 {
29 if (obj != null)
30 {
31 }
32 return true;
33 }
34
35 // Token: 0x060015A8 RID: 5544 RVA: 0x00040620 File Offset: 0x0003E820
36 public override int GetHashCode()
37 {
38 return base.GetHashCode();
39 }
40
41 // Token: 0x060015A9 RID: 5545 RVA: 0x00040634 File Offset: 0x0003E834
42 public override bool IsDefaultAttribute()
43 {
44 /*
45An exception occurred when decompiling this method (060015A9)
46
47ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.ComponentModel.ImmutableObjectAttribute::IsDefaultAttribute()
48
49 ---> System.Exception: Basic block has to end with unconditional control flow.
50{
51 IL_0000:
52 brtrue(IL_0000, ldc.i4:bool(1))
53}
54
55 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
56 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
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 1878
58 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
59 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
60 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
61 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
62 --- End of inner exception stack trace ---
63 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
64 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
65*/;
66 }
67
68 // Token: 0x060015AA RID: 5546 RVA: 0x00040644 File Offset: 0x0003E844
69 // Note: this type is marked as 'beforefieldinit'.
71 {
72 }
73
74 // Token: 0x0400119F RID: 4511
76
77 // Token: 0x040011A0 RID: 4512
79
80 // Token: 0x040011A1 RID: 4513
82
83 // Token: 0x040011A2 RID: 4514
85 private readonly bool <Immutable>k__BackingField;
86 }
87}
class f__AnonymousType0<< Count > j__TPar
static readonly ImmutableObjectAttribute Yes
static readonly ImmutableObjectAttribute No
static readonly ImmutableObjectAttribute Default