OverviewFilesCommitsIssuesDocsReleasesPeers

nvidia-rtx-godot / modules / mono / editor / Godot.NET.Sdk / Godot.SourceGenerators.Sample / OneWayProperties / AllReadOnly.cs

11 lines · csharp ref:
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; }
    }
}