1 write to _dependencyIdToDependencyHash
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlDependencyUtils.cs (1)
100
_dependencyIdToDependencyHash
= new Dictionary<string, SqlDependency>();
12 references to _dependencyIdToDependencyHash
System.Data (12)
fx\src\data\System\Data\SqlClient\SqlDependencyUtils.cs (12)
153
_dependencyIdToDependencyHash
.Add(dep.Id, dep);
169
if (!
_dependencyIdToDependencyHash
.ContainsKey(dep.Id)) { // Determine if depId->dep hashtable contains dependency. If not, it's been invalidated.
290
foreach (KeyValuePair<string, SqlDependency> entry in
_dependencyIdToDependencyHash
) {
341
if (
_dependencyIdToDependencyHash
.ContainsKey(id)) {
342
entry =
_dependencyIdToDependencyHash
[id];
362
if (
_dependencyIdToDependencyHash
.ContainsKey(id)) {
364
_dependencyIdToDependencyHash
.Remove(id);
367
if (0 ==
_dependencyIdToDependencyHash
.Count) {
504
if (0 == SingletonInstance.
_dependencyIdToDependencyHash
.Count) {
519
dependencies = new SqlDependency[SingletonInstance.
_dependencyIdToDependencyHash
.Count];
520
SingletonInstance.
_dependencyIdToDependencyHash
.Values.CopyTo(dependencies, 0);
559
SingletonInstance.
_dependencyIdToDependencyHash
.Remove(dependencies[i].Id);