private IEnumerable <KeyValueSyntax> GetAllProperties(DocumentSyntax table) { foreach (var prop in table.GetAllKeys()) { if (configKeyNames.Any(c => c.IsMatch(prop.Key.ToString()))) { yield return(prop); } } }