Skip to content

Commit 5d6979b

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/csharp/misc/cs0575.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.assetid: e8f20960-94a6-41d0-807c-d49ad198ccf6
1212

1313
Only class types can contain destructors
1414

15-
A [struct](../language-reference/builtin-types/struct.md) cannot contain a destructor.
15+
A [struct](../language-reference/builtin-types/struct.md) cannot contain a finalizer.
1616

1717
The following sample generates CS0575:
1818

0 commit comments

Comments
 (0)