protected override IEnumerable <object> EnumerateReferences(MsBuildTaskAttributeList record)
        {
            yield return(record.ListIdentifier);

            yield return(record.MsBuildTaskAttributeListAssociations);
        }
 protected override Expression <Func <MsBuildTaskAttributeList, bool> > FindExisting(MsBuildTaskAttributeList record)
 => existing => existing.ListIdentifierId == record.ListIdentifierId;
        protected override async Task <MsBuildTaskAttributeList> AssignUpsertedReferences(MsBuildTaskAttributeList record)
        {
            record.ListIdentifier = await _strings.UpsertAsync(record.ListIdentifier);

            record.ListIdentifierId = record.ListIdentifier?.AsciiStringReferenceId ?? record.ListIdentifierId;
            return(record);
        }