6 writes to singleLocation
System.Activities (6)
System\Activities\Runtime\LocationEnvironment.cs (6)
93set { this.singleLocation = value; } 365this.singleLocation = location; 402CollapseTemporaryResolutionLocation(ref this.singleLocation); 430CollapseTemporaryResolutionLocation(ref this.singleLocation); 556this.singleLocation = null; 596this.singleLocation = newSingleLocation;
16 references to singleLocation
System.Activities (16)
System\Activities\Runtime\LocationEnvironment.cs (16)
92get { return this.singleLocation; } 263if (this.singleLocation != null) 265Fx.Assert(this.singleLocation.CanBeMapped, "Can only have mappable locations for a singleton if its mappable."); 266UnregisterLocation(this.singleLocation); 362Fx.Assert(this.singleLocation == null, "We should not have had a single location if we are trying to declare one."); 386return this.singleLocation; 399if (this.singleLocation != null && 400object.ReferenceEquals(this.singleLocation.TemporaryResolutionEnvironment, this)) 428if (this.singleLocation == location) 455value = this.singleLocation; 490value = targetEnvironment.singleLocation; 545if (this.singleLocation == null) 555this.locations = new Location[] { this.singleLocation }; 561Fx.Assert(this.singleLocation == null, "locations and singleLocations cannot be non-null at the same time."); 618Fx.Assert(this.locations != null && this.singleLocation == null, "Caller should have copied singleLocation into locations array"); 689Fx.Assert(this.locations != null && this.singleLocation == null, "Caller should have copied singleLocation into locations array");