17 references to s_notifications
System.Private.CoreLib (17)
src\System\GC.CoreCLR.cs (17)
606lock (s_notifications) 617int count = s_notifications.Count; 632if (s_notifications[i].LowMemoryPercent <= s_previousMemoryLoad && s_previousMemoryLoad <= s_notifications[i].HighMemoryPercent 633&& !(s_notifications[i].LowMemoryPercent <= currentMemoryLoad && currentMemoryLoad <= s_notifications[i].HighMemoryPercent)) 635s_notifications[i].Notification(); 640s_notifications[last++] = s_notifications[i]; 646s_notifications.RemoveRange(last, count - last); 669lock (s_notifications) 671s_notifications.Add(new MemoryLoadChangeNotification(lowMemoryPercent, highMemoryPercent, notification)); 673if (s_notifications.Count == 1) 782lock (s_notifications) 784for (int i = 0; i < s_notifications.Count; ++i) 786if (s_notifications[i].Notification == notification) 788s_notifications.RemoveAt(i);