13 references to _serverUserHash
System.Data (13)
fx\src\data\System\Data\SqlClient\SqlDependency.cs (13)
798
lock (
_serverUserHash
) {
801
if (!
_serverUserHash
.ContainsKey(server)) {
804
_serverUserHash
.Add(server, identityDatabaseHash);
807
identityDatabaseHash =
_serverUserHash
[server];
842
lock (
_serverUserHash
) {
845
if (
_serverUserHash
.ContainsKey(server)) {
846
identityDatabaseHash =
_serverUserHash
[server];
864
_serverUserHash
.Remove(server);
897
lock (
_serverUserHash
) {
898
if (!
_serverUserHash
.ContainsKey(server)) {
899
if (0 ==
_serverUserHash
.Count) { // Special error for no calls to start.
903
else if (!ADP.IsEmpty(failoverServer) &&
_serverUserHash
.ContainsKey(failoverServer)) {
913
Dictionary<IdentityUserNamePair, List<DatabaseServicePair>> identityDatabaseHash =
_serverUserHash
[server];