modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Tests/TestData/Sources/MixedReadOnlyWriteOnly.cs
raw symbols SCIP| 1 | using Godot; |
| 2 | |
| 3 | public partial class MixedReadOnlyWriteOnly : 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 | |
| 10 | bool _writeOnlyBackingField = false; |
| 11 | public bool WriteOnlyProperty { set => _writeOnlyBackingField = value; } |
| 12 | } |