3 writes to Owner
System.Runtime.DurableInstancing (3)
System\Runtime\DurableInstancing\InstanceHandle.cs (3)
41Owner = owner; 53Owner = owner; 320Owner = owner;
37 references to Owner
System.Runtime.DurableInstancing (37)
System\Runtime\DurableInstancing\InstanceHandle.cs (27)
187Fx.Assert(Owner != null, "How do we have owner events without an owner."); 188Store.RemoveHandleFromEvents(this, eventsToUnbind, Owner); 218Owner.CancelBind(ref this.inProgressBind, ref handlesPendingResolution); 223Owner.Unbind(this); 242Fx.Assert(Owner != null, "Must be bound to owner to have an inProgressBind for the lock in CancelReclaim."); 246Owner.FaultBind(ref this.inProgressBind, ref handlesPendingResolution, null); 278Fx.Assert(Owner != null, "Must be bound to owner to have an owner-scoped event."); 291Store.PendHandleToEvent(this, persistenceEvent, Owner); 305Fx.Assert(Owner != null, "Must be bound to owner to have an inProgressBind for the lock."); 307Owner.StartBind(this, ref this.inProgressBind); 319Fx.Assert(Owner == null, "BindOwner called when we already have an owner."); 340Fx.Assert(Owner != null, "Must be bound to owner to have an inProgressBind for the lock."); 341Owner.InstanceBound(ref this.inProgressBind, ref handlesPendingResolution); 354Fx.Assert(Owner != null, "Bind called before owner bound."); 388Fx.Assert(Owner != null, "Must be bound to owner to have an inProgressBind for the lock in StartReclaim."); 389return Owner.InitiateLockResolution(instanceVersion, ref this.inProgressBind, ref handlesPendingResolution); 411Fx.Assert(Owner != null, "Must be bound to owner to have an inProgressBind for the lock in CancelReclaim."); 412Owner.FaultBind(ref this.inProgressBind, ref handlesPendingResolution, reason); 434Fx.Assert(Owner != null, "Must be bound to owner to have an inProgressBind for the lock in CancelReclaim."); 435if (!Owner.FinishBind(ref this.inProgressBind, ref instanceVersion, ref handlesPendingResolution)) 522if (!Owner.TryCompleteBind(ref this.inProgressBind, ref handlesPendingResolution, out handleToFree)) 531Owner.CancelBind(ref this.inProgressBind, ref handlesPendingResolution); 550InstancePersistenceEvent normal = Store.AddHandleToEvent(this, persistenceEvent, Owner); 660Owner.CancelBind(ref this.inProgressBind, ref handlesPendingResolution); 665Owner.Unbind(this); 718Fx.Assert(Owner != null, "How do we have owner events without an owner."); 719List<InstancePersistenceEvent> readyEvents = Store.SelectSignaledEvents(this.boundOwnerEvents, Owner);
System\Runtime\DurableInstancing\InstanceOwner.cs (6)
75Fx.Assert(object.ReferenceEquals(this, handle.Owner), "Unbind called on the wrong owner for a handle."); 92Fx.Assert(object.ReferenceEquals(this, handle.Owner), "StartBind called on the wrong owner for a handle."); 109Fx.Assert(object.ReferenceEquals(this, reference.InstanceHandle.Owner), "TryCompleteBind called on the wrong owner for a handle."); 257Fx.Assert(object.ReferenceEquals(this, reference.InstanceHandle.Owner), "CancelBind called on the wrong owner for a handle."); 269Fx.Assert(object.ReferenceEquals(this, reference.InstanceHandle.Owner), "FaultBind called on the wrong owner for a handle."); 299Fx.Assert(object.ReferenceEquals(this, reference.InstanceHandle.Owner), "FinishBind called on the wrong owner for a handle.");
System\Runtime\DurableInstancing\InstancePersistenceContext.cs (4)
88Fx.Assert(InstanceHandle.Owner == null || InstanceHandle.Owner.OwnerToken == InstanceView.InstanceOwner.OwnerToken, "Mismatched lock tokens."); 91return InstanceHandle.Owner == null ? Guid.Empty : InstanceHandle.Owner.OwnerToken;