1 write to keyMap
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (1)
76this.keyMap = new Dictionary<Guid, PersistenceContext>();
16 references to keyMap
System.ServiceModel.Activities (16)
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (16)
91return this.keyMap; 268Fx.Assert(this.keyMap.Count == 0, "All instances should have been removed from the key map."); 298if (this.keyMap.TryGetValue(instanceKey.Value, out context)) 320if (this.keyMap.TryGetValue(instanceKey.Value, out context)) 354if (!context.AssociatedKeys.Contains(key) && this.keyMap.TryGetValue(key.Value, out conflictingContext)) 377if (this.keyMap.TryGetValue(key.Value, out contextToAbort)) 382this.keyMap.Add(key.Value, context); 416Fx.Assert(this.keyMap[key.Value] == context, "Context's keys must be in the map."); 417this.keyMap.Remove(key.Value); 493this.keyMap.TryGetValue(key.Value, out foundContext); 602Fx.Assert(this.keyMap[key.Value] == contextToAbort, "Context's key must be in the map."); 603this.keyMap.Remove(key.Value); 1222this.ppd.keyMap.TryGetValue(this.key.Value, out this.result); 1235if (this.ppd.keyMap.TryGetValue(instanceKey.Value, out conflictingContext)) 1269if (this.ppd.keyMap.TryGetValue(loadedKey.Value, out contextToAbort)) 1274this.ppd.keyMap.Add(loadedKey.Value, this.context);