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