blob: 0c374169b9c59c374d68dc68de1aff74ca45961c (
plain)
1
2
3
4
5
6
7
8
9
10
|
namespace Godot.SourceGenerators.Sample
{
public partial class AllReadOnly : GodotObject
{
public readonly string readonly_field = "foo";
public string readonly_auto_property { get; } = "foo";
public string readonly_property { get => "foo"; }
public string initonly_auto_property { get; init; }
}
}
|