17 references to s_notifications
System.Private.CoreLib (17)
src\System\GC.CoreCLR.cs (17)
601lock (s_notifications) 612int count = s_notifications.Count; 627if (s_notifications[i].LowMemoryPercent <= s_previousMemoryLoad && s_previousMemoryLoad <= s_notifications[i].HighMemoryPercent 628&& !(s_notifications[i].LowMemoryPercent <= currentMemoryLoad && currentMemoryLoad <= s_notifications[i].HighMemoryPercent)) 630s_notifications[i].Notification(); 635s_notifications[last++] = s_notifications[i]; 641s_notifications.RemoveRange(last, count - last); 664lock (s_notifications) 666s_notifications.Add(new MemoryLoadChangeNotification(lowMemoryPercent, highMemoryPercent, notification)); 668if (s_notifications.Count == 1) 776lock (s_notifications) 778for (int i = 0; i < s_notifications.Count; ++i) 780if (s_notifications[i].Notification == notification) 782s_notifications.RemoveAt(i);