Skip to content

Commit 749418c

Browse files
deep-outcomeJiří
andauthored
⎮26064⎮ finalizer instead of destructor (#26085)
* ⎮26064⎮ finalizer instead of destructor * ⎮26064⎮mirrored message preservation Co-authored-by: Jiří <[email protected]>
1 parent cbbb61f commit 749418c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/csharp/misc/cs0249.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.assetid: 8bc3572f-d949-4867-b119-6527fb924a4a
1212

1313
Do not override object.Finalize. Instead, provide a destructor.
1414

15-
Use destructor syntax to specify instructions to execute when your object is destroyed.
15+
Use finalizer syntax to specify instructions to execute when your object is destroyed.
1616

1717
The following sample generates CS0249:
1818

0 commit comments

Comments
 (0)