11 lines
337 B
C#
11 lines
337 B
C#
namespace Godot.SourceGenerators.Sample
|
|
{
|
|
public partial class AllReadOnly : GodotObject
|
|
{
|
|
public readonly string ReadonlyField = "foo";
|
|
public string ReadonlyAutoProperty { get; } = "foo";
|
|
public string ReadonlyProperty { get => "foo"; }
|
|
public string InitonlyAutoProperty { get; init; }
|
|
}
|
|
}
|