public static partial void WriteBinaryScriptFragmentsCustom(MutagenWriter writer, IPackageAdapterGetter item) { if (item.ScriptFragments is not { } frags) { return; } frags.WriteToBinary(writer); }
static partial void WriteBinaryScriptFragmentsCustom(MutagenWriter writer, IPackageAdapterGetter item) { if (!item.ScriptFragments.TryGet(out var frags)) { return; } frags.WriteToBinary(writer); }