godot/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Sample/Generic.cs
2023-01-27 02:04:18 +01:00

22 lines
433 B
C#

#pragma warning disable CS0169
namespace Godot.SourceGenerators.Sample
{
partial class Generic<T> : GodotObject
{
private int _field;
}
// Generic again but different generic parameters
partial class Generic<T, R> : GodotObject
{
private int _field;
}
// Generic again but without generic parameters
partial class Generic : GodotObject
{
private int _field;
}
}