Reduce use of GetName and SetName, prefer direct

This commit is contained in:
Matt Nadareski
2026-04-03 22:57:58 -04:00
parent cdc55e721e
commit 2fdecebe66
20 changed files with 557 additions and 906 deletions

View File

@@ -309,10 +309,7 @@ namespace SabreTools.Serialization.Readers
game.SampleOf = reader.Standalone?.Value;
break;
case "sample":
var sample = new Sample
{
Name = reader.Standalone?.Value ?? string.Empty,
};
var sample = new Sample { Name = reader.Standalone?.Value ?? string.Empty, };
samples.Add(sample);
break;
default: