AllReadOnly.cs 285 B

123456789
  1. using Godot;
  2. public partial class AllReadOnly : GodotObject
  3. {
  4. public readonly string readonly_field = "foo";
  5. public string readonly_auto_property { get; } = "foo";
  6. public string readonly_property { get => "foo"; }
  7. public string initonly_auto_property { get; init; }
  8. }