6 references to Disposed
aspire (6)
Processes\IsolatedProcess.cs (6)
232LifecycleState.Disposed => throw new ObjectDisposedException(nameof(IsolatedProcess)), 262if (Interlocked.CompareExchange(ref _lifecycleState, (int)LifecycleState.Disposed, (int)LifecycleState.NotStarted) == (int)LifecycleState.NotStarted) 277if (Interlocked.CompareExchange(ref _lifecycleState, (int)LifecycleState.Disposed, (int)LifecycleState.Started) == (int)LifecycleState.Started) 283case LifecycleState.Disposed: 314throw previousState == LifecycleState.Disposed 344Volatile.Write(ref _lifecycleState, (int)LifecycleState.Disposed);