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
OptionalFloat.cs
Go to the documentation of this file.
1using System;
4using UnityEngine;
5
6namespace InControl
7{
8 // Token: 0x02000064 RID: 100
10 public struct OptionalFloat
11 {
12 // Token: 0x06000469 RID: 1129 RVA: 0x0000F340 File Offset: 0x0000D540
13 public OptionalFloat(float value)
14 {
15 this.hasValue = true;
16 }
17
18 // Token: 0x1700014D RID: 333
19 // (get) Token: 0x0600046A RID: 1130 RVA: 0x000025E1 File Offset: 0x000007E1
20 public bool HasValue
21 {
22 get
23 {
24 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
25 }
26 }
27
28 // Token: 0x1700014E RID: 334
29 // (get) Token: 0x0600046B RID: 1131 RVA: 0x000025E1 File Offset: 0x000007E1
30 public bool HasNoValue
31 {
32 get
33 {
34 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
35 }
36 }
37
38 // Token: 0x1700014F RID: 335
39 // (get) Token: 0x0600046C RID: 1132 RVA: 0x0000F354 File Offset: 0x0000D554
40 // (set) Token: 0x0600046D RID: 1133 RVA: 0x0000F368 File Offset: 0x0000D568
41 public float Value
42 {
43 get
44 {
45 /*
46An exception occurred when decompiling this method (0600046C)
47
48ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single InControl.OptionalFloat::get_Value()
49
50 ---> System.Exception: Basic block has to end with unconditional control flow.
51{
52 Block_0:
53 stloc:float32(var_0_06, ldfld:float32(OptionalFloat::value, ldloc:valuetype InControl.OptionalFloat&(this)))
54}
55
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 1852
57 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
58 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
59 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
60 --- End of inner exception stack trace ---
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 92
62 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
63*/;
64 }
65 set
66 {
67 this.hasValue = true;
68 }
69 }
70
71 // Token: 0x0600046E RID: 1134 RVA: 0x0000F37C File Offset: 0x0000D57C
72 public void Clear()
73 {
74 }
75
76 // Token: 0x0600046F RID: 1135 RVA: 0x0000F38C File Offset: 0x0000D58C
77 public float GetValueOrDefault(float defaultValue)
78 {
79 /*
80An exception occurred when decompiling this method (0600046F)
81
82ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single InControl.OptionalFloat::GetValueOrDefault(System.Single)
83
84 ---> System.Exception: Basic block has to end with unconditional control flow.
85{
86 Block_0:
87 stloc:float32(var_0_06, ldfld:float32(OptionalFloat::value, ldloc:valuetype InControl.OptionalFloat&(this)))
88}
89
90 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
91 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
92 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
93 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
94 --- End of inner exception stack trace ---
95 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
96 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
97*/;
98 }
99
100 // Token: 0x06000470 RID: 1136 RVA: 0x0000F3A0 File Offset: 0x0000D5A0
101 public float GetValueOrZero()
102 {
103 /*
104An exception occurred when decompiling this method (06000470)
105
106ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single InControl.OptionalFloat::GetValueOrZero()
107
108 ---> System.Exception: Basic block has to end with unconditional control flow.
109{
110 Block_0:
111 stloc:float32(var_0_06, ldfld:float32(OptionalFloat::value, ldloc:valuetype InControl.OptionalFloat&(this)))
112}
113
114 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
115 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
116 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
117 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
118 --- End of inner exception stack trace ---
119 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
120 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
121*/;
122 }
123
124 // Token: 0x06000471 RID: 1137 RVA: 0x0000F3B4 File Offset: 0x0000D5B4
125 public void SetValue(float value)
126 {
127 this.hasValue = true;
128 }
129
130 // Token: 0x06000472 RID: 1138 RVA: 0x0000F3C8 File Offset: 0x0000D5C8
131 public override bool Equals(object other)
132 {
133 if (other == null)
134 {
135 }
136 bool flag;
137 return flag;
138 }
139
140 // Token: 0x06000473 RID: 1139 RVA: 0x0000F3DC File Offset: 0x0000D5DC
142 {
143 /*
144An exception occurred when decompiling this method (06000473)
145
146ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean InControl.OptionalFloat::Equals(InControl.OptionalFloat)
147
148 ---> System.Exception: Basic block has to end with unconditional control flow.
149{
150 Block_0:
151 stloc:float32(var_1_08, ldfld:float32(OptionalFloat::value, ldloc:valuetype InControl.OptionalFloat&(this)))
152}
153
154 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
155 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
156 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
157 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
158 --- End of inner exception stack trace ---
159 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
160 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
161*/;
162 }
163
164 // Token: 0x06000474 RID: 1140 RVA: 0x0000F3F4 File Offset: 0x0000D5F4
165 public bool Equals(float other)
166 {
167 /*
168An exception occurred when decompiling this method (06000474)
169
170ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean InControl.OptionalFloat::Equals(System.Single)
171
172 ---> System.Exception: Basic block has to end with unconditional control flow.
173{
174 Block_0:
175 stloc:float32(var_0_06, ldfld:float32(OptionalFloat::value, ldloc:valuetype InControl.OptionalFloat&(this)))
176}
177
178 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
179 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
180 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
181 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
182 --- End of inner exception stack trace ---
183 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
184 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
185*/;
186 }
187
188 // Token: 0x06000475 RID: 1141 RVA: 0x0000F40C File Offset: 0x0000D60C
189 public static bool operator ==(OptionalFloat a, OptionalFloat b)
190 {
191 }
192
193 // Token: 0x06000476 RID: 1142 RVA: 0x0000F41C File Offset: 0x0000D61C
194 public static bool operator !=(OptionalFloat a, OptionalFloat b)
195 {
196 return true;
197 }
198
199 // Token: 0x06000477 RID: 1143 RVA: 0x0000F42C File Offset: 0x0000D62C
200 public static bool operator ==(OptionalFloat a, float b)
201 {
202 }
203
204 // Token: 0x06000478 RID: 1144 RVA: 0x0000F43C File Offset: 0x0000D63C
205 public static bool operator !=(OptionalFloat a, float b)
206 {
207 return true;
208 }
209
210 // Token: 0x06000479 RID: 1145 RVA: 0x000025E1 File Offset: 0x000007E1
211 private static int CombineHashCodes(int h1, int h2)
212 {
213 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
214 }
215
216 // Token: 0x0600047A RID: 1146 RVA: 0x0000F44C File Offset: 0x0000D64C
217 public override int GetHashCode()
218 {
219 int num;
220 return num;
221 }
222
223 // Token: 0x0600047B RID: 1147 RVA: 0x0000F45C File Offset: 0x0000D65C
224 public override string ToString()
225 {
227 string text;
228 return text;
229 }
230
231 // Token: 0x0600047C RID: 1148 RVA: 0x0000F478 File Offset: 0x0000D678
232 public static implicit operator OptionalFloat(float value)
233 {
234 return 1;
235 }
236
237 // Token: 0x0600047D RID: 1149 RVA: 0x000025E1 File Offset: 0x000007E1
238 public static explicit operator float(OptionalFloat optional)
239 {
240 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
241 }
242
243 // Token: 0x0600047E RID: 1150 RVA: 0x000025E1 File Offset: 0x000007E1
244 private static bool IsApproximatelyEqual(float a, float b)
245 {
246 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
247 }
248
249 // Token: 0x0600047F RID: 1151 RVA: 0x0000F488 File Offset: 0x0000D688
250 public bool ApproximatelyEquals(float other)
251 {
252 /*
253An exception occurred when decompiling this method (0600047F)
254
255ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean InControl.OptionalFloat::ApproximatelyEquals(System.Single)
256
257 ---> System.Exception: Basic block has to end with unconditional control flow.
258{
259 Block_0:
260 stloc:float32(var_0_06, ldfld:float32(OptionalFloat::value, ldloc:valuetype InControl.OptionalFloat&(this)))
261}
262
263 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
264 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
265 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
266 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
267 --- End of inner exception stack trace ---
268 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
269 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
270*/;
271 }
272
273 // Token: 0x040003E1 RID: 993
275 private bool hasValue;
276
277 // Token: 0x040003E2 RID: 994
279 private float value;
280
281 // Token: 0x040003E3 RID: 995
282 private const float epsilon = 1E-07f;
283 }
284}
class f__AnonymousType0<< Count > j__TPar
static CultureInfo InvariantCulture
bool Equals(float other)
override int GetHashCode()
override string ToString()
static bool IsApproximatelyEqual(float a, float b)
static bool operator!=(OptionalFloat a, OptionalFloat b)
static bool operator==(OptionalFloat a, OptionalFloat b)
static int CombineHashCodes(int h1, int h2)
bool ApproximatelyEquals(float other)
float GetValueOrDefault(float defaultValue)
override bool Equals(object other)
void SetValue(float value)
bool Equals(OptionalFloat other)