From d3794505f0a563bb2fda9c1e4d41b36945190e6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deer=20=E2=99=A1?= <61318829+DeerUwU@users.noreply.github.com> Date: Thu, 3 Apr 2025 19:19:01 +0200 Subject: [PATCH] Update c_sharp_exports.rst changed line 458: public MyEnum MyEnum { get; set; } to: public MyEnum MyEnumCurrent { get; set; } because it throws an error if you reuse the already declared name --- tutorials/scripting/c_sharp/c_sharp_exports.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/scripting/c_sharp/c_sharp_exports.rst b/tutorials/scripting/c_sharp/c_sharp_exports.rst index b6a875a64..bf0b216b2 100644 --- a/tutorials/scripting/c_sharp/c_sharp_exports.rst +++ b/tutorials/scripting/c_sharp/c_sharp_exports.rst @@ -455,7 +455,7 @@ following as "Thing 1", "Thing 2", "Another Thing". The value will be stored as } [Export] - public MyEnum MyEnum { get; set; } + public MyEnum MyEnumCurrent { get; set; } Integer and string members can also be limited to a specific list of values using the ``[Export]`` annotation with the ``PropertyHint.Enum`` hint.