godot/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Sample
Ignacio Roldán Etcheverry 0c30c678f0 C#: Re-introduce generic Godot Array and Dictionary
This new version does not support the following type arguments:

- Generic types
- Array of Godot Object (Godot.Object[]) or derived types

The new implementation uses delegate pointers to call the Variant
conversion methods. We do type checking only once in the static
constructor to get the conversion delegates.
Now, we no longer need to do type checking every time, and we no
longer have to box value types.
This is the best implementation I could come up with, as C# generics
don't support anything similar to C++ template specializations.
2022-08-22 03:36:52 +02:00
..
Bar.cs Add C# source generator for a new ScriptPath attribute 2021-03-06 21:50:32 +01:00
EventSignals.cs C#: Add source generator for signals as events 2022-08-22 03:36:52 +02:00
ExportedFields.cs C#: Re-introduce generic Godot Array and Dictionary 2022-08-22 03:36:52 +02:00
ExportedProperties.cs C#: Re-introduce generic Godot Array and Dictionary 2022-08-22 03:36:52 +02:00
Foo.cs Add C# source generator for a new ScriptPath attribute 2021-03-06 21:50:32 +01:00
Generic.cs C#: Add source generator for properties and exports default values 2022-08-22 03:36:51 +02:00
Godot.SourceGenerators.Sample.csproj C#: Upgrade to .NET 6 (5.0 -> 6.0) 2022-08-22 03:36:51 +02:00
Methods.cs C#: Add source generator for method list 2022-08-22 03:36:52 +02:00
ScriptBoilerplate.cs C#: Add dedicated Variant struct, replacing System.Object 2022-08-22 03:36:52 +02:00