private void EnsureThereAreNoCircularReplacements(string matchKey)
{
if (processedList.Count(set => set.Key == matchKey) > 0)
throw new CircularReplacementException(
String.Format("Key {0} is in the list of keys being processed.", matchKey), processedList);
}