6 writes to cancellationTokenSource
System.Activities.Presentation (6)
System.Activities.Presentation\System\Activities\Presentation\Validation\BackgroundValidationSynchronizer.cs (6)
148this.cancellationTokenSource = new CancellationTokenSource(); 232this.Parent.cancellationTokenSource = null; 271this.Parent.cancellationTokenSource = null; 279this.Parent.cancellationTokenSource = null; 311this.Parent.cancellationTokenSource = null; 319this.Parent.cancellationTokenSource = null;
5 references to cancellationTokenSource
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\Validation\BackgroundValidationSynchronizer.cs (5)
129Fx.Assert(this.cancellationTokenSource != null, "this.cancellationTokenSource should be constructed"); 130TValidationResult result = this.validationWork(reason, this.cancellationTokenSource.Token); 141Fx.Assert(this.cancellationTokenSource != null, "Cancel should be called only when the work is active, and by the time the cancellationTokenSource should not be null."); 142Fx.Assert(this.cancellationTokenSource.IsCancellationRequested == false, "We should only request for cancel once."); 143this.cancellationTokenSource.Cancel();