1 write to activeOperations
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\AsyncOperationLifetimeManager.cs (1)
25this.activeOperations = new Dictionary<UniqueId, AsyncOperationContext>();
13 references to activeOperations
System.ServiceModel.Discovery (13)
System\ServiceModel\Discovery\AsyncOperationLifetimeManager.cs (13)
54if (this.activeOperations.ContainsKey(context.OperationId)) 58this.activeOperations.Add(context.OperationId, context); 80retValue = new AsyncOperationContext[this.activeOperations.Count]; 81this.activeOperations.Values.CopyTo(retValue, 0); 82this.activeOperations.Clear(); 100success = this.activeOperations.TryGetValue(operationId, out context); 129if ((this.activeOperations.TryGetValue(operationId, out context)) && 132this.activeOperations.Remove(operationId); 133setCloseHandle = (this.closeHandle != null) && (this.activeOperations.Count == 0); 157foreach (AsyncOperationContext value in this.activeOperations.Values) 176this.activeOperations.Remove(context.OperationId); 177setCloseHandle = (this.closeHandle != null) && (this.activeOperations.Count == 0); 215setCloseHandle = (this.activeOperations.Count == 0);