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)
178
if (!
_notificationIdToDependenciesHash
.TryGetValue(notificationId, out dependencyList))
215
_notificationIdToDependenciesHash
.Add(notificationId, dependencyList);
220
Debug.Assert(
_notificationIdToDependenciesHash
.Count == _commandHashToNotificationId.Count, "always keep these maps in sync!");
390
if (
_notificationIdToDependenciesHash
.TryGetValue(notificationId, out entry)) {
396
_notificationIdToDependenciesHash
.Remove(notificationId);
405
Debug.Assert(
_notificationIdToDependenciesHash
.Count == _commandHashToNotificationId.Count, "always keep these maps in sync!");
424
foreach (KeyValuePair<string, DependencyList> entry in
_notificationIdToDependenciesHash
) {
445
_notificationIdToDependenciesHash
.Remove(notificationIdsToRemove[i]);
451
Debug.Assert(
_notificationIdToDependenciesHash
.Count == _commandHashToNotificationId.Count, "always keep these maps in sync!");