9 references to Scheduler
Microsoft.CodeAnalysis.Workspaces (9)
Storage\SQLite\v2\SQLitePersistentStorage.Accessor.cs (3)
166Contract.ThrowIfFalse(TaskScheduler.Current == this.Storage.Scheduler.ConcurrentScheduler); 225Contract.ThrowIfFalse(TaskScheduler.Current == this.Storage.Scheduler.ExclusiveScheduler); 364Contract.ThrowIfFalse(TaskScheduler.Current == this.Storage.Scheduler.ExclusiveScheduler);
Storage\SQLite\v2\SQLitePersistentStorage_FlushWrites.cs (1)
35Contract.ThrowIfFalse(TaskScheduler.Current == this.Scheduler.ExclusiveScheduler);
Storage\SQLite\v2\SQLitePersistentStorage_StringIds.cs (3)
50TaskScheduler.Current == this.Scheduler.ExclusiveScheduler || 51TaskScheduler.Current == this.Scheduler.ConcurrentScheduler); 68Contract.ThrowIfFalse(TaskScheduler.Current == this.Scheduler.ExclusiveScheduler);
Storage\SQLite\v2\SQLitePersistentStorage_Threading.cs (2)
41return PerformTaskAsync(func, arg, this.Scheduler.ConcurrentScheduler, cancellationToken); 56return PerformTaskAsync(func, arg, this.Scheduler.ExclusiveScheduler, cancellationToken);