Skip to content

Commit ead7049

Browse files
committed
Update C# diagnostic titles
- GD0101 - GD0105 - GD0106 - GD0302 - GD0401 - GD0402
1 parent 3898c7e commit ead7049

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

tutorials/scripting/c_sharp/diagnostics/GD0101.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
GD0101: Attempted to export static member
2-
=========================================
1+
GD0101: The exported member is static
2+
=====================================
33

44
==================================== ======================================
55
Value

tutorials/scripting/c_sharp/diagnostics/GD0105.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
GD0105: Attempted to export indexer property
2-
============================================
1+
GD0105: The exported property is an indexer
2+
===========================================
33

44
==================================== ======================================
55
Value

tutorials/scripting/c_sharp/diagnostics/GD0106.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
GD0106: Attempted to export explicit interface property implementation
2-
======================================================================
1+
GD0106: The exported property is an explicit interface implementation
2+
=====================================================================
33

44
==================================== ======================================
55
Value

tutorials/scripting/c_sharp/diagnostics/GD0302.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
GD0302: The generic type parameter must be annotated with the MustBeVariant attribute
2-
=====================================================================================
1+
GD0302: The generic type parameter must be annotated with the '[MustBeVariant]' attribute
2+
=========================================================================================
33

44
==================================== ======================================
55
Value

tutorials/scripting/c_sharp/diagnostics/GD0303.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
GD0303: Symbol parent of a type argument that must be Variant compatible was not handled
2-
========================================================================================
1+
GD0303: The parent symbol of a type argument that must be Variant compatible was not handled
2+
============================================================================================
33

44
==================================== ======================================
55
Value

tutorials/scripting/c_sharp/diagnostics/GD0401.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
GD0401: The class must derive from GodotObject or a derived class
2-
=================================================================
1+
GD0401: The class must derive from Godot.GodotObject or a derived class
2+
=======================================================================
33

44
==================================== ======================================
55
Value

tutorials/scripting/c_sharp/diagnostics/GD0402.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
GD0402: The class must not contain generic arguments
2-
====================================================
1+
GD0402: The class must not be generic
2+
=====================================
33

44
==================================== ======================================
55
Value
@@ -20,7 +20,7 @@ Rule description
2020

2121
The Godot editor assumes every :ref:`global class <doc_c_sharp_global_classes>`
2222
is instantiable, but generic types can't be instantiated because the type
23-
arguments are unbound.
23+
parameters are unbound.
2424

2525
.. code-block:: csharp
2626

0 commit comments

Comments
 (0)