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