Merge pull request #10275 from mhilbrunner/fix-csharp-semicolon

C# exports: Fix semicolon syntax error
This commit is contained in:
Max Hilbrunner
2024-11-17 11:07:18 +01:00
committed by GitHub

View File

@@ -466,7 +466,7 @@ of the selected option (i.e. ``0``, ``1``, or ``2``).
.. code-block:: csharp
[Export(PropertyHint.Enum, "Warrior,Magician,Thief")]
public int CharacterClass { get; set; };
public int CharacterClass { get; set; }
You can add explicit values using a colon: