1 write to _notificationIdToDependenciesHash
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlDependencyUtils.cs (1)
101_notificationIdToDependenciesHash = new Dictionary<string, DependencyList>();
9 references to _notificationIdToDependenciesHash
System.Data (9)
fx\src\data\System\Data\SqlClient\SqlDependencyUtils.cs (9)
178if (!_notificationIdToDependenciesHash.TryGetValue(notificationId, out dependencyList)) 215_notificationIdToDependenciesHash.Add(notificationId, dependencyList); 220Debug.Assert(_notificationIdToDependenciesHash.Count == _commandHashToNotificationId.Count, "always keep these maps in sync!"); 390if (_notificationIdToDependenciesHash.TryGetValue(notificationId, out entry)) { 396_notificationIdToDependenciesHash.Remove(notificationId); 405Debug.Assert(_notificationIdToDependenciesHash.Count == _commandHashToNotificationId.Count, "always keep these maps in sync!"); 424foreach (KeyValuePair<string, DependencyList> entry in _notificationIdToDependenciesHash) { 445_notificationIdToDependenciesHash.Remove(notificationIdsToRemove[i]); 451Debug.Assert(_notificationIdToDependenciesHash.Count == _commandHashToNotificationId.Count, "always keep these maps in sync!");