static TagCollection CutOutCorrelationId(TagCollection tags) { // tags.Count > 0 Assert.Greater(tags.Count, 0); Assert.IsTrue(tags.ContainsKey(CorrelationIdName)); return(TagCollection.FromIEnumerable(tags.Where(_ => _.Key != CorrelationIdName))); }