8 references to targetNameCounter
System.ServiceModel (8)
System\ServiceModel\Channels\TransportSecurityHelpers.cs (8)
61
lock (
targetNameCounter
)
64
if (
targetNameCounter
.TryGetValue(key, out refCount))
72
targetNameCounter
[key] = refCount + 1;
84
targetNameCounter
.Add(key, 1);
106
lock (
targetNameCounter
)
108
int refCount =
targetNameCounter
[key];
111
targetNameCounter
.Remove(key);
115
targetNameCounter
[key] = refCount - 1;