7 references to ObjectReferenceCount
System.Activities.Presentation (7)
System.Activities.Presentation\System\Activities\Presentation\ObjectReferenceService.cs (7)
211if (!this.ObjectReferenceCount.TryGetValue(objectReferenceId, out referenceCount)) 217this.ObjectReferenceCount[objectReferenceId] = referenceCount; 222Fx.Assert(this.ObjectReferenceCount.ContainsKey(objectReferenceId), "DecreaseReferenceCount should not be called when there is no reference."); 223if (this.ObjectReferenceCount.ContainsKey(objectReferenceId)) 225int referenceCount = this.ObjectReferenceCount[objectReferenceId] - 1; 228this.ObjectReferenceCount.Remove(objectReferenceId); 233this.ObjectReferenceCount[objectReferenceId] = referenceCount;