C# diagnostics
Godot includes analyzers that inspect your C# source code to check for invalid or unsupported code and let you know that something is wrong during build time.
Rules
- GD0001: Missing partial modifier on declaration of type that derives from GodotObject
- GD0002: Missing partial modifier on declaration of type which contains nested classes that derive from GodotObject
- GD0101: Attempted to export static member
- GD0102: The type of the exported member is not supported
- GD0103: The exported member is read-only
- GD0104: The exported property is write-only
- GD0105: Attempted to export indexer property
- GD0106: Attempted to export explicit interface property implementation
- GD0107: Types not derived from Node should not export Node members
- GD0201: The name of the delegate must end with ‘EventHandler’
- GD0202: The parameter of the delegate signature of the signal is not supported
- GD0203: The delegate signature of the signal must return void
- GD0301: The generic type argument must be a Variant compatible type
- GD0302: The generic type parameter must be annotated with the MustBeVariant attribute
- GD0303: Symbol parent of a type argument that must be Variant compatible was not handled
- GD0401: The class must derive from GodotObject or a derived class
- GD0402: The class must not contain generic arguments
© Copyright 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision 53e837c6
.
Built with Sphinx using a theme provided by Read the Docs.