protected void RefreshSupportedEnhancements() { lock (writeLock) { supportedEnhancements.Clear(); foreach (IBytecodeBehavior bytecodeBehavior in bytecodeBehaviorExtensions.GetExtensions()) { supportedEnhancements.AddAll(bytecodeBehavior.GetEnhancements()); } } }