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
RootDesignerSerializerAttribute.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x02000415 RID: 1045
7 [Obsolete("This attribute has been deprecated. Use DesignerSerializerAttribute instead. For example, to specify a root designer for CodeDom, use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)). https://go.microsoft.com/fwlink/?linkid=14202")]
8 [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true, Inherited = true)]
10 {
11 // Token: 0x06001C1C RID: 7196 RVA: 0x0004D0B8 File Offset: 0x0004B2B8
17
18 // Token: 0x1700063E RID: 1598
19 // (get) Token: 0x06001C1D RID: 7197 RVA: 0x0004D0DC File Offset: 0x0004B2DC
21 {
23 get
24 {
26 }
27 }
28
29 // Token: 0x1700063F RID: 1599
30 // (get) Token: 0x06001C1E RID: 7198 RVA: 0x0004D0F0 File Offset: 0x0004B2F0
31 public override object TypeId
32 {
33 get
34 {
35 /*
36An exception occurred when decompiling this method (06001C1E)
37
38ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.ComponentModel.Design.Serialization.RootDesignerSerializerAttribute::get_TypeId()
39
40 ---> System.Exception: Basic block has to end with unconditional control flow.
41{
42 Block_0:
43 stloc:string(var_0_0E, ldfld:string(RootDesignerSerializerAttribute::<SerializerBaseTypeName>k__BackingField, ldloc:RootDesignerSerializerAttribute(this)))
44 stloc:int64(var_2_10, ldc.i4:int64(0))
45 stloc:string(var_3_19, call:string(string::Substring, ldloc:string(var_0_0E), ldloc:int64[exp:int32](var_2_10), ldloc:int32(var_1)))
46 stloc:Type(var_4_20, call:Type(object::GetType, ldloc:RootDesignerSerializerAttribute[exp:object](this)))
47 stfld:string(RootDesignerSerializerAttribute::_typeId, ldloc:RootDesignerSerializerAttribute(this), ldloc:string(var_5))
48}
49
50 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
51 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
52 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
53 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
54 --- End of inner exception stack trace ---
55 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
56 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
57*/;
58 }
59 }
60
61 // Token: 0x04001391 RID: 5009
62 private string _typeId;
63
64 // Token: 0x04001392 RID: 5010
66 private readonly bool <Reloadable>k__BackingField;
67
68 // Token: 0x04001393 RID: 5011
70 private readonly string <SerializerTypeName>k__BackingField;
71
72 // Token: 0x04001394 RID: 5012
74 private readonly string <SerializerBaseTypeName>k__BackingField;
75 }
76}
class f__AnonymousType0<< Count > j__TPar
RootDesignerSerializerAttribute(string serializerTypeName, string baseSerializerTypeName, bool reloadable)