modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Tests/TestData/Sources/ExportedProperties2.cs
raw symbols SCIP| 1 | using Godot; |
| 2 | using System; |
| 3 | |
| 4 | [GlobalClass] |
| 5 | public partial class ExportedProperties2(int health, Resource subResource, string[] strings) : Resource |
| 6 | { |
| 7 | [Export] |
| 8 | public int Health { get; set; } = health; |
| 9 | [Export] |
| 10 | public Resource SubResource { get; set; } = subResource; |
| 11 | [Export] |
| 12 | public string[] Strings { get; set; } = strings ?? System.Array.Empty<string>(); |
| 13 | } |