mirror of
https://github.com/godotengine/godot.git
synced 2024-12-21 10:25:24 +08:00
c52f21335c
Fix invalid C# generated by source generators for generic classes and add generic classes to the Sample project for testing.
17 lines
320 B
C#
17 lines
320 B
C#
namespace Godot.SourceGenerators.Sample
|
|
{
|
|
partial class Generic<T> : Godot.Object
|
|
{
|
|
}
|
|
|
|
// Generic again but different generic parameters
|
|
partial class Generic<T, R> : Godot.Object
|
|
{
|
|
}
|
|
|
|
// Generic again but without generic parameters
|
|
partial class Generic : Godot.Object
|
|
{
|
|
}
|
|
}
|