9 references to BoundHandles
System.Runtime.DurableInstancing (9)
System\Runtime\DurableInstancing\InstanceStore.cs (9)
173
if (normal.
BoundHandles
.Count > 0)
175
handlesToNotify = normal.
BoundHandles
.ToArray();
216
if (normal.
BoundHandles
.Count == 0 && normal.PendingHandles.Count == 0)
342
Fx.Assert(!normal.
BoundHandles
.Contains(handle), "Should not be able to pend an already-bound handle.");
356
Fx.Assert(!normal.
BoundHandles
.Contains(handle), "Should not be able to add a handle to an event twice.");
357
normal.
BoundHandles
.Add(handle);
397
Fx.Assert(normal.
BoundHandles
.Contains(handle) || normal.PendingHandles.Contains(handle), "Event should still have handle registration.");
400
normal.
BoundHandles
.Remove(handle);
401
if (!normal.IsSignaled && normal.
BoundHandles
.Count == 0 && normal.PendingHandles.Count == 0)