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
RenderTarget2D.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x02000386 RID: 902
8 {
9 // Token: 0x17000303 RID: 771
10 // (get) Token: 0x060017E8 RID: 6120 RVA: 0x00065DD0 File Offset: 0x00063FD0
11 // (set) Token: 0x060017E9 RID: 6121 RVA: 0x00065DE4 File Offset: 0x00063FE4
13 {
15 get
16 {
18 }
20 private set
21 {
23 }
24 }
25
26 // Token: 0x17000304 RID: 772
27 // (get) Token: 0x060017EA RID: 6122 RVA: 0x00065DF8 File Offset: 0x00063FF8
28 // (set) Token: 0x060017EB RID: 6123 RVA: 0x00065E0C File Offset: 0x0006400C
30 {
32 get
33 {
35 }
37 private set
38 {
40 }
41 }
42
43 // Token: 0x17000305 RID: 773
44 // (get) Token: 0x060017EC RID: 6124 RVA: 0x00065E20 File Offset: 0x00064020
45 // (set) Token: 0x060017ED RID: 6125 RVA: 0x00065E34 File Offset: 0x00064034
47 {
49 get
50 {
52 }
54 private set
55 {
57 }
58 }
59
60 // Token: 0x17000306 RID: 774
61 // (get) Token: 0x060017EE RID: 6126 RVA: 0x00065E48 File Offset: 0x00064048
62 public bool IsContentLost
63 {
64 get
65 {
66 }
67 }
68
69 // Token: 0x1400001E RID: 30
70 // (add) Token: 0x060017EF RID: 6127 RVA: 0x00065E58 File Offset: 0x00064058
71 // (remove) Token: 0x060017F0 RID: 6128 RVA: 0x00065E80 File Offset: 0x00064080
73 {
75 add
76 {
78 if (@delegate != null && @delegate == null)
79 {
80 return;
81 }
82 }
84 remove
85 {
87 if (@delegate != null && @delegate == null)
88 {
89 return;
90 }
91 }
92 }
93
94 // Token: 0x060017F1 RID: 6129 RVA: 0x00065EA8 File Offset: 0x000640A8
96 {
97 /*
98An exception occurred when decompiling this method (060017F1)
99
100ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Microsoft.Xna.Framework.Graphics.RenderTarget2D::SuppressEventHandlerWarningsUntilEventsAreProperlyImplemented()
101
102 ---> System.Exception: Basic block has to end with unconditional control flow.
103{
104 Block_0:
105 stloc:class [mscorlib]System.EventHandler`1<class [mscorlib]System.EventArgs>(var_0_06, ldfld:class [mscorlib]System.EventHandler`1<class [mscorlib]System.EventArgs>(RenderTarget2D::ContentLost, ldloc:RenderTarget2D(this)))
106}
107
108 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
109 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
110 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
111 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
112 --- End of inner exception stack trace ---
113 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
114 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
115*/;
116 }
117
118 // Token: 0x060017F2 RID: 6130 RVA: 0x00065EBC File Offset: 0x000640BC
123
124 // Token: 0x060017F3 RID: 6131 RVA: 0x00065ED4 File Offset: 0x000640D4
129
130 // Token: 0x060017F4 RID: 6132 RVA: 0x00065EEC File Offset: 0x000640EC
135
136 // Token: 0x060017F5 RID: 6133 RVA: 0x00065F04 File Offset: 0x00064104
141
142 // Token: 0x060017F6 RID: 6134 RVA: 0x00065F1C File Offset: 0x0006411C
143 public RenderTarget2D(GraphicsDevice device, int width, int height)
144 {
145 }
146
147 // Token: 0x060017F7 RID: 6135 RVA: 0x00065F2C File Offset: 0x0006412C
153
154 // Token: 0x060017F8 RID: 6136 RVA: 0x00065F4C File Offset: 0x0006414C
155 protected internal override void GraphicsDeviceResetting()
156 {
157 base.GraphicsDeviceResetting();
158 }
159
160 // Token: 0x04002635 RID: 9781
162 private DepthFormat <DepthStencilFormat>k__BackingField;
163
164 // Token: 0x04002636 RID: 9782
166 private int <MultiSampleCount>k__BackingField;
167
168 // Token: 0x04002637 RID: 9783
170 private RenderTargetUsage <RenderTargetUsage>k__BackingField;
171
172 // Token: 0x04002638 RID: 9784
175 }
176}
class f__AnonymousType0<< Count > j__TPar
RenderTarget2D(GraphicsDevice device, int width, int height, bool mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat, int preferredMultiSampleCount, RenderTargetUsage usage, bool shared)
RenderTarget2D(GraphicsDevice device, int width, int height)
RenderTarget2D(GraphicsDevice device, int width, int height, bool mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat, int preferredMultiSampleCount, RenderTargetUsage usage, bool shared, int arraySize)
DepthFormat< DepthStencilFormat > k__BackingField
RenderTarget2D(GraphicsDevice device, int width, int height, bool mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat, int preferredMultiSampleCount, RenderTargetUsage usage)
RenderTarget2D(GraphicsDevice device, int width, int height, bool mipMap, SurfaceFormat format, DepthFormat depthFormat, int preferredMultiSampleCount, RenderTargetUsage usage, Texture2D.SurfaceType surfaceType)
RenderTarget2D(GraphicsDevice device, int width, int height, bool mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat)
RenderTargetUsage< RenderTargetUsage > k__BackingField
static Delegate Combine(Delegate a, Delegate b)
Definition Delegate.cs:255
static Delegate Remove(Delegate source, Delegate value)
Definition Delegate.cs:278