private static byte GetEncoding(RevisionData data, string platform, IDictionary <string, TreeRevisionData> revisions) { return(data?.Encoding ?? GetRevisionEncoding(revisions, platform) ?? 0); }
private static ushort GetId(RevisionData data, string platform, IDictionary <string, TreeRevisionData> revisions) { return(data?.Id ?? GetRevisionId(revisions, platform) ?? throw new InvalidOperationException($"{platform}: Missing ID")); }