private void RemoveAnnotation(AnnotationModel annotation) { lock (annotations) { if (!annotations.Remove(annotation)) return; } OnAnnotationRemoved(annotation); }