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