Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ExecuteCodeWithGuaranteedCleanup()

static void System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup ( TryCode code,
CleanupCode backoutCode,
object? userData )
inlinestatic

Definition at line 281 of file RuntimeHelpers.cs.

282 {
283 if (code == null)
284 {
285 throw new ArgumentNullException("code");
286 }
287 if (backoutCode == null)
288 {
289 throw new ArgumentNullException("backoutCode");
290 }
291 bool exceptionThrown = true;
292 try
293 {
294 code(userData);
295 exceptionThrown = false;
296 }
297 finally
298 {
300 }
301 }

References System.Runtime.Serialization.Dictionary.