Browse Source

Update C# diagnostic titles

- GD0101
- GD0105
- GD0106
- GD0302
- GD0401
- GD0402
Paul Joannon 1 year ago
parent
commit
ead7049407

+ 2 - 2
tutorials/scripting/c_sharp/diagnostics/GD0101.rst

@@ -1,5 +1,5 @@
-GD0101: Attempted to export static member
-=========================================
+GD0101: The exported member is static
+=====================================
 
 ====================================  ======================================
                                       Value

+ 2 - 2
tutorials/scripting/c_sharp/diagnostics/GD0105.rst

@@ -1,5 +1,5 @@
-GD0105: Attempted to export indexer property
-============================================
+GD0105: The exported property is an indexer
+===========================================
 
 ====================================  ======================================
                                       Value

+ 2 - 2
tutorials/scripting/c_sharp/diagnostics/GD0106.rst

@@ -1,5 +1,5 @@
-GD0106: Attempted to export explicit interface property implementation
-======================================================================
+GD0106: The exported property is an explicit interface implementation
+=====================================================================
 
 ====================================  ======================================
                                       Value

+ 2 - 2
tutorials/scripting/c_sharp/diagnostics/GD0302.rst

@@ -1,5 +1,5 @@
-GD0302: The generic type parameter must be annotated with the MustBeVariant attribute
-=====================================================================================
+GD0302: The generic type parameter must be annotated with the '[MustBeVariant]' attribute
+=========================================================================================
 
 ====================================  ======================================
                                       Value

+ 2 - 2
tutorials/scripting/c_sharp/diagnostics/GD0303.rst

@@ -1,5 +1,5 @@
-GD0303: Symbol parent of a type argument that must be Variant compatible was not handled
-========================================================================================
+GD0303: The parent symbol of a type argument that must be Variant compatible was not handled
+============================================================================================
 
 ====================================  ======================================
                                       Value

+ 2 - 2
tutorials/scripting/c_sharp/diagnostics/GD0401.rst

@@ -1,5 +1,5 @@
-GD0401: The class must derive from GodotObject or a derived class
-=================================================================
+GD0401: The class must derive from Godot.GodotObject or a derived class
+=======================================================================
 
 ====================================  ======================================
                                       Value

+ 3 - 3
tutorials/scripting/c_sharp/diagnostics/GD0402.rst

@@ -1,5 +1,5 @@
-GD0402: The class must not contain generic arguments
-====================================================
+GD0402: The class must not be generic
+=====================================
 
 ====================================  ======================================
                                       Value
@@ -20,7 +20,7 @@ Rule description
 
 The Godot editor assumes every :ref:`global class <doc_c_sharp_global_classes>`
 is instantiable, but generic types can't be instantiated because the type
-arguments are unbound.
+parameters are unbound.
 
 .. code-block:: csharp