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