| 1 |
using Godot; |
| 2 |
|
| 3 |
public partial class AllReadOnly : GodotObject |
| 4 |
{ |
| 5 |
public readonly string ReadOnlyField = "foo"; |
| 6 |
public string ReadOnlyAutoProperty { get; } = "foo"; |
| 7 |
public string ReadOnlyProperty { get => "foo"; } |
| 8 |
public string InitOnlyAutoProperty { get; init; } |
| 9 |
} |