4 references to ShouldDispose
System.Activities (4)
System\Activities\Runtime\ActivityExecutor.cs (3)
2181
if (environment.
ShouldDispose
)
2196
if (environment.
ShouldDispose
)
2218
if (targetInstance.Environment.
ShouldDispose
)
System\Activities\Runtime\LocationEnvironment.cs (1)
240
Fx.Assert(this.
ShouldDispose
, "We shouldn't be calling Dispose when we have existing references.");