17 references to s_notifications
System.Private.CoreLib (17)
src\System\GC.CoreCLR.cs (17)
603lock (s_notifications) 614int count = s_notifications.Count; 629if (s_notifications[i].LowMemoryPercent <= s_previousMemoryLoad && s_previousMemoryLoad <= s_notifications[i].HighMemoryPercent 630&& !(s_notifications[i].LowMemoryPercent <= currentMemoryLoad && currentMemoryLoad <= s_notifications[i].HighMemoryPercent)) 632s_notifications[i].Notification(); 637s_notifications[last++] = s_notifications[i]; 643s_notifications.RemoveRange(last, count - last); 666lock (s_notifications) 668s_notifications.Add(new MemoryLoadChangeNotification(lowMemoryPercent, highMemoryPercent, notification)); 670if (s_notifications.Count == 1) 779lock (s_notifications) 781for (int i = 0; i < s_notifications.Count; ++i) 783if (s_notifications[i].Notification == notification) 785s_notifications.RemoveAt(i);