2022-02-27 21:57:30 +01:00
|
|
|
#pragma warning disable CS0169
|
|
|
|
|
2021-12-03 18:40:32 +01:00
|
|
|
namespace Godot.SourceGenerators.Sample
|
|
|
|
{
|
|
|
|
partial class Generic<T> : Godot.Object
|
|
|
|
{
|
2022-02-27 21:57:30 +01:00
|
|
|
private int _field;
|
2021-12-03 18:40:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// Generic again but different generic parameters
|
|
|
|
partial class Generic<T, R> : Godot.Object
|
|
|
|
{
|
2022-02-27 21:57:30 +01:00
|
|
|
private int _field;
|
2021-12-03 18:40:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// Generic again but without generic parameters
|
|
|
|
partial class Generic : Godot.Object
|
|
|
|
{
|
2022-02-27 21:57:30 +01:00
|
|
|
private int _field;
|
2021-12-03 18:40:32 +01:00
|
|
|
}
|
|
|
|
}
|