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
TargetBlendState.cs
Go to the documentation of this file.
1using System;
2
4{
5 // Token: 0x020003A4 RID: 932
6 public class TargetBlendState
7 {
8 // Token: 0x060018F8 RID: 6392 RVA: 0x0006A214 File Offset: 0x00068414
25
26 // Token: 0x060018F9 RID: 6393 RVA: 0x0006A290 File Offset: 0x00068490
28 {
29 /*
30An exception occurred when decompiling this method (060018F9)
31
32ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Graphics.TargetBlendState Microsoft.Xna.Framework.Graphics.TargetBlendState::Clone(Microsoft.Xna.Framework.Graphics.BlendState)
33
34 ---> System.Exception: Basic block has to end with unconditional control flow.
35{
36 Block_0:
37 stloc:BlendFunction(var_0_06, ldfld:BlendFunction(TargetBlendState::_alphaBlendFunction, ldloc:TargetBlendState(this)))
38 stloc:Blend(var_1_0D, ldfld:Blend(TargetBlendState::_alphaDestinationBlend, ldloc:TargetBlendState(this)))
39 stloc:Blend(var_2_14, ldfld:Blend(TargetBlendState::_alphaSourceBlend, ldloc:TargetBlendState(this)))
40 stloc:BlendFunction(var_3_1B, ldfld:BlendFunction(TargetBlendState::_colorBlendFunction, ldloc:TargetBlendState(this)))
41 stloc:Blend(var_4_22, ldfld:Blend(TargetBlendState::_colorDestinationBlend, ldloc:TargetBlendState(this)))
42 stloc:Blend(var_5_2A, ldfld:Blend(TargetBlendState::_colorSourceBlend, ldloc:TargetBlendState(this)))
43 stloc:ColorWriteChannels(var_6_32, ldfld:ColorWriteChannels(TargetBlendState::_colorWriteChannels, ldloc:TargetBlendState(this)))
44}
45
46 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
47 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
48 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
49 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
50 --- End of inner exception stack trace ---
51 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
52 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
53*/;
54 }
55
56 // Token: 0x17000344 RID: 836
57 // (get) Token: 0x060018FA RID: 6394 RVA: 0x0006A2D0 File Offset: 0x000684D0
58 // (set) Token: 0x060018FB RID: 6395 RVA: 0x0006A2E4 File Offset: 0x000684E4
60 {
61 get
62 {
63 return this._alphaBlendFunction;
64 }
65 set
66 {
67 this._parent.ThrowIfBound();
69 }
70 }
71
72 // Token: 0x17000345 RID: 837
73 // (get) Token: 0x060018FC RID: 6396 RVA: 0x0006A304 File Offset: 0x00068504
74 // (set) Token: 0x060018FD RID: 6397 RVA: 0x0006A318 File Offset: 0x00068518
76 {
77 get
78 {
79 return this._alphaDestinationBlend;
80 }
81 set
82 {
83 this._parent.ThrowIfBound();
85 }
86 }
87
88 // Token: 0x17000346 RID: 838
89 // (get) Token: 0x060018FE RID: 6398 RVA: 0x0006A338 File Offset: 0x00068538
90 // (set) Token: 0x060018FF RID: 6399 RVA: 0x0006A34C File Offset: 0x0006854C
92 {
93 get
94 {
95 return this._alphaSourceBlend;
96 }
97 set
98 {
99 this._parent.ThrowIfBound();
101 }
102 }
103
104 // Token: 0x17000347 RID: 839
105 // (get) Token: 0x06001900 RID: 6400 RVA: 0x0006A36C File Offset: 0x0006856C
106 // (set) Token: 0x06001901 RID: 6401 RVA: 0x0006A380 File Offset: 0x00068580
108 {
109 get
110 {
111 return this._colorBlendFunction;
112 }
113 set
114 {
115 this._parent.ThrowIfBound();
117 }
118 }
119
120 // Token: 0x17000348 RID: 840
121 // (get) Token: 0x06001902 RID: 6402 RVA: 0x0006A3A0 File Offset: 0x000685A0
122 // (set) Token: 0x06001903 RID: 6403 RVA: 0x0006A3B4 File Offset: 0x000685B4
124 {
125 get
126 {
127 return this._colorDestinationBlend;
128 }
129 set
130 {
131 this._parent.ThrowIfBound();
133 }
134 }
135
136 // Token: 0x17000349 RID: 841
137 // (get) Token: 0x06001904 RID: 6404 RVA: 0x0006A3D4 File Offset: 0x000685D4
138 // (set) Token: 0x06001905 RID: 6405 RVA: 0x0006A3E8 File Offset: 0x000685E8
140 {
141 get
142 {
143 return this._colorSourceBlend;
144 }
145 set
146 {
147 this._parent.ThrowIfBound();
149 }
150 }
151
152 // Token: 0x1700034A RID: 842
153 // (get) Token: 0x06001906 RID: 6406 RVA: 0x0006A408 File Offset: 0x00068608
154 // (set) Token: 0x06001907 RID: 6407 RVA: 0x0006A41C File Offset: 0x0006861C
156 {
157 get
158 {
159 return this._colorWriteChannels;
160 }
161 set
162 {
163 this._parent.ThrowIfBound();
165 }
166 }
167
168 // Token: 0x04002735 RID: 10037
170
171 // Token: 0x04002736 RID: 10038
173
174 // Token: 0x04002737 RID: 10039
176
177 // Token: 0x04002738 RID: 10040
179
180 // Token: 0x04002739 RID: 10041
182
183 // Token: 0x0400273A RID: 10042
185
186 // Token: 0x0400273B RID: 10043
188
189 // Token: 0x0400273C RID: 10044
191 }
192}
class f__AnonymousType0<< Count > j__TPar
TargetBlendState Clone(BlendState parent)