diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c6445c70..3a4fe869 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: - name: Repeat race exploration corpus run: | for iteration in 1 2 3; do - dotnet run --project tests/Clockwork.Runtime.Tests/Clockwork.Runtime.Tests.csproj --configuration Release --no-build -- --timeout 60s --filter-namespace Clockwork.Runtime.Tests.Racing + dotnet run --project tests/Clockwork.Runtime.Tests/Clockwork.Runtime.Tests.csproj --configuration Release --no-build -- --timeout 120s --filter-namespace Orleans.Testing.Simulation.Runtime.Tests.Racing done - name: Test Instrumentation run: dotnet run --project tests/Clockwork.Instrumentation.Tests/Clockwork.Instrumentation.Tests.csproj --configuration Release --no-build -- --timeout 180s @@ -49,7 +49,7 @@ jobs: env: DOTNET_TieredCompilation: '0' DOTNET_ReadyToRun: '0' - run: dotnet run --project tests/Clockwork.Conformance.Tests/Clockwork.Conformance.Tests.csproj --configuration Debug --no-build -- --timeout 300s --filter-class Clockwork.Conformance.Tests.ChannelConformanceTests + run: dotnet run --project tests/Clockwork.Conformance.Tests/Clockwork.Conformance.Tests.csproj --configuration Debug --no-build -- --timeout 300s --filter-class Orleans.Testing.Simulation.Conformance.Tests.ChannelConformanceTests - name: Package smoke tests # Exercises all six real packed NuGet artifacts end-to-end in an isolated feed, # consumes the build package through the real MSBuild @@ -58,7 +58,7 @@ jobs: # known path so they can be retained on failure. env: CLOCKWORK_SMOKE_TESTS: "1" - run: dotnet run --project tests/Clockwork.Instrumentation.Tests/Clockwork.Instrumentation.Tests.csproj --configuration Release --no-build -- --timeout 600s --filter-namespace Clockwork.Instrumentation.Tests.Packaging + run: dotnet run --project tests/Clockwork.Instrumentation.Tests/Clockwork.Instrumentation.Tests.csproj --configuration Release --no-build -- --timeout 600s --filter-namespace Orleans.Testing.Simulation.Instrumentation.Tests.Packaging - name: Upload instrumentation artifacts on failure if: failure() uses: actions/upload-artifact@v4 diff --git a/README.md b/README.md index 32c81336..2ecb7b90 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Clockwork is a deterministic simulation testing framework for distributed system - Fixed and adaptive `RunUntil`/`RunUntilIdle` execution budgets - Stable, cross-process-safe seed derivation from strings (`SimulationSeed`) - Reusable rendezvous primitives (`SimulationGate`, `SimulationLatch`, `SimulationBarrier`) -- In-memory logging for simulation diagnostics in the `Clockwork.Testing` project and namespace +- In-memory logging for simulation diagnostics in the `Orleans.Testing.Simulation.Testing` project and namespace Consumers should attach node identity and other context using standard structured `ILogger` scopes or properties; Clockwork does not wrap loggers or prefix rendered messages. @@ -59,6 +59,18 @@ The core NuGet package ID is `Microsoft.Orleans.Testing.Simulation`; test-runner replay helpers are in `Microsoft.Orleans.Testing.Simulation.Testing`. Until packages are published, clone the repository or add it as a Git submodule and reference the corresponding project under `src`. +### Public namespace migration + +| Previous namespace family | Current namespace family | +|---|---| +| `Clockwork` | `Orleans.Testing.Simulation` | +| `Clockwork.Runtime.*` | `Orleans.Testing.Simulation.Runtime.*` | +| `Clockwork.Shims.*` | `Orleans.Testing.Simulation.Shims.*` | +| `Clockwork.Instrumentation.*` | `Orleans.Testing.Simulation.Instrumentation.*` | +| `Clockwork.Analyzers` | `Orleans.Testing.Simulation.Analyzers` | +| `Clockwork.Testing` | `Orleans.Testing.Simulation.Testing` | +| `Clockwork.Tool` | `Orleans.Testing.Simulation.Tool` | + ## Instrumented simulation test projects Keep ordinary and simulation tests in separate projects. Only simulation test projects reference @@ -174,7 +186,7 @@ Construct `SimulationCluster` directly. It owns the runtime, scheduler and virtu and nodes. Nodes are fully attached and usable as soon as `AddNode` returns: ```csharp -using Clockwork; +using Orleans.Testing.Simulation; await using var cluster = new SimulationCluster( seed: 12345, @@ -466,8 +478,8 @@ NativeAOT, signed assemblies, and profiler conflicts). The built-in simulation rule set **`clockwork.bcl.deterministic`** (version `3.0.0`), makes ordinary source that calls the direct **static** time / identity / random BCL surface deterministic - with no dependency injection, no `TimeProvider` threading, and no manual shim -wiring. Enabling it rewrites those call sites to runtime shims in the `Clockwork` assembly, -under namespaces matching `Clockwork.Shims.`. +wiring. Enabling it rewrites those call sites to runtime shims in the `Orleans.Testing.Simulation` assembly, +under namespaces matching `Orleans.Testing.Simulation.Shims.`. The complete, exhaustive list of controlled and rejected signatures is generated into [`docs/rule-inventory.md`](docs/rule-inventory.md) and verified against the shipped rules by a test, so the documentation cannot drift from the code. The inventory also lists every other public @@ -582,7 +594,7 @@ Alongside it, call-site redirects route the `Task.WhenAll`/`Task.WhenAny`/`Task. blocking generic `Task.Result` accessor, the `TaskExtensions.Unwrap` extension methods, every `Task.ContinueWith`/`Task.ContinueWith` and `TaskFactory`/`TaskFactory` `ContinueWhenAll`/`ContinueWhenAny` overload, and the `ValueTask`/`ValueTask` `AsTask` and `Preserve` conversions to controlled shims in -`Clockwork.Shims.System.Threading.Tasks`; `TaskFactory.FromAsync`, whose `IAsyncResult` completes outside +`Orleans.Testing.Simulation.Shims.System.Threading.Tasks`; `TaskFactory.FromAsync`, whose `IAsyncResult` completes outside Clockwork's control, is rejected. Synchronous waits and blocking `Task.Result` reads **pump the coordinator loop until completion instead of blocking a physical thread**, so they never deadlock the scheduler, then delegate to the real API for its exact `AggregateException` semantics. diff --git a/THIRD-PARTY-NOTICES.md b/THIRD-PARTY-NOTICES.md index d680fab5..d43b4024 100644 --- a/THIRD-PARTY-NOTICES.md +++ b/THIRD-PARTY-NOTICES.md @@ -224,7 +224,7 @@ Mono.Cecil license: ## General policy - Clockwork uses the `Mono.Cecil` (0.11.6, MIT) package dependency in - `Clockwork.Instrumentation`, and the `Microsoft.CodeAnalysis.CSharp` (Roslyn, MIT) + `Orleans.Testing.Simulation.Instrumentation`, and the `Microsoft.CodeAnalysis.CSharp` (Roslyn, MIT) package to `Clockwork.Instrumentation.Tests` (used only to compile fixture assemblies at test time). It also adapts two Coyote source files as recorded above. The runtime and simulation projects remain free of any IL-rewriting dependency. diff --git a/benchmarks/Clockwork.Benchmarks/DeterministicSchedulerBenchmarks.cs b/benchmarks/Clockwork.Benchmarks/DeterministicSchedulerBenchmarks.cs index e949bd7e..a7844a43 100644 --- a/benchmarks/Clockwork.Benchmarks/DeterministicSchedulerBenchmarks.cs +++ b/benchmarks/Clockwork.Benchmarks/DeterministicSchedulerBenchmarks.cs @@ -1,5 +1,5 @@ using BenchmarkDotNet.Attributes; -namespace Clockwork.Benchmarks; +namespace Orleans.Testing.Simulation.Benchmarks; [MemoryDiagnoser] public class DeterministicSchedulerBenchmarks diff --git a/benchmarks/Clockwork.Benchmarks/Program.cs b/benchmarks/Clockwork.Benchmarks/Program.cs index 57c2cfbe..51036aeb 100644 --- a/benchmarks/Clockwork.Benchmarks/Program.cs +++ b/benchmarks/Clockwork.Benchmarks/Program.cs @@ -1,5 +1,5 @@ using BenchmarkDotNet.Running; -using Clockwork.Benchmarks; +using Orleans.Testing.Simulation.Benchmarks; if (args is ["--trace", var iterationCount] && int.TryParse(iterationCount, out var iterations) diff --git a/benchmarks/Clockwork.Benchmarks/RaceTrackerBenchmarks.cs b/benchmarks/Clockwork.Benchmarks/RaceTrackerBenchmarks.cs index 686f3182..aeae89af 100644 --- a/benchmarks/Clockwork.Benchmarks/RaceTrackerBenchmarks.cs +++ b/benchmarks/Clockwork.Benchmarks/RaceTrackerBenchmarks.cs @@ -1,10 +1,10 @@ using BenchmarkDotNet.Attributes; using System.Diagnostics.CodeAnalysis; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Benchmarks; +namespace Orleans.Testing.Simulation.Benchmarks; [MemoryDiagnoser] [SuppressMessage( diff --git a/benchmarks/Clockwork.Benchmarks/ReplayRunnerBenchmarks.cs b/benchmarks/Clockwork.Benchmarks/ReplayRunnerBenchmarks.cs index 9a1f3b24..2454135c 100644 --- a/benchmarks/Clockwork.Benchmarks/ReplayRunnerBenchmarks.cs +++ b/benchmarks/Clockwork.Benchmarks/ReplayRunnerBenchmarks.cs @@ -1,8 +1,8 @@ using BenchmarkDotNet.Attributes; -using Clockwork.Runtime.Replay; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Replay; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Benchmarks; +namespace Orleans.Testing.Simulation.Benchmarks; [MemoryDiagnoser] public class ReplayRunnerBenchmarks diff --git a/benchmarks/Clockwork.Benchmarks/SchedulerAllocationBenchmarks.cs b/benchmarks/Clockwork.Benchmarks/SchedulerAllocationBenchmarks.cs index 146ccd0f..86d6cc1b 100644 --- a/benchmarks/Clockwork.Benchmarks/SchedulerAllocationBenchmarks.cs +++ b/benchmarks/Clockwork.Benchmarks/SchedulerAllocationBenchmarks.cs @@ -1,6 +1,6 @@ using BenchmarkDotNet.Attributes; -namespace Clockwork.Benchmarks; +namespace Orleans.Testing.Simulation.Benchmarks; [MemoryDiagnoser] public class SchedulerAllocationBenchmarks diff --git a/benchmarks/Clockwork.Benchmarks/SchedulerBenchmarkWorkload.cs b/benchmarks/Clockwork.Benchmarks/SchedulerBenchmarkWorkload.cs index a43775f9..7547a13a 100644 --- a/benchmarks/Clockwork.Benchmarks/SchedulerBenchmarkWorkload.cs +++ b/benchmarks/Clockwork.Benchmarks/SchedulerBenchmarkWorkload.cs @@ -1,8 +1,8 @@ -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Decisions; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Decisions; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Benchmarks; +namespace Orleans.Testing.Simulation.Benchmarks; internal static class SchedulerBenchmarkWorkload { diff --git a/benchmarks/Clockwork.Benchmarks/SchedulerDecisionLogBenchmarks.cs b/benchmarks/Clockwork.Benchmarks/SchedulerDecisionLogBenchmarks.cs index 9ff757cc..8903b4cf 100644 --- a/benchmarks/Clockwork.Benchmarks/SchedulerDecisionLogBenchmarks.cs +++ b/benchmarks/Clockwork.Benchmarks/SchedulerDecisionLogBenchmarks.cs @@ -1,7 +1,7 @@ using BenchmarkDotNet.Attributes; -using Clockwork.Runtime.Decisions; +using Orleans.Testing.Simulation.Runtime.Decisions; -namespace Clockwork.Benchmarks; +namespace Orleans.Testing.Simulation.Benchmarks; [MemoryDiagnoser] public class SchedulerDecisionLogBenchmarks diff --git a/benchmarks/Clockwork.Benchmarks/SchedulerReadinessBenchmarks.cs b/benchmarks/Clockwork.Benchmarks/SchedulerReadinessBenchmarks.cs index eeb92ef0..f2117e10 100644 --- a/benchmarks/Clockwork.Benchmarks/SchedulerReadinessBenchmarks.cs +++ b/benchmarks/Clockwork.Benchmarks/SchedulerReadinessBenchmarks.cs @@ -1,6 +1,6 @@ using BenchmarkDotNet.Attributes; -namespace Clockwork.Benchmarks; +namespace Orleans.Testing.Simulation.Benchmarks; [MemoryDiagnoser] public class SchedulerReadinessBenchmarks diff --git a/benchmarks/Clockwork.Benchmarks/SchedulerScalingBenchmarks.cs b/benchmarks/Clockwork.Benchmarks/SchedulerScalingBenchmarks.cs index cb549781..5554de21 100644 --- a/benchmarks/Clockwork.Benchmarks/SchedulerScalingBenchmarks.cs +++ b/benchmarks/Clockwork.Benchmarks/SchedulerScalingBenchmarks.cs @@ -1,6 +1,6 @@ using BenchmarkDotNet.Attributes; -namespace Clockwork.Benchmarks; +namespace Orleans.Testing.Simulation.Benchmarks; [MemoryDiagnoser] public class SchedulerScalingBenchmarks diff --git a/benchmarks/Clockwork.Benchmarks/SimulationTimerQueueBenchmarks.cs b/benchmarks/Clockwork.Benchmarks/SimulationTimerQueueBenchmarks.cs index cf9ed2f7..5342cc10 100644 --- a/benchmarks/Clockwork.Benchmarks/SimulationTimerQueueBenchmarks.cs +++ b/benchmarks/Clockwork.Benchmarks/SimulationTimerQueueBenchmarks.cs @@ -1,7 +1,7 @@ using BenchmarkDotNet.Attributes; -using Clockwork.Runtime.Scheduling.Resources; +using Orleans.Testing.Simulation.Runtime.Scheduling.Resources; -namespace Clockwork.Benchmarks; +namespace Orleans.Testing.Simulation.Benchmarks; [MemoryDiagnoser] public class SimulationTimerQueueBenchmarks diff --git a/docs/compatibility.md b/docs/compatibility.md index a4f8da24..edc85292 100644 --- a/docs/compatibility.md +++ b/docs/compatibility.md @@ -443,8 +443,8 @@ recovered to a rewriteable managed closure. The built-in simulation rule set `clockwork.bcl.deterministic` (version `3.0.0`), redirects the direct **static** time / identity / random BCL surface to Cecil-free runtime -shims in the `Clockwork` assembly, under namespaces matching -`Clockwork.Shims.`. The complete, exhaustive +shims in the `Orleans.Testing.Simulation` assembly, under namespaces matching +`Orleans.Testing.Simulation.Shims.`. The complete, exhaustive list of controlled and rejected signatures is generated into [`rule-inventory.md`](rule-inventory.md) and verified against the shipped rules by a test, so the published inventory can never drift from the code. @@ -516,7 +516,7 @@ verified against the shipped rules by a test. The rule set has two halves. A **member-aware type substitution** pass retargets the compiler-generated builder and awaiter types of an `async` state machine onto controlled -value-type equivalents in `Clockwork.Shims.System.Runtime.CompilerServices` +value-type equivalents in `Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices` (`AsyncTaskMethodBuilder`(``) → `ControlledAsyncTaskMethodBuilder`(``); `TaskAwaiter`(``), `ConfiguredTaskAwaitable`(``)`/ConfiguredTaskAwaiter`, and `YieldAwaitable`/`YieldAwaiter` → their `Controlled…` counterparts), rewriting field, local, method- and field-reference, and @@ -562,7 +562,7 @@ generic `Task` overloads** (array, span, enumerable, and the `WhenAny` pai `Task.ContinueWith`/`Task.ContinueWith` overloads, all 48 `TaskFactory`/`TaskFactory` `ContinueWhenAll`/`ContinueWhenAny` overloads, the `ValueTask`/`ValueTask` `AsTask` and `Preserve` conversions, and the completion members of `TaskCompletionSource`/`TaskCompletionSource` to shims in -`Clockwork.Shims.System.Threading.Tasks`, and rejects every `TaskFactory`/`TaskFactory` `FromAsync` overload at +`Orleans.Testing.Simulation.Shims.System.Threading.Tasks`, and rejects every `TaskFactory`/`TaskFactory` `FromAsync` overload at the call site. Synchronous waits **pump the coordinator loop until completion instead of blocking a physical thread**, then delegate to the real API to reproduce its exact `AggregateException` semantics, so a synchronous wait or a blocking @@ -720,7 +720,7 @@ inside a task which hides it, run inline on the logical thread. That covers the `ManualResetValueTaskSourceCore` completion shims, `CancellationTokenSource.Cancel` and the cancellations its virtual timer and `CancelAsync` make, the controlled synchronization primitives' waiters, rendezvous, and timers, and the promises of the controlled combinators and continuations. A bare continuation of the task then runs inline, on the -logical thread, as the BCL runs it on a thread-pool thread. Inside the Clockwork assembly, analyzer rule `CW1004` rejects +logical thread, as the BCL runs it on a thread-pool thread. Inside the `Orleans.Testing.Simulation` assembly, analyzer rule `CW1004` rejects any call to these completion members outside that one path. Around the completion the BCL's behavior is kept where it differs: @@ -1337,7 +1337,7 @@ The implemented package boundaries under `src/` map to the modes above: | `Orleans.Testing.Simulation.Testing` | `Orleans.Testing.Simulation` | Reusable test helpers, scenario builders, and in-memory log capture for consumers. | `Orleans.Testing.Simulation.Testing` remains a separate helper project while retaining the -`Clockwork.Testing` namespace boundary. Application hosting and transport models are +`Orleans.Testing.Simulation.Testing` namespace boundary. Application hosting and transport models are consumer-owned and outside the Clockwork core; consumers compose them over `SimulationNetwork` and the generic application-composition APIs, and no dedicated hosting or HTTP packages ship. Exact shipped interception behavior is defined by [`rule-inventory.md`](rule-inventory.md). diff --git a/docs/coyote-parity.md b/docs/coyote-parity.md index 1517ba12..bf5c3265 100644 --- a/docs/coyote-parity.md +++ b/docs/coyote-parity.md @@ -161,7 +161,7 @@ Coyote wraps TCS so the produced task is a controlled task. Clockwork keeps the `TaskCompletionSource` and `TaskCompletionSource`, with their real `TaskCreationOptions`: the controlled awaiters, combinators, and continuations observe the produced task through the coordinator and register no BCL continuation on it, so `RunContinuationsAsynchronously` sends none of them to the thread pool. Only the completion -members redirect, to `Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource`, which completes the +members redirect, to `Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource`, which completes the source through the same member and publishes the race-detection release edge. | Coyote surface | Clockwork status | Notes | diff --git a/docs/replay.md b/docs/replay.md index 188b8075..d8050fe3 100644 --- a/docs/replay.md +++ b/docs/replay.md @@ -236,7 +236,7 @@ by attempt count and optional wall-clock time. ## Test integration -`Clockwork.Testing.ReplayTestFixture` derives its default simulation seed with +`Orleans.Testing.Simulation.Testing.ReplayTestFixture` derives its default simulation seed with `SimulationSeed.FromStrings(testClass, testMethod)`. Failed runs write an artifact and expose its path through `ReplayTestResult.ArtifactPath`, `ToFailureMessage()`, and `GetReplayCommand(...)`. diff --git a/docs/rule-inventory.md b/docs/rule-inventory.md index 957ec49b..95d28f0c 100644 --- a/docs/rule-inventory.md +++ b/docs/rule-inventory.md @@ -1,6 +1,6 @@ # Built-in rewrite rule inventory - This is the exact, exhaustive surface the built-in rule sets redirect. Every other API is **not** rewritten. Instrumented closure binaries are simulation/test artifacts: every Controlled entry point requires an active Clockwork simulation, and an active simulation with no registered runtime service fails explicitly rather than use real time, randomness, or an uncontrolled task. Uninstrumented production binaries retain ordinary BCL behavior. @@ -18,15 +18,15 @@ Policy: **Controlled**. Wall-clock, offset-clock, monotonic timestamp, and tick- | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.bcl.datetime.now` | `System.DateTime::get_Now()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.ControlledDateTime::GetNow()` | Controlled | -| `clockwork.bcl.datetime.utcnow` | `System.DateTime::get_UtcNow()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.ControlledDateTime::GetUtcNow()` | Controlled | -| `clockwork.bcl.datetime.today` | `System.DateTime::get_Today()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.ControlledDateTime::GetToday()` | Controlled | -| `clockwork.bcl.datetimeoffset.now` | `System.DateTimeOffset::get_Now()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.ControlledDateTimeOffset::GetNow()` | Controlled | -| `clockwork.bcl.datetimeoffset.utcnow` | `System.DateTimeOffset::get_UtcNow()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.ControlledDateTimeOffset::GetUtcNow()` | Controlled | -| `clockwork.bcl.stopwatch.gettimestamp` | `System.Diagnostics.Stopwatch::GetTimestamp()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Diagnostics.ControlledStopwatch::GetTimestamp()` | Controlled | -| `clockwork.bcl.stopwatch.getelapsedtime` | `System.Diagnostics.Stopwatch::GetElapsedTime(System.Int64)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Diagnostics.ControlledStopwatch::GetElapsedTime(System.Int64)` | Controlled | -| `clockwork.bcl.environment.tickcount` | `System.Environment::get_TickCount()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.ControlledEnvironment::GetTickCount()` | Controlled | -| `clockwork.bcl.environment.tickcount64` | `System.Environment::get_TickCount64()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.ControlledEnvironment::GetTickCount64()` | Controlled | +| `clockwork.bcl.datetime.now` | `System.DateTime::get_Now()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.ControlledDateTime::GetNow()` | Controlled | +| `clockwork.bcl.datetime.utcnow` | `System.DateTime::get_UtcNow()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.ControlledDateTime::GetUtcNow()` | Controlled | +| `clockwork.bcl.datetime.today` | `System.DateTime::get_Today()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.ControlledDateTime::GetToday()` | Controlled | +| `clockwork.bcl.datetimeoffset.now` | `System.DateTimeOffset::get_Now()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.ControlledDateTimeOffset::GetNow()` | Controlled | +| `clockwork.bcl.datetimeoffset.utcnow` | `System.DateTimeOffset::get_UtcNow()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.ControlledDateTimeOffset::GetUtcNow()` | Controlled | +| `clockwork.bcl.stopwatch.gettimestamp` | `System.Diagnostics.Stopwatch::GetTimestamp()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Diagnostics.ControlledStopwatch::GetTimestamp()` | Controlled | +| `clockwork.bcl.stopwatch.getelapsedtime` | `System.Diagnostics.Stopwatch::GetElapsedTime(System.Int64)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Diagnostics.ControlledStopwatch::GetElapsedTime(System.Int64)` | Controlled | +| `clockwork.bcl.environment.tickcount` | `System.Environment::get_TickCount()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.ControlledEnvironment::GetTickCount()` | Controlled | +| `clockwork.bcl.environment.tickcount64` | `System.Environment::get_TickCount64()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.ControlledEnvironment::GetTickCount64()` | Controlled | ## Identity family @@ -34,9 +34,9 @@ Policy: **Controlled**. GUIDs draw deterministic bytes while preserving RFC 4122 | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.bcl.guid.newguid` | `System.Guid::NewGuid()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.ControlledGuid::NewGuid()` | Controlled | -| `clockwork.bcl.guid.createversion7` | `System.Guid::CreateVersion7()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.ControlledGuid::CreateVersion7()` | Controlled | -| `clockwork.bcl.guid.createversion7.timestamp` | `System.Guid::CreateVersion7(System.DateTimeOffset)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.ControlledGuid::CreateVersion7(System.DateTimeOffset)` | Controlled | +| `clockwork.bcl.guid.newguid` | `System.Guid::NewGuid()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.ControlledGuid::NewGuid()` | Controlled | +| `clockwork.bcl.guid.createversion7` | `System.Guid::CreateVersion7()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.ControlledGuid::CreateVersion7()` | Controlled | +| `clockwork.bcl.guid.createversion7.timestamp` | `System.Guid::CreateVersion7(System.DateTimeOffset)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.ControlledGuid::CreateVersion7(System.DateTimeOffset)` | Controlled | ## Random family @@ -44,9 +44,9 @@ Policy: **Controlled**. `Random.Shared` and unseeded `new Random()` become per-n | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.bcl.random.shared` | `System.Random::get_Shared()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.ControlledRandom::GetShared()` | Controlled | -| `clockwork.bcl.random.ctor.unseeded` | `new System.Random()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.ControlledRandom::CreateUnseeded()` | Controlled | -| `clockwork.bcl.random.ctor.seeded` | `new System.Random(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.ControlledRandom::CreateSeeded(System.Int32)` | Controlled | +| `clockwork.bcl.random.shared` | `System.Random::get_Shared()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.ControlledRandom::GetShared()` | Controlled | +| `clockwork.bcl.random.ctor.unseeded` | `new System.Random()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.ControlledRandom::CreateUnseeded()` | Controlled | +| `clockwork.bcl.random.ctor.seeded` | `new System.Random(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.ControlledRandom::CreateSeeded(System.Int32)` | Controlled | ## Crypto family @@ -54,18 +54,18 @@ Policy: **Controlled**. Static random APIs are redirected to `ControlledRandomNu | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.bcl.rng.create` | `System.Security.Cryptography.RandomNumberGenerator::Create()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::Create()` | Controlled | -| `clockwork.bcl.rng.create.named` | `System.Security.Cryptography.RandomNumberGenerator::Create(System.String)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::Create(System.String)` | Controlled | -| `clockwork.bcl.rng.fill` | `` System.Security.Cryptography.RandomNumberGenerator::Fill(System.Span`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::Fill(System.Span`1) `` | Controlled | -| `clockwork.bcl.rng.getbytes.count` | `System.Security.Cryptography.RandomNumberGenerator::GetBytes(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::GetBytes(System.Int32)` | Controlled | -| `clockwork.bcl.rng.getint32.exclusive` | `System.Security.Cryptography.RandomNumberGenerator::GetInt32(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::GetInt32(System.Int32)` | Controlled | -| `clockwork.bcl.rng.getint32.range` | `System.Security.Cryptography.RandomNumberGenerator::GetInt32(System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::GetInt32(System.Int32,System.Int32)` | Controlled | -| `clockwork.bcl.rng.getitems.span` | `` System.Security.Cryptography.RandomNumberGenerator::GetItems(System.ReadOnlySpan`1,System.Span`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::GetItems(System.ReadOnlySpan`1,System.Span`1) `` | Controlled | -| `clockwork.bcl.rng.getitems.length` | `` System.Security.Cryptography.RandomNumberGenerator::GetItems(System.ReadOnlySpan`1,System.Int32) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::GetItems(System.ReadOnlySpan`1,System.Int32) `` | Controlled | -| `clockwork.bcl.rng.gethexstring.span` | `` System.Security.Cryptography.RandomNumberGenerator::GetHexString(System.Span`1,System.Boolean) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::GetHexString(System.Span`1,System.Boolean) `` | Controlled | -| `clockwork.bcl.rng.gethexstring.length` | `System.Security.Cryptography.RandomNumberGenerator::GetHexString(System.Int32,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::GetHexString(System.Int32,System.Boolean)` | Controlled | -| `clockwork.bcl.rng.getstring` | `` System.Security.Cryptography.RandomNumberGenerator::GetString(System.ReadOnlySpan`1,System.Int32) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::GetString(System.ReadOnlySpan`1,System.Int32) `` | Controlled | -| `clockwork.bcl.rng.shuffle` | `` System.Security.Cryptography.RandomNumberGenerator::Shuffle(System.Span`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::Shuffle(System.Span`1) `` | Controlled | +| `clockwork.bcl.rng.create` | `System.Security.Cryptography.RandomNumberGenerator::Create()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::Create()` | Controlled | +| `clockwork.bcl.rng.create.named` | `System.Security.Cryptography.RandomNumberGenerator::Create(System.String)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::Create(System.String)` | Controlled | +| `clockwork.bcl.rng.fill` | `` System.Security.Cryptography.RandomNumberGenerator::Fill(System.Span`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::Fill(System.Span`1) `` | Controlled | +| `clockwork.bcl.rng.getbytes.count` | `System.Security.Cryptography.RandomNumberGenerator::GetBytes(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::GetBytes(System.Int32)` | Controlled | +| `clockwork.bcl.rng.getint32.exclusive` | `System.Security.Cryptography.RandomNumberGenerator::GetInt32(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::GetInt32(System.Int32)` | Controlled | +| `clockwork.bcl.rng.getint32.range` | `System.Security.Cryptography.RandomNumberGenerator::GetInt32(System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::GetInt32(System.Int32,System.Int32)` | Controlled | +| `clockwork.bcl.rng.getitems.span` | `` System.Security.Cryptography.RandomNumberGenerator::GetItems(System.ReadOnlySpan`1,System.Span`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::GetItems(System.ReadOnlySpan`1,System.Span`1) `` | Controlled | +| `clockwork.bcl.rng.getitems.length` | `` System.Security.Cryptography.RandomNumberGenerator::GetItems(System.ReadOnlySpan`1,System.Int32) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::GetItems(System.ReadOnlySpan`1,System.Int32) `` | Controlled | +| `clockwork.bcl.rng.gethexstring.span` | `` System.Security.Cryptography.RandomNumberGenerator::GetHexString(System.Span`1,System.Boolean) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::GetHexString(System.Span`1,System.Boolean) `` | Controlled | +| `clockwork.bcl.rng.gethexstring.length` | `System.Security.Cryptography.RandomNumberGenerator::GetHexString(System.Int32,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::GetHexString(System.Int32,System.Boolean)` | Controlled | +| `clockwork.bcl.rng.getstring` | `` System.Security.Cryptography.RandomNumberGenerator::GetString(System.ReadOnlySpan`1,System.Int32) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::GetString(System.ReadOnlySpan`1,System.Int32) `` | Controlled | +| `clockwork.bcl.rng.shuffle` | `` System.Security.Cryptography.RandomNumberGenerator::Shuffle(System.Span`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator::Shuffle(System.Span`1) `` | Controlled | # Controlled task rule set @@ -80,28 +80,28 @@ Policy: **Controlled**. `Task.WhenAll`/`WhenAny` (the non-generic `Task[]`, `IEn | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.tasks.whenall.array` | `System.Threading.Tasks.Task::WhenAll(System.Threading.Tasks.Task[])` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WhenAll(System.Threading.Tasks.Task[])` | Controlled | -| `clockwork.tasks.whenall.span` | `` System.Threading.Tasks.Task::WhenAll(System.ReadOnlySpan`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WhenAll(System.ReadOnlySpan`1) `` | Controlled | -| `clockwork.tasks.whenall.enumerable` | `` System.Threading.Tasks.Task::WhenAll(System.Collections.Generic.IEnumerable`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WhenAll(System.Collections.Generic.IEnumerable`1) `` | Controlled | -| `clockwork.tasks.whenany.array` | `System.Threading.Tasks.Task::WhenAny(System.Threading.Tasks.Task[])` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WhenAny(System.Threading.Tasks.Task[])` | Controlled | -| `clockwork.tasks.whenany.span` | `` System.Threading.Tasks.Task::WhenAny(System.ReadOnlySpan`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WhenAny(System.ReadOnlySpan`1) `` | Controlled | -| `clockwork.tasks.whenany.pair` | `System.Threading.Tasks.Task::WhenAny(System.Threading.Tasks.Task,System.Threading.Tasks.Task)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WhenAny(System.Threading.Tasks.Task,System.Threading.Tasks.Task)` | Controlled | -| `clockwork.tasks.whenany.enumerable` | `` System.Threading.Tasks.Task::WhenAny(System.Collections.Generic.IEnumerable`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WhenAny(System.Collections.Generic.IEnumerable`1) `` | Controlled | -| `clockwork.tasks.whenall.generic.array` | `` System.Threading.Tasks.Task::WhenAll(System.Threading.Tasks.Task`1[]) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WhenAll(System.Threading.Tasks.Task`1[]) `` | Controlled | -| `clockwork.tasks.whenall.generic.span` | `` System.Threading.Tasks.Task::WhenAll(System.ReadOnlySpan`1>) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WhenAll(System.ReadOnlySpan`1>) `` | Controlled | -| `clockwork.tasks.whenall.generic.enumerable` | `` System.Threading.Tasks.Task::WhenAll(System.Collections.Generic.IEnumerable`1>) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WhenAll(System.Collections.Generic.IEnumerable`1>) `` | Controlled | -| `clockwork.tasks.whenany.generic.array` | `` System.Threading.Tasks.Task::WhenAny(System.Threading.Tasks.Task`1[]) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WhenAny(System.Threading.Tasks.Task`1[]) `` | Controlled | -| `clockwork.tasks.whenany.generic.span` | `` System.Threading.Tasks.Task::WhenAny(System.ReadOnlySpan`1>) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WhenAny(System.ReadOnlySpan`1>) `` | Controlled | -| `clockwork.tasks.whenany.generic.pair` | `` System.Threading.Tasks.Task::WhenAny(System.Threading.Tasks.Task`1,System.Threading.Tasks.Task`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WhenAny(System.Threading.Tasks.Task`1,System.Threading.Tasks.Task`1) `` | Controlled | -| `clockwork.tasks.whenany.generic.enumerable` | `` System.Threading.Tasks.Task::WhenAny(System.Collections.Generic.IEnumerable`1>) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WhenAny(System.Collections.Generic.IEnumerable`1>) `` | Controlled | -| `clockwork.tasks.wheneach.array` | `System.Threading.Tasks.Task::WhenEach(System.Threading.Tasks.Task[])` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WhenEach(System.Threading.Tasks.Task[])` | Controlled | -| `clockwork.tasks.wheneach.span` | `` System.Threading.Tasks.Task::WhenEach(System.ReadOnlySpan`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WhenEach(System.ReadOnlySpan`1) `` | Controlled | -| `clockwork.tasks.wheneach.enumerable` | `` System.Threading.Tasks.Task::WhenEach(System.Collections.Generic.IEnumerable`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WhenEach(System.Collections.Generic.IEnumerable`1) `` | Controlled | -| `clockwork.tasks.wheneach.generic.array` | `` System.Threading.Tasks.Task::WhenEach(System.Threading.Tasks.Task`1[]) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WhenEach(System.Threading.Tasks.Task`1[]) `` | Controlled | -| `clockwork.tasks.wheneach.generic.span` | `` System.Threading.Tasks.Task::WhenEach(System.ReadOnlySpan`1>) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WhenEach(System.ReadOnlySpan`1>) `` | Controlled | -| `clockwork.tasks.wheneach.generic.enumerable` | `` System.Threading.Tasks.Task::WhenEach(System.Collections.Generic.IEnumerable`1>) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WhenEach(System.Collections.Generic.IEnumerable`1>) `` | Controlled | -| `clockwork.tasks.unwrap` | `` System.Threading.Tasks.TaskExtensions::Unwrap(System.Threading.Tasks.Task`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Unwrap(System.Threading.Tasks.Task`1) `` | Controlled | -| `clockwork.tasks.unwrap.generic` | `` System.Threading.Tasks.TaskExtensions::Unwrap(System.Threading.Tasks.Task`1>) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Unwrap(System.Threading.Tasks.Task`1>) `` | Controlled | +| `clockwork.tasks.whenall.array` | `System.Threading.Tasks.Task::WhenAll(System.Threading.Tasks.Task[])` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WhenAll(System.Threading.Tasks.Task[])` | Controlled | +| `clockwork.tasks.whenall.span` | `` System.Threading.Tasks.Task::WhenAll(System.ReadOnlySpan`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WhenAll(System.ReadOnlySpan`1) `` | Controlled | +| `clockwork.tasks.whenall.enumerable` | `` System.Threading.Tasks.Task::WhenAll(System.Collections.Generic.IEnumerable`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WhenAll(System.Collections.Generic.IEnumerable`1) `` | Controlled | +| `clockwork.tasks.whenany.array` | `System.Threading.Tasks.Task::WhenAny(System.Threading.Tasks.Task[])` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WhenAny(System.Threading.Tasks.Task[])` | Controlled | +| `clockwork.tasks.whenany.span` | `` System.Threading.Tasks.Task::WhenAny(System.ReadOnlySpan`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WhenAny(System.ReadOnlySpan`1) `` | Controlled | +| `clockwork.tasks.whenany.pair` | `System.Threading.Tasks.Task::WhenAny(System.Threading.Tasks.Task,System.Threading.Tasks.Task)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WhenAny(System.Threading.Tasks.Task,System.Threading.Tasks.Task)` | Controlled | +| `clockwork.tasks.whenany.enumerable` | `` System.Threading.Tasks.Task::WhenAny(System.Collections.Generic.IEnumerable`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WhenAny(System.Collections.Generic.IEnumerable`1) `` | Controlled | +| `clockwork.tasks.whenall.generic.array` | `` System.Threading.Tasks.Task::WhenAll(System.Threading.Tasks.Task`1[]) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WhenAll(System.Threading.Tasks.Task`1[]) `` | Controlled | +| `clockwork.tasks.whenall.generic.span` | `` System.Threading.Tasks.Task::WhenAll(System.ReadOnlySpan`1>) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WhenAll(System.ReadOnlySpan`1>) `` | Controlled | +| `clockwork.tasks.whenall.generic.enumerable` | `` System.Threading.Tasks.Task::WhenAll(System.Collections.Generic.IEnumerable`1>) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WhenAll(System.Collections.Generic.IEnumerable`1>) `` | Controlled | +| `clockwork.tasks.whenany.generic.array` | `` System.Threading.Tasks.Task::WhenAny(System.Threading.Tasks.Task`1[]) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WhenAny(System.Threading.Tasks.Task`1[]) `` | Controlled | +| `clockwork.tasks.whenany.generic.span` | `` System.Threading.Tasks.Task::WhenAny(System.ReadOnlySpan`1>) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WhenAny(System.ReadOnlySpan`1>) `` | Controlled | +| `clockwork.tasks.whenany.generic.pair` | `` System.Threading.Tasks.Task::WhenAny(System.Threading.Tasks.Task`1,System.Threading.Tasks.Task`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WhenAny(System.Threading.Tasks.Task`1,System.Threading.Tasks.Task`1) `` | Controlled | +| `clockwork.tasks.whenany.generic.enumerable` | `` System.Threading.Tasks.Task::WhenAny(System.Collections.Generic.IEnumerable`1>) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WhenAny(System.Collections.Generic.IEnumerable`1>) `` | Controlled | +| `clockwork.tasks.wheneach.array` | `System.Threading.Tasks.Task::WhenEach(System.Threading.Tasks.Task[])` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WhenEach(System.Threading.Tasks.Task[])` | Controlled | +| `clockwork.tasks.wheneach.span` | `` System.Threading.Tasks.Task::WhenEach(System.ReadOnlySpan`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WhenEach(System.ReadOnlySpan`1) `` | Controlled | +| `clockwork.tasks.wheneach.enumerable` | `` System.Threading.Tasks.Task::WhenEach(System.Collections.Generic.IEnumerable`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WhenEach(System.Collections.Generic.IEnumerable`1) `` | Controlled | +| `clockwork.tasks.wheneach.generic.array` | `` System.Threading.Tasks.Task::WhenEach(System.Threading.Tasks.Task`1[]) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WhenEach(System.Threading.Tasks.Task`1[]) `` | Controlled | +| `clockwork.tasks.wheneach.generic.span` | `` System.Threading.Tasks.Task::WhenEach(System.ReadOnlySpan`1>) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WhenEach(System.ReadOnlySpan`1>) `` | Controlled | +| `clockwork.tasks.wheneach.generic.enumerable` | `` System.Threading.Tasks.Task::WhenEach(System.Collections.Generic.IEnumerable`1>) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WhenEach(System.Collections.Generic.IEnumerable`1>) `` | Controlled | +| `clockwork.tasks.unwrap` | `` System.Threading.Tasks.TaskExtensions::Unwrap(System.Threading.Tasks.Task`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Unwrap(System.Threading.Tasks.Task`1) `` | Controlled | +| `clockwork.tasks.unwrap.generic` | `` System.Threading.Tasks.TaskExtensions::Unwrap(System.Threading.Tasks.Task`1>) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Unwrap(System.Threading.Tasks.Task`1>) `` | Controlled | ## TaskSynchronization family @@ -109,27 +109,27 @@ Policy: **Controlled**. Every `Task.Wait`, `Task.WaitAll`, and `Task.WaitAny` ov | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.tasks.wait.instance` | `System.Threading.Tasks.Task::Wait()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Wait(System.Threading.Tasks.Task)` | Controlled | -| `clockwork.tasks.waitall.array` | `System.Threading.Tasks.Task::WaitAll(System.Threading.Tasks.Task[])` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAll(System.Threading.Tasks.Task[])` | Controlled | -| `clockwork.tasks.waitany.array` | `System.Threading.Tasks.Task::WaitAny(System.Threading.Tasks.Task[])` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAny(System.Threading.Tasks.Task[])` | Controlled | -| `clockwork.tasks.wait.milliseconds` | `System.Threading.Tasks.Task::Wait(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Wait(System.Threading.Tasks.Task,System.Int32)` | Controlled | -| `clockwork.tasks.wait.milliseconds.cancellationtoken` | `System.Threading.Tasks.Task::Wait(System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Wait(System.Threading.Tasks.Task,System.Int32,System.Threading.CancellationToken)` | Controlled | -| `clockwork.tasks.wait.cancellationtoken` | `System.Threading.Tasks.Task::Wait(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Wait(System.Threading.Tasks.Task,System.Threading.CancellationToken)` | Controlled | -| `clockwork.tasks.wait.timespan` | `System.Threading.Tasks.Task::Wait(System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Wait(System.Threading.Tasks.Task,System.TimeSpan)` | Controlled | -| `clockwork.tasks.wait.timespan.cancellationtoken` | `System.Threading.Tasks.Task::Wait(System.TimeSpan,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Wait(System.Threading.Tasks.Task,System.TimeSpan,System.Threading.CancellationToken)` | Controlled | -| `clockwork.tasks.waitall.array.milliseconds` | `System.Threading.Tasks.Task::WaitAll(System.Threading.Tasks.Task[],System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAll(System.Threading.Tasks.Task[],System.Int32)` | Controlled | -| `clockwork.tasks.waitall.array.milliseconds.cancellationtoken` | `System.Threading.Tasks.Task::WaitAll(System.Threading.Tasks.Task[],System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAll(System.Threading.Tasks.Task[],System.Int32,System.Threading.CancellationToken)` | Controlled | -| `clockwork.tasks.waitall.array.cancellationtoken` | `System.Threading.Tasks.Task::WaitAll(System.Threading.Tasks.Task[],System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAll(System.Threading.Tasks.Task[],System.Threading.CancellationToken)` | Controlled | -| `clockwork.tasks.waitall.array.timespan` | `System.Threading.Tasks.Task::WaitAll(System.Threading.Tasks.Task[],System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAll(System.Threading.Tasks.Task[],System.TimeSpan)` | Controlled | -| `clockwork.tasks.waitall.enumerable.cancellationtoken` | `` System.Threading.Tasks.Task::WaitAll(System.Collections.Generic.IEnumerable`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAll(System.Collections.Generic.IEnumerable`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.waitall.span` | `` System.Threading.Tasks.Task::WaitAll(System.ReadOnlySpan`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAll(System.ReadOnlySpan`1) `` | Controlled | -| `clockwork.tasks.waitany.array.milliseconds` | `System.Threading.Tasks.Task::WaitAny(System.Threading.Tasks.Task[],System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAny(System.Threading.Tasks.Task[],System.Int32)` | Controlled | -| `clockwork.tasks.waitany.array.milliseconds.cancellationtoken` | `System.Threading.Tasks.Task::WaitAny(System.Threading.Tasks.Task[],System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAny(System.Threading.Tasks.Task[],System.Int32,System.Threading.CancellationToken)` | Controlled | -| `clockwork.tasks.waitany.array.cancellationtoken` | `System.Threading.Tasks.Task::WaitAny(System.Threading.Tasks.Task[],System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAny(System.Threading.Tasks.Task[],System.Threading.CancellationToken)` | Controlled | -| `clockwork.tasks.waitany.array.timespan` | `System.Threading.Tasks.Task::WaitAny(System.Threading.Tasks.Task[],System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAny(System.Threading.Tasks.Task[],System.TimeSpan)` | Controlled | -| `clockwork.tasks.result.generic` | `` System.Threading.Tasks.Task`1::get_Result() `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Result(System.Threading.Tasks.Task`1) `` | Controlled | -| `clockwork.tasks.valuetask.result.generic` | `` System.Threading.Tasks.ValueTask`1::get_Result() `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledValueTask::Result(System.Threading.Tasks.ValueTask`1&) `` | Controlled | -| `clockwork.tasks.asyncenumerable.toblockingenumerable` | `` System.Threading.Tasks.TaskAsyncEnumerableExtensions::ToBlockingEnumerable(System.Collections.Generic.IAsyncEnumerable`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskAsyncEnumerableExtensions::ToBlockingEnumerable(System.Collections.Generic.IAsyncEnumerable`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.wait.instance` | `System.Threading.Tasks.Task::Wait()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Wait(System.Threading.Tasks.Task)` | Controlled | +| `clockwork.tasks.waitall.array` | `System.Threading.Tasks.Task::WaitAll(System.Threading.Tasks.Task[])` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAll(System.Threading.Tasks.Task[])` | Controlled | +| `clockwork.tasks.waitany.array` | `System.Threading.Tasks.Task::WaitAny(System.Threading.Tasks.Task[])` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAny(System.Threading.Tasks.Task[])` | Controlled | +| `clockwork.tasks.wait.milliseconds` | `System.Threading.Tasks.Task::Wait(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Wait(System.Threading.Tasks.Task,System.Int32)` | Controlled | +| `clockwork.tasks.wait.milliseconds.cancellationtoken` | `System.Threading.Tasks.Task::Wait(System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Wait(System.Threading.Tasks.Task,System.Int32,System.Threading.CancellationToken)` | Controlled | +| `clockwork.tasks.wait.cancellationtoken` | `System.Threading.Tasks.Task::Wait(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Wait(System.Threading.Tasks.Task,System.Threading.CancellationToken)` | Controlled | +| `clockwork.tasks.wait.timespan` | `System.Threading.Tasks.Task::Wait(System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Wait(System.Threading.Tasks.Task,System.TimeSpan)` | Controlled | +| `clockwork.tasks.wait.timespan.cancellationtoken` | `System.Threading.Tasks.Task::Wait(System.TimeSpan,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Wait(System.Threading.Tasks.Task,System.TimeSpan,System.Threading.CancellationToken)` | Controlled | +| `clockwork.tasks.waitall.array.milliseconds` | `System.Threading.Tasks.Task::WaitAll(System.Threading.Tasks.Task[],System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAll(System.Threading.Tasks.Task[],System.Int32)` | Controlled | +| `clockwork.tasks.waitall.array.milliseconds.cancellationtoken` | `System.Threading.Tasks.Task::WaitAll(System.Threading.Tasks.Task[],System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAll(System.Threading.Tasks.Task[],System.Int32,System.Threading.CancellationToken)` | Controlled | +| `clockwork.tasks.waitall.array.cancellationtoken` | `System.Threading.Tasks.Task::WaitAll(System.Threading.Tasks.Task[],System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAll(System.Threading.Tasks.Task[],System.Threading.CancellationToken)` | Controlled | +| `clockwork.tasks.waitall.array.timespan` | `System.Threading.Tasks.Task::WaitAll(System.Threading.Tasks.Task[],System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAll(System.Threading.Tasks.Task[],System.TimeSpan)` | Controlled | +| `clockwork.tasks.waitall.enumerable.cancellationtoken` | `` System.Threading.Tasks.Task::WaitAll(System.Collections.Generic.IEnumerable`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAll(System.Collections.Generic.IEnumerable`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.waitall.span` | `` System.Threading.Tasks.Task::WaitAll(System.ReadOnlySpan`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAll(System.ReadOnlySpan`1) `` | Controlled | +| `clockwork.tasks.waitany.array.milliseconds` | `System.Threading.Tasks.Task::WaitAny(System.Threading.Tasks.Task[],System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAny(System.Threading.Tasks.Task[],System.Int32)` | Controlled | +| `clockwork.tasks.waitany.array.milliseconds.cancellationtoken` | `System.Threading.Tasks.Task::WaitAny(System.Threading.Tasks.Task[],System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAny(System.Threading.Tasks.Task[],System.Int32,System.Threading.CancellationToken)` | Controlled | +| `clockwork.tasks.waitany.array.cancellationtoken` | `System.Threading.Tasks.Task::WaitAny(System.Threading.Tasks.Task[],System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAny(System.Threading.Tasks.Task[],System.Threading.CancellationToken)` | Controlled | +| `clockwork.tasks.waitany.array.timespan` | `System.Threading.Tasks.Task::WaitAny(System.Threading.Tasks.Task[],System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAny(System.Threading.Tasks.Task[],System.TimeSpan)` | Controlled | +| `clockwork.tasks.result.generic` | `` System.Threading.Tasks.Task`1::get_Result() `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Result(System.Threading.Tasks.Task`1) `` | Controlled | +| `clockwork.tasks.valuetask.result.generic` | `` System.Threading.Tasks.ValueTask`1::get_Result() `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledValueTask::Result(System.Threading.Tasks.ValueTask`1&) `` | Controlled | +| `clockwork.tasks.asyncenumerable.toblockingenumerable` | `` System.Threading.Tasks.TaskAsyncEnumerableExtensions::ToBlockingEnumerable(System.Collections.Generic.IAsyncEnumerable`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskAsyncEnumerableExtensions::ToBlockingEnumerable(System.Collections.Generic.IAsyncEnumerable`1,System.Threading.CancellationToken) `` | Controlled | ## TaskContinuations family @@ -137,46 +137,46 @@ Policy: **Controlled**. All 40 .NET 11 `Task.ContinueWith` and `Task.Continue | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.tasks.continuewith.action` | `` System.Threading.Tasks.Task::ContinueWith(System.Action`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Action`1) `` | Controlled | -| `clockwork.tasks.continuewith.action.cancellationtoken` | `` System.Threading.Tasks.Task::ContinueWith(System.Action`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Action`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.continuewith.action.scheduler` | `` System.Threading.Tasks.Task::ContinueWith(System.Action`1,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Action`1,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.continuewith.action.options` | `` System.Threading.Tasks.Task::ContinueWith(System.Action`1,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Action`1,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | -| `clockwork.tasks.continuewith.action.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.Task::ContinueWith(System.Action`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Action`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.continuewith.action.state` | `` System.Threading.Tasks.Task::ContinueWith(System.Action`2,System.Object) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Action`2,System.Object) `` | Controlled | -| `clockwork.tasks.continuewith.action.state.cancellationtoken` | `` System.Threading.Tasks.Task::ContinueWith(System.Action`2,System.Object,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Action`2,System.Object,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.continuewith.action.state.scheduler` | `` System.Threading.Tasks.Task::ContinueWith(System.Action`2,System.Object,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Action`2,System.Object,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.continuewith.action.state.options` | `` System.Threading.Tasks.Task::ContinueWith(System.Action`2,System.Object,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Action`2,System.Object,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | -| `clockwork.tasks.continuewith.action.state.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.Task::ContinueWith(System.Action`2,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Action`2,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.continuewith.func` | `` System.Threading.Tasks.Task::ContinueWith(System.Func`2) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Func`2) `` | Controlled | -| `clockwork.tasks.continuewith.func.cancellationtoken` | `` System.Threading.Tasks.Task::ContinueWith(System.Func`2,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Func`2,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.continuewith.func.scheduler` | `` System.Threading.Tasks.Task::ContinueWith(System.Func`2,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Func`2,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.continuewith.func.options` | `` System.Threading.Tasks.Task::ContinueWith(System.Func`2,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Func`2,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | -| `clockwork.tasks.continuewith.func.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.Task::ContinueWith(System.Func`2,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Func`2,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.continuewith.func.state` | `` System.Threading.Tasks.Task::ContinueWith(System.Func`3,System.Object) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Func`3,System.Object) `` | Controlled | -| `clockwork.tasks.continuewith.func.state.cancellationtoken` | `` System.Threading.Tasks.Task::ContinueWith(System.Func`3,System.Object,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Func`3,System.Object,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.continuewith.func.state.scheduler` | `` System.Threading.Tasks.Task::ContinueWith(System.Func`3,System.Object,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Func`3,System.Object,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.continuewith.func.state.options` | `` System.Threading.Tasks.Task::ContinueWith(System.Func`3,System.Object,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Func`3,System.Object,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | -| `clockwork.tasks.continuewith.func.state.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.Task::ContinueWith(System.Func`3,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Func`3,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.continuewith.generic.action` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Action`1>) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Action`1>) `` | Controlled | -| `clockwork.tasks.continuewith.generic.action.cancellationtoken` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Action`1>,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Action`1>,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.continuewith.generic.action.scheduler` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Action`1>,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Action`1>,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.continuewith.generic.action.options` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Action`1>,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Action`1>,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | -| `clockwork.tasks.continuewith.generic.action.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Action`1>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Action`1>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.continuewith.generic.action.state` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Action`2,System.Object>,System.Object) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Action`2,System.Object>,System.Object) `` | Controlled | -| `clockwork.tasks.continuewith.generic.action.state.cancellationtoken` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Action`2,System.Object>,System.Object,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Action`2,System.Object>,System.Object,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.continuewith.generic.action.state.scheduler` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Action`2,System.Object>,System.Object,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Action`2,System.Object>,System.Object,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.continuewith.generic.action.state.options` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Action`2,System.Object>,System.Object,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Action`2,System.Object>,System.Object,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | -| `clockwork.tasks.continuewith.generic.action.state.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Action`2,System.Object>,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Action`2,System.Object>,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.continuewith.generic.func` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Func`2,!!0>) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Func`2,TNewResult>) `` | Controlled | -| `clockwork.tasks.continuewith.generic.func.cancellationtoken` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Func`2,!!0>,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Func`2,TNewResult>,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.continuewith.generic.func.scheduler` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Func`2,!!0>,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Func`2,TNewResult>,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.continuewith.generic.func.options` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Func`2,!!0>,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Func`2,TNewResult>,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | -| `clockwork.tasks.continuewith.generic.func.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Func`2,!!0>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Func`2,TNewResult>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.continuewith.generic.func.state` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Func`3,System.Object,!!0>,System.Object) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Func`3,System.Object,TNewResult>,System.Object) `` | Controlled | -| `clockwork.tasks.continuewith.generic.func.state.cancellationtoken` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Func`3,System.Object,!!0>,System.Object,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Func`3,System.Object,TNewResult>,System.Object,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.continuewith.generic.func.state.scheduler` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Func`3,System.Object,!!0>,System.Object,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Func`3,System.Object,TNewResult>,System.Object,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.continuewith.generic.func.state.options` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Func`3,System.Object,!!0>,System.Object,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Func`3,System.Object,TNewResult>,System.Object,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | -| `clockwork.tasks.continuewith.generic.func.state.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Func`3,System.Object,!!0>,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Func`3,System.Object,TNewResult>,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.continuewith.action` | `` System.Threading.Tasks.Task::ContinueWith(System.Action`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Action`1) `` | Controlled | +| `clockwork.tasks.continuewith.action.cancellationtoken` | `` System.Threading.Tasks.Task::ContinueWith(System.Action`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Action`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.continuewith.action.scheduler` | `` System.Threading.Tasks.Task::ContinueWith(System.Action`1,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Action`1,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.continuewith.action.options` | `` System.Threading.Tasks.Task::ContinueWith(System.Action`1,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Action`1,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | +| `clockwork.tasks.continuewith.action.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.Task::ContinueWith(System.Action`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Action`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.continuewith.action.state` | `` System.Threading.Tasks.Task::ContinueWith(System.Action`2,System.Object) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Action`2,System.Object) `` | Controlled | +| `clockwork.tasks.continuewith.action.state.cancellationtoken` | `` System.Threading.Tasks.Task::ContinueWith(System.Action`2,System.Object,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Action`2,System.Object,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.continuewith.action.state.scheduler` | `` System.Threading.Tasks.Task::ContinueWith(System.Action`2,System.Object,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Action`2,System.Object,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.continuewith.action.state.options` | `` System.Threading.Tasks.Task::ContinueWith(System.Action`2,System.Object,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Action`2,System.Object,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | +| `clockwork.tasks.continuewith.action.state.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.Task::ContinueWith(System.Action`2,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Action`2,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.continuewith.func` | `` System.Threading.Tasks.Task::ContinueWith(System.Func`2) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Func`2) `` | Controlled | +| `clockwork.tasks.continuewith.func.cancellationtoken` | `` System.Threading.Tasks.Task::ContinueWith(System.Func`2,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Func`2,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.continuewith.func.scheduler` | `` System.Threading.Tasks.Task::ContinueWith(System.Func`2,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Func`2,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.continuewith.func.options` | `` System.Threading.Tasks.Task::ContinueWith(System.Func`2,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Func`2,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | +| `clockwork.tasks.continuewith.func.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.Task::ContinueWith(System.Func`2,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Func`2,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.continuewith.func.state` | `` System.Threading.Tasks.Task::ContinueWith(System.Func`3,System.Object) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Func`3,System.Object) `` | Controlled | +| `clockwork.tasks.continuewith.func.state.cancellationtoken` | `` System.Threading.Tasks.Task::ContinueWith(System.Func`3,System.Object,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Func`3,System.Object,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.continuewith.func.state.scheduler` | `` System.Threading.Tasks.Task::ContinueWith(System.Func`3,System.Object,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Func`3,System.Object,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.continuewith.func.state.options` | `` System.Threading.Tasks.Task::ContinueWith(System.Func`3,System.Object,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Func`3,System.Object,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | +| `clockwork.tasks.continuewith.func.state.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.Task::ContinueWith(System.Func`3,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task,System.Func`3,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.continuewith.generic.action` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Action`1>) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Action`1>) `` | Controlled | +| `clockwork.tasks.continuewith.generic.action.cancellationtoken` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Action`1>,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Action`1>,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.continuewith.generic.action.scheduler` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Action`1>,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Action`1>,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.continuewith.generic.action.options` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Action`1>,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Action`1>,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | +| `clockwork.tasks.continuewith.generic.action.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Action`1>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Action`1>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.continuewith.generic.action.state` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Action`2,System.Object>,System.Object) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Action`2,System.Object>,System.Object) `` | Controlled | +| `clockwork.tasks.continuewith.generic.action.state.cancellationtoken` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Action`2,System.Object>,System.Object,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Action`2,System.Object>,System.Object,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.continuewith.generic.action.state.scheduler` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Action`2,System.Object>,System.Object,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Action`2,System.Object>,System.Object,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.continuewith.generic.action.state.options` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Action`2,System.Object>,System.Object,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Action`2,System.Object>,System.Object,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | +| `clockwork.tasks.continuewith.generic.action.state.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Action`2,System.Object>,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Action`2,System.Object>,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.continuewith.generic.func` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Func`2,!!0>) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Func`2,TNewResult>) `` | Controlled | +| `clockwork.tasks.continuewith.generic.func.cancellationtoken` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Func`2,!!0>,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Func`2,TNewResult>,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.continuewith.generic.func.scheduler` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Func`2,!!0>,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Func`2,TNewResult>,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.continuewith.generic.func.options` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Func`2,!!0>,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Func`2,TNewResult>,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | +| `clockwork.tasks.continuewith.generic.func.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Func`2,!!0>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Func`2,TNewResult>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.continuewith.generic.func.state` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Func`3,System.Object,!!0>,System.Object) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Func`3,System.Object,TNewResult>,System.Object) `` | Controlled | +| `clockwork.tasks.continuewith.generic.func.state.cancellationtoken` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Func`3,System.Object,!!0>,System.Object,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Func`3,System.Object,TNewResult>,System.Object,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.continuewith.generic.func.state.scheduler` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Func`3,System.Object,!!0>,System.Object,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Func`3,System.Object,TNewResult>,System.Object,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.continuewith.generic.func.state.options` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Func`3,System.Object,!!0>,System.Object,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Func`3,System.Object,TNewResult>,System.Object,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | +| `clockwork.tasks.continuewith.generic.func.state.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.Task`1::ContinueWith(System.Func`3,System.Object,!!0>,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::ContinueWith(System.Threading.Tasks.Task`1,System.Func`3,System.Object,TNewResult>,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | ## TaskCompletionSource family @@ -184,36 +184,36 @@ Policy: **Controlled**. Rewritten code keeps the real `TaskCompletionSource` and | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.tasks.completionsource.setresult` | `System.Threading.Tasks.TaskCompletionSource::SetResult()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetResult(System.Threading.Tasks.TaskCompletionSource)` | Controlled | -| `clockwork.tasks.completionsource.trysetresult` | `System.Threading.Tasks.TaskCompletionSource::TrySetResult()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetResult(System.Threading.Tasks.TaskCompletionSource)` | Controlled | -| `clockwork.tasks.completionsource.setexception` | `System.Threading.Tasks.TaskCompletionSource::SetException(System.Exception)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetException(System.Threading.Tasks.TaskCompletionSource,System.Exception)` | Controlled | -| `clockwork.tasks.completionsource.setexception.enumerable` | `` System.Threading.Tasks.TaskCompletionSource::SetException(System.Collections.Generic.IEnumerable`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetException(System.Threading.Tasks.TaskCompletionSource,System.Collections.Generic.IEnumerable`1) `` | Controlled | -| `clockwork.tasks.completionsource.trysetexception` | `System.Threading.Tasks.TaskCompletionSource::TrySetException(System.Exception)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetException(System.Threading.Tasks.TaskCompletionSource,System.Exception)` | Controlled | -| `clockwork.tasks.completionsource.trysetexception.enumerable` | `` System.Threading.Tasks.TaskCompletionSource::TrySetException(System.Collections.Generic.IEnumerable`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetException(System.Threading.Tasks.TaskCompletionSource,System.Collections.Generic.IEnumerable`1) `` | Controlled | -| `clockwork.tasks.completionsource.setcanceled` | `System.Threading.Tasks.TaskCompletionSource::SetCanceled()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetCanceled(System.Threading.Tasks.TaskCompletionSource)` | Controlled | -| `clockwork.tasks.completionsource.setcanceled.cancellationtoken` | `System.Threading.Tasks.TaskCompletionSource::SetCanceled(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetCanceled(System.Threading.Tasks.TaskCompletionSource,System.Threading.CancellationToken)` | Controlled | -| `clockwork.tasks.completionsource.trysetcanceled` | `System.Threading.Tasks.TaskCompletionSource::TrySetCanceled()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetCanceled(System.Threading.Tasks.TaskCompletionSource)` | Controlled | -| `clockwork.tasks.completionsource.trysetcanceled.cancellationtoken` | `System.Threading.Tasks.TaskCompletionSource::TrySetCanceled(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetCanceled(System.Threading.Tasks.TaskCompletionSource,System.Threading.CancellationToken)` | Controlled | -| `clockwork.tasks.completionsource.setfromtask` | `System.Threading.Tasks.TaskCompletionSource::SetFromTask(System.Threading.Tasks.Task)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetFromTask(System.Threading.Tasks.TaskCompletionSource,System.Threading.Tasks.Task)` | Controlled | -| `clockwork.tasks.completionsource.trysetfromtask` | `System.Threading.Tasks.TaskCompletionSource::TrySetFromTask(System.Threading.Tasks.Task)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetFromTask(System.Threading.Tasks.TaskCompletionSource,System.Threading.Tasks.Task)` | Controlled | -| `clockwork.tasks.completionsource.generic.setresult` | `` System.Threading.Tasks.TaskCompletionSource`1::SetResult(!0) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetResult(System.Threading.Tasks.TaskCompletionSource`1,TResult) `` | Controlled | -| `clockwork.tasks.completionsource.generic.trysetresult` | `` System.Threading.Tasks.TaskCompletionSource`1::TrySetResult(!0) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetResult(System.Threading.Tasks.TaskCompletionSource`1,TResult) `` | Controlled | -| `clockwork.tasks.completionsource.generic.setexception` | `` System.Threading.Tasks.TaskCompletionSource`1::SetException(System.Exception) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetException(System.Threading.Tasks.TaskCompletionSource`1,System.Exception) `` | Controlled | -| `clockwork.tasks.completionsource.generic.setexception.enumerable` | `` System.Threading.Tasks.TaskCompletionSource`1::SetException(System.Collections.Generic.IEnumerable`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetException(System.Threading.Tasks.TaskCompletionSource`1,System.Collections.Generic.IEnumerable`1) `` | Controlled | -| `clockwork.tasks.completionsource.generic.trysetexception` | `` System.Threading.Tasks.TaskCompletionSource`1::TrySetException(System.Exception) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetException(System.Threading.Tasks.TaskCompletionSource`1,System.Exception) `` | Controlled | -| `clockwork.tasks.completionsource.generic.trysetexception.enumerable` | `` System.Threading.Tasks.TaskCompletionSource`1::TrySetException(System.Collections.Generic.IEnumerable`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetException(System.Threading.Tasks.TaskCompletionSource`1,System.Collections.Generic.IEnumerable`1) `` | Controlled | -| `clockwork.tasks.completionsource.generic.setcanceled` | `` System.Threading.Tasks.TaskCompletionSource`1::SetCanceled() `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetCanceled(System.Threading.Tasks.TaskCompletionSource`1) `` | Controlled | -| `clockwork.tasks.completionsource.generic.setcanceled.cancellationtoken` | `` System.Threading.Tasks.TaskCompletionSource`1::SetCanceled(System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetCanceled(System.Threading.Tasks.TaskCompletionSource`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.completionsource.generic.trysetcanceled` | `` System.Threading.Tasks.TaskCompletionSource`1::TrySetCanceled() `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetCanceled(System.Threading.Tasks.TaskCompletionSource`1) `` | Controlled | -| `clockwork.tasks.completionsource.generic.trysetcanceled.cancellationtoken` | `` System.Threading.Tasks.TaskCompletionSource`1::TrySetCanceled(System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetCanceled(System.Threading.Tasks.TaskCompletionSource`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.completionsource.generic.setfromtask` | `` System.Threading.Tasks.TaskCompletionSource`1::SetFromTask(System.Threading.Tasks.Task`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetFromTask(System.Threading.Tasks.TaskCompletionSource`1,System.Threading.Tasks.Task`1) `` | Controlled | -| `clockwork.tasks.completionsource.generic.trysetfromtask` | `` System.Threading.Tasks.TaskCompletionSource`1::TrySetFromTask(System.Threading.Tasks.Task`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetFromTask(System.Threading.Tasks.TaskCompletionSource`1,System.Threading.Tasks.Task`1) `` | Controlled | -| `clockwork.tasks.valuetasksourcecore.setresult` | `` System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1::SetResult(!0) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.Sources.ControlledManualResetValueTaskSourceCore::SetResult(System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1&,TResult) `` | Controlled | -| `clockwork.tasks.valuetasksourcecore.setexception` | `` System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1::SetException(System.Exception) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.Sources.ControlledManualResetValueTaskSourceCore::SetException(System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1&,System.Exception) `` | Controlled | -| `clockwork.tasks.completionsource.ctor.options` | `new System.Threading.Tasks.TaskCompletionSource(System.Threading.Tasks.TaskCreationOptions)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::Create(System.Threading.Tasks.TaskCreationOptions)` | Controlled | -| `clockwork.tasks.completionsource.ctor.state.options` | `new System.Threading.Tasks.TaskCompletionSource(System.Object,System.Threading.Tasks.TaskCreationOptions)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::Create(System.Object,System.Threading.Tasks.TaskCreationOptions)` | Controlled | -| `clockwork.tasks.completionsource.generic.ctor.options` | `` new System.Threading.Tasks.TaskCompletionSource`1(System.Threading.Tasks.TaskCreationOptions) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::CreateGeneric(System.Threading.Tasks.TaskCreationOptions)` | Controlled | -| `clockwork.tasks.completionsource.generic.ctor.state.options` | `` new System.Threading.Tasks.TaskCompletionSource`1(System.Object,System.Threading.Tasks.TaskCreationOptions) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::CreateGeneric(System.Object,System.Threading.Tasks.TaskCreationOptions)` | Controlled | +| `clockwork.tasks.completionsource.setresult` | `System.Threading.Tasks.TaskCompletionSource::SetResult()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetResult(System.Threading.Tasks.TaskCompletionSource)` | Controlled | +| `clockwork.tasks.completionsource.trysetresult` | `System.Threading.Tasks.TaskCompletionSource::TrySetResult()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetResult(System.Threading.Tasks.TaskCompletionSource)` | Controlled | +| `clockwork.tasks.completionsource.setexception` | `System.Threading.Tasks.TaskCompletionSource::SetException(System.Exception)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetException(System.Threading.Tasks.TaskCompletionSource,System.Exception)` | Controlled | +| `clockwork.tasks.completionsource.setexception.enumerable` | `` System.Threading.Tasks.TaskCompletionSource::SetException(System.Collections.Generic.IEnumerable`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetException(System.Threading.Tasks.TaskCompletionSource,System.Collections.Generic.IEnumerable`1) `` | Controlled | +| `clockwork.tasks.completionsource.trysetexception` | `System.Threading.Tasks.TaskCompletionSource::TrySetException(System.Exception)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetException(System.Threading.Tasks.TaskCompletionSource,System.Exception)` | Controlled | +| `clockwork.tasks.completionsource.trysetexception.enumerable` | `` System.Threading.Tasks.TaskCompletionSource::TrySetException(System.Collections.Generic.IEnumerable`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetException(System.Threading.Tasks.TaskCompletionSource,System.Collections.Generic.IEnumerable`1) `` | Controlled | +| `clockwork.tasks.completionsource.setcanceled` | `System.Threading.Tasks.TaskCompletionSource::SetCanceled()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetCanceled(System.Threading.Tasks.TaskCompletionSource)` | Controlled | +| `clockwork.tasks.completionsource.setcanceled.cancellationtoken` | `System.Threading.Tasks.TaskCompletionSource::SetCanceled(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetCanceled(System.Threading.Tasks.TaskCompletionSource,System.Threading.CancellationToken)` | Controlled | +| `clockwork.tasks.completionsource.trysetcanceled` | `System.Threading.Tasks.TaskCompletionSource::TrySetCanceled()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetCanceled(System.Threading.Tasks.TaskCompletionSource)` | Controlled | +| `clockwork.tasks.completionsource.trysetcanceled.cancellationtoken` | `System.Threading.Tasks.TaskCompletionSource::TrySetCanceled(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetCanceled(System.Threading.Tasks.TaskCompletionSource,System.Threading.CancellationToken)` | Controlled | +| `clockwork.tasks.completionsource.setfromtask` | `System.Threading.Tasks.TaskCompletionSource::SetFromTask(System.Threading.Tasks.Task)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetFromTask(System.Threading.Tasks.TaskCompletionSource,System.Threading.Tasks.Task)` | Controlled | +| `clockwork.tasks.completionsource.trysetfromtask` | `System.Threading.Tasks.TaskCompletionSource::TrySetFromTask(System.Threading.Tasks.Task)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetFromTask(System.Threading.Tasks.TaskCompletionSource,System.Threading.Tasks.Task)` | Controlled | +| `clockwork.tasks.completionsource.generic.setresult` | `` System.Threading.Tasks.TaskCompletionSource`1::SetResult(!0) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetResult(System.Threading.Tasks.TaskCompletionSource`1,TResult) `` | Controlled | +| `clockwork.tasks.completionsource.generic.trysetresult` | `` System.Threading.Tasks.TaskCompletionSource`1::TrySetResult(!0) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetResult(System.Threading.Tasks.TaskCompletionSource`1,TResult) `` | Controlled | +| `clockwork.tasks.completionsource.generic.setexception` | `` System.Threading.Tasks.TaskCompletionSource`1::SetException(System.Exception) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetException(System.Threading.Tasks.TaskCompletionSource`1,System.Exception) `` | Controlled | +| `clockwork.tasks.completionsource.generic.setexception.enumerable` | `` System.Threading.Tasks.TaskCompletionSource`1::SetException(System.Collections.Generic.IEnumerable`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetException(System.Threading.Tasks.TaskCompletionSource`1,System.Collections.Generic.IEnumerable`1) `` | Controlled | +| `clockwork.tasks.completionsource.generic.trysetexception` | `` System.Threading.Tasks.TaskCompletionSource`1::TrySetException(System.Exception) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetException(System.Threading.Tasks.TaskCompletionSource`1,System.Exception) `` | Controlled | +| `clockwork.tasks.completionsource.generic.trysetexception.enumerable` | `` System.Threading.Tasks.TaskCompletionSource`1::TrySetException(System.Collections.Generic.IEnumerable`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetException(System.Threading.Tasks.TaskCompletionSource`1,System.Collections.Generic.IEnumerable`1) `` | Controlled | +| `clockwork.tasks.completionsource.generic.setcanceled` | `` System.Threading.Tasks.TaskCompletionSource`1::SetCanceled() `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetCanceled(System.Threading.Tasks.TaskCompletionSource`1) `` | Controlled | +| `clockwork.tasks.completionsource.generic.setcanceled.cancellationtoken` | `` System.Threading.Tasks.TaskCompletionSource`1::SetCanceled(System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetCanceled(System.Threading.Tasks.TaskCompletionSource`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.completionsource.generic.trysetcanceled` | `` System.Threading.Tasks.TaskCompletionSource`1::TrySetCanceled() `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetCanceled(System.Threading.Tasks.TaskCompletionSource`1) `` | Controlled | +| `clockwork.tasks.completionsource.generic.trysetcanceled.cancellationtoken` | `` System.Threading.Tasks.TaskCompletionSource`1::TrySetCanceled(System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetCanceled(System.Threading.Tasks.TaskCompletionSource`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.completionsource.generic.setfromtask` | `` System.Threading.Tasks.TaskCompletionSource`1::SetFromTask(System.Threading.Tasks.Task`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetFromTask(System.Threading.Tasks.TaskCompletionSource`1,System.Threading.Tasks.Task`1) `` | Controlled | +| `clockwork.tasks.completionsource.generic.trysetfromtask` | `` System.Threading.Tasks.TaskCompletionSource`1::TrySetFromTask(System.Threading.Tasks.Task`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::TrySetFromTask(System.Threading.Tasks.TaskCompletionSource`1,System.Threading.Tasks.Task`1) `` | Controlled | +| `clockwork.tasks.valuetasksourcecore.setresult` | `` System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1::SetResult(!0) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Sources.ControlledManualResetValueTaskSourceCore::SetResult(System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1&,TResult) `` | Controlled | +| `clockwork.tasks.valuetasksourcecore.setexception` | `` System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1::SetException(System.Exception) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Sources.ControlledManualResetValueTaskSourceCore::SetException(System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1&,System.Exception) `` | Controlled | +| `clockwork.tasks.completionsource.ctor.options` | `new System.Threading.Tasks.TaskCompletionSource(System.Threading.Tasks.TaskCreationOptions)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::Create(System.Threading.Tasks.TaskCreationOptions)` | Controlled | +| `clockwork.tasks.completionsource.ctor.state.options` | `new System.Threading.Tasks.TaskCompletionSource(System.Object,System.Threading.Tasks.TaskCreationOptions)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::Create(System.Object,System.Threading.Tasks.TaskCreationOptions)` | Controlled | +| `clockwork.tasks.completionsource.generic.ctor.options` | `` new System.Threading.Tasks.TaskCompletionSource`1(System.Threading.Tasks.TaskCreationOptions) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::CreateGeneric(System.Threading.Tasks.TaskCreationOptions)` | Controlled | +| `clockwork.tasks.completionsource.generic.ctor.state.options` | `` new System.Threading.Tasks.TaskCompletionSource`1(System.Object,System.Threading.Tasks.TaskCreationOptions) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::CreateGeneric(System.Object,System.Threading.Tasks.TaskCreationOptions)` | Controlled | ## TaskTime family @@ -221,22 +221,22 @@ Policy: **Controlled**. `Task.Delay` and `Task.WaitAsync` use controlled virtual | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.tasks.delay.milliseconds` | `System.Threading.Tasks.Task::Delay(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Delay(System.Int32)` | Controlled | -| `clockwork.tasks.delay.timespan` | `System.Threading.Tasks.Task::Delay(System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Delay(System.TimeSpan)` | Controlled | -| `clockwork.tasks.delay.milliseconds.cancellationtoken` | `System.Threading.Tasks.Task::Delay(System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Delay(System.Int32,System.Threading.CancellationToken)` | Controlled | -| `clockwork.tasks.delay.timespan.cancellationtoken` | `System.Threading.Tasks.Task::Delay(System.TimeSpan,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Delay(System.TimeSpan,System.Threading.CancellationToken)` | Controlled | -| `clockwork.tasks.delay.timespan.timeprovider` | `System.Threading.Tasks.Task::Delay(System.TimeSpan,System.TimeProvider)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Delay(System.TimeSpan,System.TimeProvider)` | Controlled | -| `clockwork.tasks.delay.timespan.timeprovider.cancellationtoken` | `System.Threading.Tasks.Task::Delay(System.TimeSpan,System.TimeProvider,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Delay(System.TimeSpan,System.TimeProvider,System.Threading.CancellationToken)` | Controlled | -| `clockwork.tasks.waitasync.cancellationtoken` | `System.Threading.Tasks.Task::WaitAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAsync(System.Threading.Tasks.Task,System.Threading.CancellationToken)` | Controlled | -| `clockwork.tasks.waitasync.timespan` | `System.Threading.Tasks.Task::WaitAsync(System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAsync(System.Threading.Tasks.Task,System.TimeSpan)` | Controlled | -| `clockwork.tasks.waitasync.timespan.timeprovider` | `System.Threading.Tasks.Task::WaitAsync(System.TimeSpan,System.TimeProvider)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAsync(System.Threading.Tasks.Task,System.TimeSpan,System.TimeProvider)` | Controlled | -| `clockwork.tasks.waitasync.timespan.cancellationtoken` | `System.Threading.Tasks.Task::WaitAsync(System.TimeSpan,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAsync(System.Threading.Tasks.Task,System.TimeSpan,System.Threading.CancellationToken)` | Controlled | -| `clockwork.tasks.waitasync.timespan.timeprovider.cancellationtoken` | `System.Threading.Tasks.Task::WaitAsync(System.TimeSpan,System.TimeProvider,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAsync(System.Threading.Tasks.Task,System.TimeSpan,System.TimeProvider,System.Threading.CancellationToken)` | Controlled | -| `clockwork.tasks.generic.waitasync.cancellationtoken` | `` System.Threading.Tasks.Task`1::WaitAsync(System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAsync(System.Threading.Tasks.Task`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.generic.waitasync.timespan` | `` System.Threading.Tasks.Task`1::WaitAsync(System.TimeSpan) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAsync(System.Threading.Tasks.Task`1,System.TimeSpan) `` | Controlled | -| `clockwork.tasks.generic.waitasync.timespan.timeprovider` | `` System.Threading.Tasks.Task`1::WaitAsync(System.TimeSpan,System.TimeProvider) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAsync(System.Threading.Tasks.Task`1,System.TimeSpan,System.TimeProvider) `` | Controlled | -| `clockwork.tasks.generic.waitasync.timespan.cancellationtoken` | `` System.Threading.Tasks.Task`1::WaitAsync(System.TimeSpan,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAsync(System.Threading.Tasks.Task`1,System.TimeSpan,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.generic.waitasync.timespan.timeprovider.cancellationtoken` | `` System.Threading.Tasks.Task`1::WaitAsync(System.TimeSpan,System.TimeProvider,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::WaitAsync(System.Threading.Tasks.Task`1,System.TimeSpan,System.TimeProvider,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.delay.milliseconds` | `System.Threading.Tasks.Task::Delay(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Delay(System.Int32)` | Controlled | +| `clockwork.tasks.delay.timespan` | `System.Threading.Tasks.Task::Delay(System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Delay(System.TimeSpan)` | Controlled | +| `clockwork.tasks.delay.milliseconds.cancellationtoken` | `System.Threading.Tasks.Task::Delay(System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Delay(System.Int32,System.Threading.CancellationToken)` | Controlled | +| `clockwork.tasks.delay.timespan.cancellationtoken` | `System.Threading.Tasks.Task::Delay(System.TimeSpan,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Delay(System.TimeSpan,System.Threading.CancellationToken)` | Controlled | +| `clockwork.tasks.delay.timespan.timeprovider` | `System.Threading.Tasks.Task::Delay(System.TimeSpan,System.TimeProvider)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Delay(System.TimeSpan,System.TimeProvider)` | Controlled | +| `clockwork.tasks.delay.timespan.timeprovider.cancellationtoken` | `System.Threading.Tasks.Task::Delay(System.TimeSpan,System.TimeProvider,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Delay(System.TimeSpan,System.TimeProvider,System.Threading.CancellationToken)` | Controlled | +| `clockwork.tasks.waitasync.cancellationtoken` | `System.Threading.Tasks.Task::WaitAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAsync(System.Threading.Tasks.Task,System.Threading.CancellationToken)` | Controlled | +| `clockwork.tasks.waitasync.timespan` | `System.Threading.Tasks.Task::WaitAsync(System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAsync(System.Threading.Tasks.Task,System.TimeSpan)` | Controlled | +| `clockwork.tasks.waitasync.timespan.timeprovider` | `System.Threading.Tasks.Task::WaitAsync(System.TimeSpan,System.TimeProvider)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAsync(System.Threading.Tasks.Task,System.TimeSpan,System.TimeProvider)` | Controlled | +| `clockwork.tasks.waitasync.timespan.cancellationtoken` | `System.Threading.Tasks.Task::WaitAsync(System.TimeSpan,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAsync(System.Threading.Tasks.Task,System.TimeSpan,System.Threading.CancellationToken)` | Controlled | +| `clockwork.tasks.waitasync.timespan.timeprovider.cancellationtoken` | `System.Threading.Tasks.Task::WaitAsync(System.TimeSpan,System.TimeProvider,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAsync(System.Threading.Tasks.Task,System.TimeSpan,System.TimeProvider,System.Threading.CancellationToken)` | Controlled | +| `clockwork.tasks.generic.waitasync.cancellationtoken` | `` System.Threading.Tasks.Task`1::WaitAsync(System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAsync(System.Threading.Tasks.Task`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.generic.waitasync.timespan` | `` System.Threading.Tasks.Task`1::WaitAsync(System.TimeSpan) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAsync(System.Threading.Tasks.Task`1,System.TimeSpan) `` | Controlled | +| `clockwork.tasks.generic.waitasync.timespan.timeprovider` | `` System.Threading.Tasks.Task`1::WaitAsync(System.TimeSpan,System.TimeProvider) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAsync(System.Threading.Tasks.Task`1,System.TimeSpan,System.TimeProvider) `` | Controlled | +| `clockwork.tasks.generic.waitasync.timespan.cancellationtoken` | `` System.Threading.Tasks.Task`1::WaitAsync(System.TimeSpan,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAsync(System.Threading.Tasks.Task`1,System.TimeSpan,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.generic.waitasync.timespan.timeprovider.cancellationtoken` | `` System.Threading.Tasks.Task`1::WaitAsync(System.TimeSpan,System.TimeProvider,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::WaitAsync(System.Threading.Tasks.Task`1,System.TimeSpan,System.TimeProvider,System.Threading.CancellationToken) `` | Controlled | ## TaskScheduling family @@ -244,35 +244,35 @@ Policy: **Controlled**. `Task.Run` (all `Action`/`Func`/`Func`/`F | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.tasks.run.action` | `System.Threading.Tasks.Task::Run(System.Action)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Run(System.Action)` | Controlled | -| `clockwork.tasks.run.action.cancellationtoken` | `System.Threading.Tasks.Task::Run(System.Action,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Run(System.Action,System.Threading.CancellationToken)` | Controlled | -| `clockwork.tasks.run.func` | `` System.Threading.Tasks.Task::Run(System.Func`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Run(System.Func`1) `` | Controlled | -| `clockwork.tasks.run.func.cancellationtoken` | `` System.Threading.Tasks.Task::Run(System.Func`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Run(System.Func`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.run.func.task` | `` System.Threading.Tasks.Task::Run(System.Func`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Run(System.Func`1) `` | Controlled | -| `clockwork.tasks.run.func.task.cancellationtoken` | `` System.Threading.Tasks.Task::Run(System.Func`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Run(System.Func`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.run.func.task.generic` | `` System.Threading.Tasks.Task::Run(System.Func`1>) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Run(System.Func`1>) `` | Controlled | -| `clockwork.tasks.run.func.task.generic.cancellationtoken` | `` System.Threading.Tasks.Task::Run(System.Func`1>,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Run(System.Func`1>,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.start` | `System.Threading.Tasks.Task::Start()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Start(System.Threading.Tasks.Task)` | Controlled | -| `clockwork.tasks.start.scheduler` | `System.Threading.Tasks.Task::Start(System.Threading.Tasks.TaskScheduler)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Start(System.Threading.Tasks.Task,System.Threading.Tasks.TaskScheduler)` | Controlled | -| `clockwork.tasks.runsynchronously` | `System.Threading.Tasks.Task::RunSynchronously()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::RunSynchronously(System.Threading.Tasks.Task)` | Controlled | -| `clockwork.tasks.runsynchronously.scheduler` | `System.Threading.Tasks.Task::RunSynchronously(System.Threading.Tasks.TaskScheduler)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::RunSynchronously(System.Threading.Tasks.Task,System.Threading.Tasks.TaskScheduler)` | Controlled | -| `clockwork.tasks.ctor.action` | `new System.Threading.Tasks.Task(System.Action)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Create(System.Action)` | Controlled | -| `clockwork.tasks.ctor.action.cancellationtoken` | `new System.Threading.Tasks.Task(System.Action,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Create(System.Action,System.Threading.CancellationToken)` | Controlled | -| `clockwork.tasks.ctor.action.options` | `new System.Threading.Tasks.Task(System.Action,System.Threading.Tasks.TaskCreationOptions)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Create(System.Action,System.Threading.Tasks.TaskCreationOptions)` | Controlled | -| `clockwork.tasks.ctor.action.cancellationtoken.options` | `new System.Threading.Tasks.Task(System.Action,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Create(System.Action,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions)` | Controlled | -| `clockwork.tasks.ctor.action.state` | `` new System.Threading.Tasks.Task(System.Action`1,System.Object) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Create(System.Action`1,System.Object) `` | Controlled | -| `clockwork.tasks.ctor.action.state.cancellationtoken` | `` new System.Threading.Tasks.Task(System.Action`1,System.Object,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Create(System.Action`1,System.Object,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.ctor.action.state.options` | `` new System.Threading.Tasks.Task(System.Action`1,System.Object,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Create(System.Action`1,System.Object,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | -| `clockwork.tasks.ctor.action.state.cancellationtoken.options` | `` new System.Threading.Tasks.Task(System.Action`1,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Create(System.Action`1,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | -| `clockwork.tasks.generic.ctor.action` | `` new System.Threading.Tasks.Task`1(System.Func`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Create(System.Func`1) `` | Controlled | -| `clockwork.tasks.generic.ctor.action.cancellationtoken` | `` new System.Threading.Tasks.Task`1(System.Func`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Create(System.Func`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.generic.ctor.action.options` | `` new System.Threading.Tasks.Task`1(System.Func`1,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Create(System.Func`1,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | -| `clockwork.tasks.generic.ctor.action.cancellationtoken.options` | `` new System.Threading.Tasks.Task`1(System.Func`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Create(System.Func`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | -| `clockwork.tasks.generic.ctor.action.state` | `` new System.Threading.Tasks.Task`1(System.Func`2,System.Object) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Create(System.Func`2,System.Object) `` | Controlled | -| `clockwork.tasks.generic.ctor.action.state.cancellationtoken` | `` new System.Threading.Tasks.Task`1(System.Func`2,System.Object,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Create(System.Func`2,System.Object,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.generic.ctor.action.state.options` | `` new System.Threading.Tasks.Task`1(System.Func`2,System.Object,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Create(System.Func`2,System.Object,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | -| `clockwork.tasks.generic.ctor.action.state.cancellationtoken.options` | `` new System.Threading.Tasks.Task`1(System.Func`2,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Create(System.Func`2,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | -| `clockwork.tasks.creationoptions` | `System.Threading.Tasks.Task::get_CreationOptions()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::CreationOptions(System.Threading.Tasks.Task)` | Controlled | +| `clockwork.tasks.run.action` | `System.Threading.Tasks.Task::Run(System.Action)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Run(System.Action)` | Controlled | +| `clockwork.tasks.run.action.cancellationtoken` | `System.Threading.Tasks.Task::Run(System.Action,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Run(System.Action,System.Threading.CancellationToken)` | Controlled | +| `clockwork.tasks.run.func` | `` System.Threading.Tasks.Task::Run(System.Func`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Run(System.Func`1) `` | Controlled | +| `clockwork.tasks.run.func.cancellationtoken` | `` System.Threading.Tasks.Task::Run(System.Func`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Run(System.Func`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.run.func.task` | `` System.Threading.Tasks.Task::Run(System.Func`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Run(System.Func`1) `` | Controlled | +| `clockwork.tasks.run.func.task.cancellationtoken` | `` System.Threading.Tasks.Task::Run(System.Func`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Run(System.Func`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.run.func.task.generic` | `` System.Threading.Tasks.Task::Run(System.Func`1>) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Run(System.Func`1>) `` | Controlled | +| `clockwork.tasks.run.func.task.generic.cancellationtoken` | `` System.Threading.Tasks.Task::Run(System.Func`1>,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Run(System.Func`1>,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.start` | `System.Threading.Tasks.Task::Start()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Start(System.Threading.Tasks.Task)` | Controlled | +| `clockwork.tasks.start.scheduler` | `System.Threading.Tasks.Task::Start(System.Threading.Tasks.TaskScheduler)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Start(System.Threading.Tasks.Task,System.Threading.Tasks.TaskScheduler)` | Controlled | +| `clockwork.tasks.runsynchronously` | `System.Threading.Tasks.Task::RunSynchronously()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::RunSynchronously(System.Threading.Tasks.Task)` | Controlled | +| `clockwork.tasks.runsynchronously.scheduler` | `System.Threading.Tasks.Task::RunSynchronously(System.Threading.Tasks.TaskScheduler)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::RunSynchronously(System.Threading.Tasks.Task,System.Threading.Tasks.TaskScheduler)` | Controlled | +| `clockwork.tasks.ctor.action` | `new System.Threading.Tasks.Task(System.Action)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Create(System.Action)` | Controlled | +| `clockwork.tasks.ctor.action.cancellationtoken` | `new System.Threading.Tasks.Task(System.Action,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Create(System.Action,System.Threading.CancellationToken)` | Controlled | +| `clockwork.tasks.ctor.action.options` | `new System.Threading.Tasks.Task(System.Action,System.Threading.Tasks.TaskCreationOptions)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Create(System.Action,System.Threading.Tasks.TaskCreationOptions)` | Controlled | +| `clockwork.tasks.ctor.action.cancellationtoken.options` | `new System.Threading.Tasks.Task(System.Action,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Create(System.Action,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions)` | Controlled | +| `clockwork.tasks.ctor.action.state` | `` new System.Threading.Tasks.Task(System.Action`1,System.Object) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Create(System.Action`1,System.Object) `` | Controlled | +| `clockwork.tasks.ctor.action.state.cancellationtoken` | `` new System.Threading.Tasks.Task(System.Action`1,System.Object,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Create(System.Action`1,System.Object,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.ctor.action.state.options` | `` new System.Threading.Tasks.Task(System.Action`1,System.Object,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Create(System.Action`1,System.Object,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | +| `clockwork.tasks.ctor.action.state.cancellationtoken.options` | `` new System.Threading.Tasks.Task(System.Action`1,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Create(System.Action`1,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | +| `clockwork.tasks.generic.ctor.action` | `` new System.Threading.Tasks.Task`1(System.Func`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Create(System.Func`1) `` | Controlled | +| `clockwork.tasks.generic.ctor.action.cancellationtoken` | `` new System.Threading.Tasks.Task`1(System.Func`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Create(System.Func`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.generic.ctor.action.options` | `` new System.Threading.Tasks.Task`1(System.Func`1,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Create(System.Func`1,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | +| `clockwork.tasks.generic.ctor.action.cancellationtoken.options` | `` new System.Threading.Tasks.Task`1(System.Func`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Create(System.Func`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | +| `clockwork.tasks.generic.ctor.action.state` | `` new System.Threading.Tasks.Task`1(System.Func`2,System.Object) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Create(System.Func`2,System.Object) `` | Controlled | +| `clockwork.tasks.generic.ctor.action.state.cancellationtoken` | `` new System.Threading.Tasks.Task`1(System.Func`2,System.Object,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Create(System.Func`2,System.Object,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.generic.ctor.action.state.options` | `` new System.Threading.Tasks.Task`1(System.Func`2,System.Object,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Create(System.Func`2,System.Object,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | +| `clockwork.tasks.generic.ctor.action.state.cancellationtoken.options` | `` new System.Threading.Tasks.Task`1(System.Func`2,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Create(System.Func`2,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | +| `clockwork.tasks.creationoptions` | `System.Threading.Tasks.Task::get_CreationOptions()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::CreationOptions(System.Threading.Tasks.Task)` | Controlled | ## AsyncMachinery family @@ -280,21 +280,21 @@ Policy: **Controlled**. The compiler-generated builder and awaiter types of an ` | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.tasks.builder.task` | `System.Runtime.CompilerServices.AsyncTaskMethodBuilder` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledAsyncTaskMethodBuilder` | Controlled | -| `clockwork.tasks.builder.task.generic` | `` System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledAsyncTaskMethodBuilder`1 `` | Controlled | -| `clockwork.tasks.awaiter.task` | `System.Runtime.CompilerServices.TaskAwaiter` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledTaskAwaiter` | Controlled | -| `clockwork.tasks.awaiter.task.generic` | `` System.Runtime.CompilerServices.TaskAwaiter`1 `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledTaskAwaiter`1 `` | Controlled | -| `clockwork.tasks.configured.awaitable` | `System.Runtime.CompilerServices.ConfiguredTaskAwaitable` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledConfiguredTaskAwaitable` | Controlled | -| `clockwork.tasks.configured.awaitable.generic` | `` System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledConfiguredTaskAwaitable`1 `` | Controlled | -| `clockwork.tasks.configured.awaiter` | `System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledConfiguredTaskAwaiter` | Controlled | -| `clockwork.tasks.configured.awaiter.generic` | `` System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledConfiguredTaskAwaiter`1 `` | Controlled | -| `clockwork.tasks.yield.awaitable` | `System.Runtime.CompilerServices.YieldAwaitable` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledYieldAwaitable` | Controlled | -| `clockwork.tasks.yield.awaiter` | `System.Runtime.CompilerServices.YieldAwaitable/YieldAwaiter` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledYieldAwaiter` | Controlled | -| `clockwork.tasks.yield.call` | `System.Threading.Tasks.Task::Yield()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTask::Yield()` | Controlled | -| `clockwork.tasks.asynchelpers.await.configured` | `System.Runtime.CompilerServices.AsyncHelpers::Await(System.Runtime.CompilerServices.ConfiguredTaskAwaitable)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledAsyncHelpers::Await(Clockwork.Shims.System.Runtime.CompilerServices.ControlledConfiguredTaskAwaitable)` | Rejected | -| `clockwork.tasks.asynchelpers.await.configured.generic` | `` System.Runtime.CompilerServices.AsyncHelpers::Await(System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledAsyncHelpers::Await(Clockwork.Shims.System.Runtime.CompilerServices.ControlledConfiguredTaskAwaitable`1) `` | Rejected | -| `clockwork.tasks.asynchelpers.handleasyncentrypoint` | `System.Runtime.CompilerServices.AsyncHelpers::HandleAsyncEntryPoint(System.Threading.Tasks.Task)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledAsyncHelpers::HandleAsyncEntryPoint(System.Threading.Tasks.Task)` | Controlled | -| `clockwork.tasks.asynchelpers.handleasyncentrypoint.int32` | `` System.Runtime.CompilerServices.AsyncHelpers::HandleAsyncEntryPoint(System.Threading.Tasks.Task`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledAsyncHelpers::HandleAsyncEntryPoint(System.Threading.Tasks.Task`1) `` | Controlled | +| `clockwork.tasks.builder.task` | `System.Runtime.CompilerServices.AsyncTaskMethodBuilder` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledAsyncTaskMethodBuilder` | Controlled | +| `clockwork.tasks.builder.task.generic` | `` System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledAsyncTaskMethodBuilder`1 `` | Controlled | +| `clockwork.tasks.awaiter.task` | `System.Runtime.CompilerServices.TaskAwaiter` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledTaskAwaiter` | Controlled | +| `clockwork.tasks.awaiter.task.generic` | `` System.Runtime.CompilerServices.TaskAwaiter`1 `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledTaskAwaiter`1 `` | Controlled | +| `clockwork.tasks.configured.awaitable` | `System.Runtime.CompilerServices.ConfiguredTaskAwaitable` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledConfiguredTaskAwaitable` | Controlled | +| `clockwork.tasks.configured.awaitable.generic` | `` System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1 `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledConfiguredTaskAwaitable`1 `` | Controlled | +| `clockwork.tasks.configured.awaiter` | `System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledConfiguredTaskAwaiter` | Controlled | +| `clockwork.tasks.configured.awaiter.generic` | `` System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledConfiguredTaskAwaiter`1 `` | Controlled | +| `clockwork.tasks.yield.awaitable` | `System.Runtime.CompilerServices.YieldAwaitable` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledYieldAwaitable` | Controlled | +| `clockwork.tasks.yield.awaiter` | `System.Runtime.CompilerServices.YieldAwaitable/YieldAwaiter` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledYieldAwaiter` | Controlled | +| `clockwork.tasks.yield.call` | `System.Threading.Tasks.Task::Yield()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask::Yield()` | Controlled | +| `clockwork.tasks.asynchelpers.await.configured` | `System.Runtime.CompilerServices.AsyncHelpers::Await(System.Runtime.CompilerServices.ConfiguredTaskAwaitable)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledAsyncHelpers::Await(Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledConfiguredTaskAwaitable)` | Rejected | +| `clockwork.tasks.asynchelpers.await.configured.generic` | `` System.Runtime.CompilerServices.AsyncHelpers::Await(System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledAsyncHelpers::Await(Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledConfiguredTaskAwaitable`1) `` | Rejected | +| `clockwork.tasks.asynchelpers.handleasyncentrypoint` | `System.Runtime.CompilerServices.AsyncHelpers::HandleAsyncEntryPoint(System.Threading.Tasks.Task)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledAsyncHelpers::HandleAsyncEntryPoint(System.Threading.Tasks.Task)` | Controlled | +| `clockwork.tasks.asynchelpers.handleasyncentrypoint.int32` | `` System.Runtime.CompilerServices.AsyncHelpers::HandleAsyncEntryPoint(System.Threading.Tasks.Task`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledAsyncHelpers::HandleAsyncEntryPoint(System.Threading.Tasks.Task`1) `` | Controlled | ## ValueTaskMachinery family @@ -302,22 +302,22 @@ Policy: **Controlled**. The compiler-generated builder and awaiter types of an ` | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.tasks.builder.valuetask` | `System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledAsyncValueTaskMethodBuilder` | Controlled | -| `clockwork.tasks.builder.valuetask.generic` | `` System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1 `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledAsyncValueTaskMethodBuilder`1 `` | Controlled | -| `clockwork.tasks.awaiter.valuetask` | `System.Runtime.CompilerServices.ValueTaskAwaiter` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledValueTaskAwaiter` | Controlled | -| `clockwork.tasks.awaiter.valuetask.generic` | `` System.Runtime.CompilerServices.ValueTaskAwaiter`1 `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledValueTaskAwaiter`1 `` | Controlled | -| `clockwork.tasks.configured.valuetask.awaitable` | `System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledConfiguredValueTaskAwaitable` | Controlled | -| `clockwork.tasks.configured.valuetask.awaitable.generic` | `` System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledConfiguredValueTaskAwaitable`1 `` | Controlled | -| `clockwork.tasks.configured.valuetask.awaiter` | `System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledConfiguredValueTaskAwaiter` | Controlled | -| `clockwork.tasks.configured.valuetask.awaiter.generic` | `` System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledConfiguredValueTaskAwaiter`1 `` | Controlled | -| `clockwork.tasks.asynchelpers.await.configured.valuetask` | `System.Runtime.CompilerServices.AsyncHelpers::Await(System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledAsyncHelpers::Await(Clockwork.Shims.System.Runtime.CompilerServices.ControlledConfiguredValueTaskAwaitable)` | Rejected | -| `clockwork.tasks.asynchelpers.await.configured.valuetask.generic` | `` System.Runtime.CompilerServices.AsyncHelpers::Await(System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledAsyncHelpers::Await(Clockwork.Shims.System.Runtime.CompilerServices.ControlledConfiguredValueTaskAwaitable`1) `` | Rejected | -| `clockwork.tasks.configured.asyncdisposable` | `System.Runtime.CompilerServices.ConfiguredAsyncDisposable` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledConfiguredAsyncDisposable` | Controlled | -| `clockwork.tasks.configured.asyncenumerable` | `` System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1 `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledConfiguredCancelableAsyncEnumerable`1 `` | Controlled | -| `clockwork.tasks.configured.asyncenumerator` | `` System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1/Enumerator `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Runtime.CompilerServices.ControlledConfiguredCancelableAsyncEnumerable`1/Enumerator `` | Controlled | -| `clockwork.tasks.asyncdisposable.configureawait` | `System.Threading.Tasks.TaskAsyncEnumerableExtensions::ConfigureAwait(System.IAsyncDisposable,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskAsyncEnumerableExtensions::ConfigureAwait(System.IAsyncDisposable,System.Boolean)` | Controlled | -| `clockwork.tasks.asyncenumerable.configureawait` | `` System.Threading.Tasks.TaskAsyncEnumerableExtensions::ConfigureAwait(System.Collections.Generic.IAsyncEnumerable`1,System.Boolean) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskAsyncEnumerableExtensions::ConfigureAwait(System.Collections.Generic.IAsyncEnumerable`1,System.Boolean) `` | Controlled | -| `clockwork.tasks.asyncenumerable.withcancellation` | `` System.Threading.Tasks.TaskAsyncEnumerableExtensions::WithCancellation(System.Collections.Generic.IAsyncEnumerable`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskAsyncEnumerableExtensions::WithCancellation(System.Collections.Generic.IAsyncEnumerable`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.builder.valuetask` | `System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledAsyncValueTaskMethodBuilder` | Controlled | +| `clockwork.tasks.builder.valuetask.generic` | `` System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1 `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledAsyncValueTaskMethodBuilder`1 `` | Controlled | +| `clockwork.tasks.awaiter.valuetask` | `System.Runtime.CompilerServices.ValueTaskAwaiter` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledValueTaskAwaiter` | Controlled | +| `clockwork.tasks.awaiter.valuetask.generic` | `` System.Runtime.CompilerServices.ValueTaskAwaiter`1 `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledValueTaskAwaiter`1 `` | Controlled | +| `clockwork.tasks.configured.valuetask.awaitable` | `System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledConfiguredValueTaskAwaitable` | Controlled | +| `clockwork.tasks.configured.valuetask.awaitable.generic` | `` System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledConfiguredValueTaskAwaitable`1 `` | Controlled | +| `clockwork.tasks.configured.valuetask.awaiter` | `System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable/ConfiguredValueTaskAwaiter` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledConfiguredValueTaskAwaiter` | Controlled | +| `clockwork.tasks.configured.valuetask.awaiter.generic` | `` System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1/ConfiguredValueTaskAwaiter `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledConfiguredValueTaskAwaiter`1 `` | Controlled | +| `clockwork.tasks.asynchelpers.await.configured.valuetask` | `System.Runtime.CompilerServices.AsyncHelpers::Await(System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledAsyncHelpers::Await(Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledConfiguredValueTaskAwaitable)` | Rejected | +| `clockwork.tasks.asynchelpers.await.configured.valuetask.generic` | `` System.Runtime.CompilerServices.AsyncHelpers::Await(System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledAsyncHelpers::Await(Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledConfiguredValueTaskAwaitable`1) `` | Rejected | +| `clockwork.tasks.configured.asyncdisposable` | `System.Runtime.CompilerServices.ConfiguredAsyncDisposable` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledConfiguredAsyncDisposable` | Controlled | +| `clockwork.tasks.configured.asyncenumerable` | `` System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1 `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledConfiguredCancelableAsyncEnumerable`1 `` | Controlled | +| `clockwork.tasks.configured.asyncenumerator` | `` System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1/Enumerator `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledConfiguredCancelableAsyncEnumerable`1/Enumerator `` | Controlled | +| `clockwork.tasks.asyncdisposable.configureawait` | `System.Threading.Tasks.TaskAsyncEnumerableExtensions::ConfigureAwait(System.IAsyncDisposable,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskAsyncEnumerableExtensions::ConfigureAwait(System.IAsyncDisposable,System.Boolean)` | Controlled | +| `clockwork.tasks.asyncenumerable.configureawait` | `` System.Threading.Tasks.TaskAsyncEnumerableExtensions::ConfigureAwait(System.Collections.Generic.IAsyncEnumerable`1,System.Boolean) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskAsyncEnumerableExtensions::ConfigureAwait(System.Collections.Generic.IAsyncEnumerable`1,System.Boolean) `` | Controlled | +| `clockwork.tasks.asyncenumerable.withcancellation` | `` System.Threading.Tasks.TaskAsyncEnumerableExtensions::WithCancellation(System.Collections.Generic.IAsyncEnumerable`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskAsyncEnumerableExtensions::WithCancellation(System.Collections.Generic.IAsyncEnumerable`1,System.Threading.CancellationToken) `` | Controlled | ## ValueTaskConversions family @@ -325,10 +325,10 @@ Policy: **Controlled**. `ValueTask.AsTask`, `ValueTask.AsTask`, `ValueTask.Pr | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.tasks.valuetask.astask` | `System.Threading.Tasks.ValueTask::AsTask()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledValueTask::AsTask(System.Threading.Tasks.ValueTask&)` | Controlled | -| `clockwork.tasks.valuetask.preserve` | `System.Threading.Tasks.ValueTask::Preserve()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledValueTask::Preserve(System.Threading.Tasks.ValueTask&)` | Controlled | -| `clockwork.tasks.valuetask.generic.astask` | `` System.Threading.Tasks.ValueTask`1::AsTask() `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledValueTask::AsTask(System.Threading.Tasks.ValueTask`1&) `` | Controlled | -| `clockwork.tasks.valuetask.generic.preserve` | `` System.Threading.Tasks.ValueTask`1::Preserve() `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledValueTask::Preserve(System.Threading.Tasks.ValueTask`1&) `` | Controlled | +| `clockwork.tasks.valuetask.astask` | `System.Threading.Tasks.ValueTask::AsTask()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledValueTask::AsTask(System.Threading.Tasks.ValueTask&)` | Controlled | +| `clockwork.tasks.valuetask.preserve` | `System.Threading.Tasks.ValueTask::Preserve()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledValueTask::Preserve(System.Threading.Tasks.ValueTask&)` | Controlled | +| `clockwork.tasks.valuetask.generic.astask` | `` System.Threading.Tasks.ValueTask`1::AsTask() `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledValueTask::AsTask(System.Threading.Tasks.ValueTask`1&) `` | Controlled | +| `clockwork.tasks.valuetask.generic.preserve` | `` System.Threading.Tasks.ValueTask`1::Preserve() `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledValueTask::Preserve(System.Threading.Tasks.ValueTask`1&) `` | Controlled | ## TaskFactory family @@ -336,30 +336,30 @@ Policy: **Controlled**. All 24 .NET 11 `TaskFactory.StartNew` and `TaskFactory,System.Object) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Action`1,System.Object) `` | Controlled | -| `clockwork.tasks.factory.startnew.action.state.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Action`1,System.Object,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Action`1,System.Object,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.factory.startnew.action.state.options` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Action`1,System.Object,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Action`1,System.Object,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | -| `clockwork.tasks.factory.startnew.action.state.scheduler` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Action`1,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Action`1,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.factory.startnew.func` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Func`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Func`1) `` | Controlled | -| `clockwork.tasks.factory.startnew.func.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Func`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Func`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.factory.startnew.func.options` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Func`1,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Func`1,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | -| `clockwork.tasks.factory.startnew.func.scheduler` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Func`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Func`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.factory.startnew.func.state` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Func`2,System.Object) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Func`2,System.Object) `` | Controlled | -| `clockwork.tasks.factory.startnew.func.state.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Func`2,System.Object,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Func`2,System.Object,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.factory.startnew.func.state.options` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Func`2,System.Object,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Func`2,System.Object,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | -| `clockwork.tasks.factory.startnew.func.state.scheduler` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Func`2,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Func`2,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.factory.generic.startnew.func` | `` System.Threading.Tasks.TaskFactory`1::StartNew(System.Func`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory`1,System.Func`1) `` | Controlled | -| `clockwork.tasks.factory.generic.startnew.func.cancellationtoken` | `` System.Threading.Tasks.TaskFactory`1::StartNew(System.Func`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory`1,System.Func`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.factory.generic.startnew.func.options` | `` System.Threading.Tasks.TaskFactory`1::StartNew(System.Func`1,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory`1,System.Func`1,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | -| `clockwork.tasks.factory.generic.startnew.func.scheduler` | `` System.Threading.Tasks.TaskFactory`1::StartNew(System.Func`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory`1,System.Func`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.factory.generic.startnew.func.state` | `` System.Threading.Tasks.TaskFactory`1::StartNew(System.Func`2,System.Object) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory`1,System.Func`2,System.Object) `` | Controlled | -| `clockwork.tasks.factory.generic.startnew.func.state.cancellationtoken` | `` System.Threading.Tasks.TaskFactory`1::StartNew(System.Func`2,System.Object,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory`1,System.Func`2,System.Object,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.factory.generic.startnew.func.state.options` | `` System.Threading.Tasks.TaskFactory`1::StartNew(System.Func`2,System.Object,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory`1,System.Func`2,System.Object,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | -| `clockwork.tasks.factory.generic.startnew.func.state.scheduler` | `` System.Threading.Tasks.TaskFactory`1::StartNew(System.Func`2,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory`1,System.Func`2,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.factory.startnew.action` | `System.Threading.Tasks.TaskFactory::StartNew(System.Action)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Action)` | Controlled | +| `clockwork.tasks.factory.startnew.action.cancellationtoken` | `System.Threading.Tasks.TaskFactory::StartNew(System.Action,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Action,System.Threading.CancellationToken)` | Controlled | +| `clockwork.tasks.factory.startnew.action.options` | `System.Threading.Tasks.TaskFactory::StartNew(System.Action,System.Threading.Tasks.TaskCreationOptions)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Action,System.Threading.Tasks.TaskCreationOptions)` | Controlled | +| `clockwork.tasks.factory.startnew.action.scheduler` | `System.Threading.Tasks.TaskFactory::StartNew(System.Action,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Action,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler)` | Controlled | +| `clockwork.tasks.factory.startnew.action.state` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Action`1,System.Object) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Action`1,System.Object) `` | Controlled | +| `clockwork.tasks.factory.startnew.action.state.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Action`1,System.Object,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Action`1,System.Object,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.factory.startnew.action.state.options` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Action`1,System.Object,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Action`1,System.Object,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | +| `clockwork.tasks.factory.startnew.action.state.scheduler` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Action`1,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Action`1,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.factory.startnew.func` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Func`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Func`1) `` | Controlled | +| `clockwork.tasks.factory.startnew.func.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Func`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Func`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.factory.startnew.func.options` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Func`1,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Func`1,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | +| `clockwork.tasks.factory.startnew.func.scheduler` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Func`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Func`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.factory.startnew.func.state` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Func`2,System.Object) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Func`2,System.Object) `` | Controlled | +| `clockwork.tasks.factory.startnew.func.state.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Func`2,System.Object,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Func`2,System.Object,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.factory.startnew.func.state.options` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Func`2,System.Object,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Func`2,System.Object,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | +| `clockwork.tasks.factory.startnew.func.state.scheduler` | `` System.Threading.Tasks.TaskFactory::StartNew(System.Func`2,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory,System.Func`2,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.factory.generic.startnew.func` | `` System.Threading.Tasks.TaskFactory`1::StartNew(System.Func`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory`1,System.Func`1) `` | Controlled | +| `clockwork.tasks.factory.generic.startnew.func.cancellationtoken` | `` System.Threading.Tasks.TaskFactory`1::StartNew(System.Func`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory`1,System.Func`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.factory.generic.startnew.func.options` | `` System.Threading.Tasks.TaskFactory`1::StartNew(System.Func`1,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory`1,System.Func`1,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | +| `clockwork.tasks.factory.generic.startnew.func.scheduler` | `` System.Threading.Tasks.TaskFactory`1::StartNew(System.Func`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory`1,System.Func`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.factory.generic.startnew.func.state` | `` System.Threading.Tasks.TaskFactory`1::StartNew(System.Func`2,System.Object) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory`1,System.Func`2,System.Object) `` | Controlled | +| `clockwork.tasks.factory.generic.startnew.func.state.cancellationtoken` | `` System.Threading.Tasks.TaskFactory`1::StartNew(System.Func`2,System.Object,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory`1,System.Func`2,System.Object,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.factory.generic.startnew.func.state.options` | `` System.Threading.Tasks.TaskFactory`1::StartNew(System.Func`2,System.Object,System.Threading.Tasks.TaskCreationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory`1,System.Func`2,System.Object,System.Threading.Tasks.TaskCreationOptions) `` | Controlled | +| `clockwork.tasks.factory.generic.startnew.func.state.scheduler` | `` System.Threading.Tasks.TaskFactory`1::StartNew(System.Func`2,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::StartNew(System.Threading.Tasks.TaskFactory`1,System.Func`2,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | ## TaskFactoryContinuations family @@ -367,54 +367,54 @@ Policy: **Controlled**. All 48 .NET 11 `TaskFactory` and `TaskFactory` `Conti | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.tasks.factory.continuewhenall.action` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task[],System.Action`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Action`1) `` | Controlled | -| `clockwork.tasks.factory.continuewhenall.action.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task[],System.Action`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Action`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.factory.continuewhenall.action.options` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task[],System.Action`1,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Action`1,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | -| `clockwork.tasks.factory.continuewhenall.action.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task[],System.Action`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Action`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.factory.continuewhenall.antecedent.action` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Action`1[]>) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Action`1[]>) `` | Controlled | -| `clockwork.tasks.factory.continuewhenall.antecedent.action.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Action`1[]>,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Action`1[]>,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.factory.continuewhenall.antecedent.action.options` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Action`1[]>,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Action`1[]>,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | -| `clockwork.tasks.factory.continuewhenall.antecedent.action.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Action`1[]>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Action`1[]>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.factory.continuewhenall.func` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task[],System.Func`2) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Func`2) `` | Controlled | -| `clockwork.tasks.factory.continuewhenall.func.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.factory.continuewhenall.func.options` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task[],System.Func`2,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Func`2,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | -| `clockwork.tasks.factory.continuewhenall.func.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.factory.continuewhenall.antecedent.func` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Func`2[],!!1>) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Func`2[],TResult>) `` | Controlled | -| `clockwork.tasks.factory.continuewhenall.antecedent.func.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Func`2[],!!1>,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Func`2[],TResult>,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.factory.continuewhenall.antecedent.func.options` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Func`2[],!!1>,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Func`2[],TResult>,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | -| `clockwork.tasks.factory.continuewhenall.antecedent.func.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Func`2[],!!1>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Func`2[],TResult>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.factory.continuewhenany.action` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task[],System.Action`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Action`1) `` | Controlled | -| `clockwork.tasks.factory.continuewhenany.action.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task[],System.Action`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Action`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.factory.continuewhenany.action.options` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task[],System.Action`1,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Action`1,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | -| `clockwork.tasks.factory.continuewhenany.action.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task[],System.Action`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Action`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.factory.continuewhenany.antecedent.action` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Action`1>) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Action`1>) `` | Controlled | -| `clockwork.tasks.factory.continuewhenany.antecedent.action.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Action`1>,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Action`1>,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.factory.continuewhenany.antecedent.action.options` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Action`1>,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Action`1>,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | -| `clockwork.tasks.factory.continuewhenany.antecedent.action.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Action`1>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Action`1>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.factory.continuewhenany.func` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task[],System.Func`2) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Func`2) `` | Controlled | -| `clockwork.tasks.factory.continuewhenany.func.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.factory.continuewhenany.func.options` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task[],System.Func`2,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Func`2,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | -| `clockwork.tasks.factory.continuewhenany.func.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.factory.continuewhenany.antecedent.func` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Func`2,!!1>) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Func`2,TResult>) `` | Controlled | -| `clockwork.tasks.factory.continuewhenany.antecedent.func.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Func`2,!!1>,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Func`2,TResult>,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.factory.continuewhenany.antecedent.func.options` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Func`2,!!1>,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Func`2,TResult>,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | -| `clockwork.tasks.factory.continuewhenany.antecedent.func.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Func`2,!!1>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Func`2,TResult>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.factory.generic.continuewhenall.func` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAll(System.Threading.Tasks.Task[],System.Func`2) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task[],System.Func`2) `` | Controlled | -| `clockwork.tasks.factory.generic.continuewhenall.func.cancellationtoken` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAll(System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.factory.generic.continuewhenall.func.options` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAll(System.Threading.Tasks.Task[],System.Func`2,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task[],System.Func`2,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | -| `clockwork.tasks.factory.generic.continuewhenall.func.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAll(System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.factory.generic.continuewhenall.antecedent.func` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Func`2[],!0>) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task`1[],System.Func`2[],TResult>) `` | Controlled | -| `clockwork.tasks.factory.generic.continuewhenall.antecedent.func.cancellationtoken` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Func`2[],!0>,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task`1[],System.Func`2[],TResult>,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.factory.generic.continuewhenall.antecedent.func.options` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Func`2[],!0>,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task`1[],System.Func`2[],TResult>,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | -| `clockwork.tasks.factory.generic.continuewhenall.antecedent.func.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Func`2[],!0>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task`1[],System.Func`2[],TResult>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.factory.generic.continuewhenany.func` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAny(System.Threading.Tasks.Task[],System.Func`2) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task[],System.Func`2) `` | Controlled | -| `clockwork.tasks.factory.generic.continuewhenany.func.cancellationtoken` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAny(System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.factory.generic.continuewhenany.func.options` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAny(System.Threading.Tasks.Task[],System.Func`2,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task[],System.Func`2,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | -| `clockwork.tasks.factory.generic.continuewhenany.func.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAny(System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | -| `clockwork.tasks.factory.generic.continuewhenany.antecedent.func` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Func`2,!0>) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task`1[],System.Func`2,TResult>) `` | Controlled | -| `clockwork.tasks.factory.generic.continuewhenany.antecedent.func.cancellationtoken` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Func`2,!0>,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task`1[],System.Func`2,TResult>,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.tasks.factory.generic.continuewhenany.antecedent.func.options` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Func`2,!0>,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task`1[],System.Func`2,TResult>,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | -| `clockwork.tasks.factory.generic.continuewhenany.antecedent.func.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Func`2,!0>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task`1[],System.Func`2,TResult>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.factory.continuewhenall.action` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task[],System.Action`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Action`1) `` | Controlled | +| `clockwork.tasks.factory.continuewhenall.action.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task[],System.Action`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Action`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.factory.continuewhenall.action.options` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task[],System.Action`1,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Action`1,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | +| `clockwork.tasks.factory.continuewhenall.action.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task[],System.Action`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Action`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.factory.continuewhenall.antecedent.action` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Action`1[]>) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Action`1[]>) `` | Controlled | +| `clockwork.tasks.factory.continuewhenall.antecedent.action.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Action`1[]>,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Action`1[]>,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.factory.continuewhenall.antecedent.action.options` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Action`1[]>,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Action`1[]>,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | +| `clockwork.tasks.factory.continuewhenall.antecedent.action.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Action`1[]>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Action`1[]>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.factory.continuewhenall.func` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task[],System.Func`2) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Func`2) `` | Controlled | +| `clockwork.tasks.factory.continuewhenall.func.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.factory.continuewhenall.func.options` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task[],System.Func`2,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Func`2,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | +| `clockwork.tasks.factory.continuewhenall.func.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.factory.continuewhenall.antecedent.func` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Func`2[],!!1>) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Func`2[],TResult>) `` | Controlled | +| `clockwork.tasks.factory.continuewhenall.antecedent.func.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Func`2[],!!1>,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Func`2[],TResult>,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.factory.continuewhenall.antecedent.func.options` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Func`2[],!!1>,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Func`2[],TResult>,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | +| `clockwork.tasks.factory.continuewhenall.antecedent.func.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Func`2[],!!1>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Func`2[],TResult>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.factory.continuewhenany.action` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task[],System.Action`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Action`1) `` | Controlled | +| `clockwork.tasks.factory.continuewhenany.action.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task[],System.Action`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Action`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.factory.continuewhenany.action.options` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task[],System.Action`1,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Action`1,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | +| `clockwork.tasks.factory.continuewhenany.action.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task[],System.Action`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Action`1,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.factory.continuewhenany.antecedent.action` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Action`1>) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Action`1>) `` | Controlled | +| `clockwork.tasks.factory.continuewhenany.antecedent.action.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Action`1>,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Action`1>,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.factory.continuewhenany.antecedent.action.options` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Action`1>,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Action`1>,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | +| `clockwork.tasks.factory.continuewhenany.antecedent.action.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Action`1>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Action`1>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.factory.continuewhenany.func` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task[],System.Func`2) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Func`2) `` | Controlled | +| `clockwork.tasks.factory.continuewhenany.func.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.factory.continuewhenany.func.options` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task[],System.Func`2,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Func`2,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | +| `clockwork.tasks.factory.continuewhenany.func.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.factory.continuewhenany.antecedent.func` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Func`2,!!1>) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Func`2,TResult>) `` | Controlled | +| `clockwork.tasks.factory.continuewhenany.antecedent.func.cancellationtoken` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Func`2,!!1>,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Func`2,TResult>,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.factory.continuewhenany.antecedent.func.options` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Func`2,!!1>,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Func`2,TResult>,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | +| `clockwork.tasks.factory.continuewhenany.antecedent.func.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Func`2,!!1>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory,System.Threading.Tasks.Task`1[],System.Func`2,TResult>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.factory.generic.continuewhenall.func` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAll(System.Threading.Tasks.Task[],System.Func`2) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task[],System.Func`2) `` | Controlled | +| `clockwork.tasks.factory.generic.continuewhenall.func.cancellationtoken` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAll(System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.factory.generic.continuewhenall.func.options` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAll(System.Threading.Tasks.Task[],System.Func`2,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task[],System.Func`2,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | +| `clockwork.tasks.factory.generic.continuewhenall.func.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAll(System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.factory.generic.continuewhenall.antecedent.func` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Func`2[],!0>) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task`1[],System.Func`2[],TResult>) `` | Controlled | +| `clockwork.tasks.factory.generic.continuewhenall.antecedent.func.cancellationtoken` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Func`2[],!0>,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task`1[],System.Func`2[],TResult>,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.factory.generic.continuewhenall.antecedent.func.options` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Func`2[],!0>,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task`1[],System.Func`2[],TResult>,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | +| `clockwork.tasks.factory.generic.continuewhenall.antecedent.func.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAll(System.Threading.Tasks.Task`1[],System.Func`2[],!0>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAll(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task`1[],System.Func`2[],TResult>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.factory.generic.continuewhenany.func` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAny(System.Threading.Tasks.Task[],System.Func`2) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task[],System.Func`2) `` | Controlled | +| `clockwork.tasks.factory.generic.continuewhenany.func.cancellationtoken` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAny(System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.factory.generic.continuewhenany.func.options` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAny(System.Threading.Tasks.Task[],System.Func`2,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task[],System.Func`2,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | +| `clockwork.tasks.factory.generic.continuewhenany.func.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAny(System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task[],System.Func`2,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | +| `clockwork.tasks.factory.generic.continuewhenany.antecedent.func` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Func`2,!0>) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task`1[],System.Func`2,TResult>) `` | Controlled | +| `clockwork.tasks.factory.generic.continuewhenany.antecedent.func.cancellationtoken` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Func`2,!0>,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task`1[],System.Func`2,TResult>,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.tasks.factory.generic.continuewhenany.antecedent.func.options` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Func`2,!0>,System.Threading.Tasks.TaskContinuationOptions) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task`1[],System.Func`2,TResult>,System.Threading.Tasks.TaskContinuationOptions) `` | Controlled | +| `clockwork.tasks.factory.generic.continuewhenany.antecedent.func.cancellationtoken.options.scheduler` | `` System.Threading.Tasks.TaskFactory`1::ContinueWhenAny(System.Threading.Tasks.Task`1[],System.Func`2,!0>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::ContinueWhenAny(System.Threading.Tasks.TaskFactory`1,System.Threading.Tasks.Task`1[],System.Func`2,TResult>,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler) `` | Controlled | ## TaskFactoryFromAsync family @@ -422,8 +422,8 @@ Policy: **Rejected**. Every `TaskFactory.FromAsync` and `TaskFactory.FromAsyn | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.tasks.factory.fromasync` | `System.Threading.Tasks.TaskFactory::FromAsync(*)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::RejectFromAsync(System.String)` | Rejected | -| `clockwork.tasks.factory.generic.fromasync` | `` System.Threading.Tasks.TaskFactory`1::FromAsync(*) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory::RejectFromAsync(System.String)` | Rejected | +| `clockwork.tasks.factory.fromasync` | `System.Threading.Tasks.TaskFactory::FromAsync(*)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::RejectFromAsync(System.String)` | Rejected | +| `clockwork.tasks.factory.generic.fromasync` | `` System.Threading.Tasks.TaskFactory`1::FromAsync(*) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory::RejectFromAsync(System.String)` | Rejected | ## Thread family @@ -431,27 +431,27 @@ Policy: **Controlled**. `Thread` construction (`ThreadStart`/`ParameterizedThrea | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.environment.currentmanagedthreadid` | `System.Environment::get_CurrentManagedThreadId()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.ControlledEnvironment::GetCurrentManagedThreadId()` | Controlled | -| `clockwork.thread.ctor.threadstart` | `new System.Threading.Thread(System.Threading.ThreadStart)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThread::Create(System.Threading.ThreadStart)` | Controlled | -| `clockwork.thread.ctor.threadstart.stacksize` | `new System.Threading.Thread(System.Threading.ThreadStart,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThread::Create(System.Threading.ThreadStart,System.Int32)` | Controlled | -| `clockwork.thread.ctor.parameterized` | `new System.Threading.Thread(System.Threading.ParameterizedThreadStart)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThread::Create(System.Threading.ParameterizedThreadStart)` | Controlled | -| `clockwork.thread.ctor.parameterized.stacksize` | `new System.Threading.Thread(System.Threading.ParameterizedThreadStart,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThread::Create(System.Threading.ParameterizedThreadStart,System.Int32)` | Controlled | -| `clockwork.thread.start` | `System.Threading.Thread::Start()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThread::Start(System.Threading.Thread)` | Controlled | -| `clockwork.thread.start.parameter` | `System.Threading.Thread::Start(System.Object)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThread::Start(System.Threading.Thread,System.Object)` | Controlled | -| `clockwork.thread.unsafestart` | `System.Threading.Thread::UnsafeStart()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThread::UnsafeStart(System.Threading.Thread)` | Controlled | -| `clockwork.thread.unsafestart.parameter` | `System.Threading.Thread::UnsafeStart(System.Object)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThread::UnsafeStart(System.Threading.Thread,System.Object)` | Controlled | -| `clockwork.thread.join` | `System.Threading.Thread::Join()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThread::Join(System.Threading.Thread)` | Controlled | -| `clockwork.thread.join.milliseconds` | `System.Threading.Thread::Join(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThread::Join(System.Threading.Thread,System.Int32)` | Controlled | -| `clockwork.thread.join.timespan` | `System.Threading.Thread::Join(System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThread::Join(System.Threading.Thread,System.TimeSpan)` | Controlled | -| `clockwork.thread.sleep.milliseconds` | `System.Threading.Thread::Sleep(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThread::Sleep(System.Int32)` | Controlled | -| `clockwork.thread.sleep.timespan` | `System.Threading.Thread::Sleep(System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThread::Sleep(System.TimeSpan)` | Controlled | -| `clockwork.thread.spinwait` | `System.Threading.Thread::SpinWait(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThread::SpinWait(System.Int32)` | Controlled | -| `clockwork.thread.yield` | `System.Threading.Thread::Yield()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThread::Yield()` | Controlled | -| `clockwork.thread.set_priority` | `System.Threading.Thread::set_Priority(System.Threading.ThreadPriority)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThread::SetPriority(System.Threading.Thread,System.Threading.ThreadPriority)` | Rejected | -| `clockwork.thread.interrupt` | `System.Threading.Thread::Interrupt()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThread::Interrupt(System.Threading.Thread)` | Rejected | -| `clockwork.thread.setapartmentstate` | `System.Threading.Thread::SetApartmentState(System.Threading.ApartmentState)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThread::SetApartmentState(System.Threading.Thread,System.Threading.ApartmentState)` | Rejected | -| `clockwork.thread.set_apartmentstate` | `System.Threading.Thread::set_ApartmentState(System.Threading.ApartmentState)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThread::SetApartmentStateProperty(System.Threading.Thread,System.Threading.ApartmentState)` | Rejected | -| `clockwork.thread.trysetapartmentstate` | `System.Threading.Thread::TrySetApartmentState(System.Threading.ApartmentState)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThread::TrySetApartmentState(System.Threading.Thread,System.Threading.ApartmentState)` | Rejected | +| `clockwork.environment.currentmanagedthreadid` | `System.Environment::get_CurrentManagedThreadId()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.ControlledEnvironment::GetCurrentManagedThreadId()` | Controlled | +| `clockwork.thread.ctor.threadstart` | `new System.Threading.Thread(System.Threading.ThreadStart)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread::Create(System.Threading.ThreadStart)` | Controlled | +| `clockwork.thread.ctor.threadstart.stacksize` | `new System.Threading.Thread(System.Threading.ThreadStart,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread::Create(System.Threading.ThreadStart,System.Int32)` | Controlled | +| `clockwork.thread.ctor.parameterized` | `new System.Threading.Thread(System.Threading.ParameterizedThreadStart)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread::Create(System.Threading.ParameterizedThreadStart)` | Controlled | +| `clockwork.thread.ctor.parameterized.stacksize` | `new System.Threading.Thread(System.Threading.ParameterizedThreadStart,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread::Create(System.Threading.ParameterizedThreadStart,System.Int32)` | Controlled | +| `clockwork.thread.start` | `System.Threading.Thread::Start()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread::Start(System.Threading.Thread)` | Controlled | +| `clockwork.thread.start.parameter` | `System.Threading.Thread::Start(System.Object)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread::Start(System.Threading.Thread,System.Object)` | Controlled | +| `clockwork.thread.unsafestart` | `System.Threading.Thread::UnsafeStart()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread::UnsafeStart(System.Threading.Thread)` | Controlled | +| `clockwork.thread.unsafestart.parameter` | `System.Threading.Thread::UnsafeStart(System.Object)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread::UnsafeStart(System.Threading.Thread,System.Object)` | Controlled | +| `clockwork.thread.join` | `System.Threading.Thread::Join()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread::Join(System.Threading.Thread)` | Controlled | +| `clockwork.thread.join.milliseconds` | `System.Threading.Thread::Join(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread::Join(System.Threading.Thread,System.Int32)` | Controlled | +| `clockwork.thread.join.timespan` | `System.Threading.Thread::Join(System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread::Join(System.Threading.Thread,System.TimeSpan)` | Controlled | +| `clockwork.thread.sleep.milliseconds` | `System.Threading.Thread::Sleep(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread::Sleep(System.Int32)` | Controlled | +| `clockwork.thread.sleep.timespan` | `System.Threading.Thread::Sleep(System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread::Sleep(System.TimeSpan)` | Controlled | +| `clockwork.thread.spinwait` | `System.Threading.Thread::SpinWait(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread::SpinWait(System.Int32)` | Controlled | +| `clockwork.thread.yield` | `System.Threading.Thread::Yield()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread::Yield()` | Controlled | +| `clockwork.thread.set_priority` | `System.Threading.Thread::set_Priority(System.Threading.ThreadPriority)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread::SetPriority(System.Threading.Thread,System.Threading.ThreadPriority)` | Rejected | +| `clockwork.thread.interrupt` | `System.Threading.Thread::Interrupt()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread::Interrupt(System.Threading.Thread)` | Rejected | +| `clockwork.thread.setapartmentstate` | `System.Threading.Thread::SetApartmentState(System.Threading.ApartmentState)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread::SetApartmentState(System.Threading.Thread,System.Threading.ApartmentState)` | Rejected | +| `clockwork.thread.set_apartmentstate` | `System.Threading.Thread::set_ApartmentState(System.Threading.ApartmentState)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread::SetApartmentStateProperty(System.Threading.Thread,System.Threading.ApartmentState)` | Rejected | +| `clockwork.thread.trysetapartmentstate` | `System.Threading.Thread::TrySetApartmentState(System.Threading.ApartmentState)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread::TrySetApartmentState(System.Threading.Thread,System.Threading.ApartmentState)` | Rejected | ## ThreadPool family @@ -459,22 +459,22 @@ Policy: **Controlled**. `ThreadPool.QueueUserWorkItem` (the `WaitCallback`, `Wai | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.threadpool.queue.waitcallback` | `System.Threading.ThreadPool::QueueUserWorkItem(System.Threading.WaitCallback)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThreadPool::QueueUserWorkItem(System.Threading.WaitCallback)` | Controlled | -| `clockwork.threadpool.queue.waitcallback.state` | `System.Threading.ThreadPool::QueueUserWorkItem(System.Threading.WaitCallback,System.Object)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThreadPool::QueueUserWorkItem(System.Threading.WaitCallback,System.Object)` | Controlled | -| `clockwork.threadpool.queue.generic` | `` System.Threading.ThreadPool::QueueUserWorkItem(System.Action`1,!!0,System.Boolean) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThreadPool::QueueUserWorkItem(System.Action`1,TState,System.Boolean) `` | Controlled | -| `clockwork.threadpool.unsafequeue.waitcallback.state` | `System.Threading.ThreadPool::UnsafeQueueUserWorkItem(System.Threading.WaitCallback,System.Object)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThreadPool::UnsafeQueueUserWorkItem(System.Threading.WaitCallback,System.Object)` | Controlled | -| `clockwork.threadpool.unsafequeue.workitem` | `System.Threading.ThreadPool::UnsafeQueueUserWorkItem(System.Threading.IThreadPoolWorkItem,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThreadPool::UnsafeQueueUserWorkItem(System.Threading.IThreadPoolWorkItem,System.Boolean)` | Controlled | -| `clockwork.threadpool.unsafequeue.generic` | `` System.Threading.ThreadPool::UnsafeQueueUserWorkItem(System.Action`1,!!0,System.Boolean) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThreadPool::UnsafeQueueUserWorkItem(System.Action`1,TState,System.Boolean) `` | Controlled | -| `clockwork.threadpool.unsafequeuenativeoverlapped` | `System.Threading.ThreadPool::UnsafeQueueNativeOverlapped(System.Threading.NativeOverlapped*)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThreadPool::RejectNativeOverlapped(System.String)` | Rejected | -| `clockwork.threadpool.registeredwaithandle.type` | `System.Threading.RegisteredWaitHandle` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledRegisteredWaitHandle` | Controlled | -| `clockwork.threadpool.registerwait.uint32` | `System.Threading.ThreadPool::RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.UInt32,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThreadPool::RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.UInt32,System.Boolean)` | Controlled | -| `clockwork.threadpool.registerwait.int32` | `System.Threading.ThreadPool::RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.Int32,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThreadPool::RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.Int32,System.Boolean)` | Controlled | -| `clockwork.threadpool.registerwait.int64` | `System.Threading.ThreadPool::RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.Int64,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThreadPool::RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.Int64,System.Boolean)` | Controlled | -| `clockwork.threadpool.registerwait.timespan` | `System.Threading.ThreadPool::RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.TimeSpan,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThreadPool::RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.TimeSpan,System.Boolean)` | Controlled | -| `clockwork.threadpool.unsaferegisterwait.uint32` | `System.Threading.ThreadPool::UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.UInt32,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThreadPool::UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.UInt32,System.Boolean)` | Controlled | -| `clockwork.threadpool.unsaferegisterwait.int32` | `System.Threading.ThreadPool::UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.Int32,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThreadPool::UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.Int32,System.Boolean)` | Controlled | -| `clockwork.threadpool.unsaferegisterwait.int64` | `System.Threading.ThreadPool::UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.Int64,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThreadPool::UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.Int64,System.Boolean)` | Controlled | -| `clockwork.threadpool.unsaferegisterwait.timespan` | `System.Threading.ThreadPool::UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.TimeSpan,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledThreadPool::UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.TimeSpan,System.Boolean)` | Controlled | +| `clockwork.threadpool.queue.waitcallback` | `System.Threading.ThreadPool::QueueUserWorkItem(System.Threading.WaitCallback)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThreadPool::QueueUserWorkItem(System.Threading.WaitCallback)` | Controlled | +| `clockwork.threadpool.queue.waitcallback.state` | `System.Threading.ThreadPool::QueueUserWorkItem(System.Threading.WaitCallback,System.Object)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThreadPool::QueueUserWorkItem(System.Threading.WaitCallback,System.Object)` | Controlled | +| `clockwork.threadpool.queue.generic` | `` System.Threading.ThreadPool::QueueUserWorkItem(System.Action`1,!!0,System.Boolean) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThreadPool::QueueUserWorkItem(System.Action`1,TState,System.Boolean) `` | Controlled | +| `clockwork.threadpool.unsafequeue.waitcallback.state` | `System.Threading.ThreadPool::UnsafeQueueUserWorkItem(System.Threading.WaitCallback,System.Object)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThreadPool::UnsafeQueueUserWorkItem(System.Threading.WaitCallback,System.Object)` | Controlled | +| `clockwork.threadpool.unsafequeue.workitem` | `System.Threading.ThreadPool::UnsafeQueueUserWorkItem(System.Threading.IThreadPoolWorkItem,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThreadPool::UnsafeQueueUserWorkItem(System.Threading.IThreadPoolWorkItem,System.Boolean)` | Controlled | +| `clockwork.threadpool.unsafequeue.generic` | `` System.Threading.ThreadPool::UnsafeQueueUserWorkItem(System.Action`1,!!0,System.Boolean) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThreadPool::UnsafeQueueUserWorkItem(System.Action`1,TState,System.Boolean) `` | Controlled | +| `clockwork.threadpool.unsafequeuenativeoverlapped` | `System.Threading.ThreadPool::UnsafeQueueNativeOverlapped(System.Threading.NativeOverlapped*)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThreadPool::RejectNativeOverlapped(System.String)` | Rejected | +| `clockwork.threadpool.registeredwaithandle.type` | `System.Threading.RegisteredWaitHandle` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledRegisteredWaitHandle` | Controlled | +| `clockwork.threadpool.registerwait.uint32` | `System.Threading.ThreadPool::RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.UInt32,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThreadPool::RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.UInt32,System.Boolean)` | Controlled | +| `clockwork.threadpool.registerwait.int32` | `System.Threading.ThreadPool::RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.Int32,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThreadPool::RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.Int32,System.Boolean)` | Controlled | +| `clockwork.threadpool.registerwait.int64` | `System.Threading.ThreadPool::RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.Int64,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThreadPool::RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.Int64,System.Boolean)` | Controlled | +| `clockwork.threadpool.registerwait.timespan` | `System.Threading.ThreadPool::RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.TimeSpan,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThreadPool::RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.TimeSpan,System.Boolean)` | Controlled | +| `clockwork.threadpool.unsaferegisterwait.uint32` | `System.Threading.ThreadPool::UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.UInt32,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThreadPool::UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.UInt32,System.Boolean)` | Controlled | +| `clockwork.threadpool.unsaferegisterwait.int32` | `System.Threading.ThreadPool::UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.Int32,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThreadPool::UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.Int32,System.Boolean)` | Controlled | +| `clockwork.threadpool.unsaferegisterwait.int64` | `System.Threading.ThreadPool::UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.Int64,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThreadPool::UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.Int64,System.Boolean)` | Controlled | +| `clockwork.threadpool.unsaferegisterwait.timespan` | `System.Threading.ThreadPool::UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.TimeSpan,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledThreadPool::UnsafeRegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.TimeSpan,System.Boolean)` | Controlled | ## Timers family @@ -482,11 +482,11 @@ Policy: **Controlled**. `System.Threading.Timer`, `System.Timers.Timer`, and `Pe | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.timer.threading.type` | `System.Threading.Timer` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledTimer` | Controlled | -| `clockwork.timer.component.type` | `System.Timers.Timer` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Timers.ControlledTimer` | Controlled | -| `clockwork.timer.periodic.type` | `System.Threading.PeriodicTimer` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledPeriodicTimer` | Controlled | -| `clockwork.timeprovider.system` | `System.TimeProvider::get_System()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.ControlledTimeProvider::get_System()` | Controlled | -| `clockwork.timeprovider.createtimer` | `System.TimeProvider::CreateTimer(System.Threading.TimerCallback,System.Object,System.TimeSpan,System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.ControlledTimeProvider::CreateTimer(System.TimeProvider,System.Threading.TimerCallback,System.Object,System.TimeSpan,System.TimeSpan)` | Controlled | +| `clockwork.timer.threading.type` | `System.Threading.Timer` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledTimer` | Controlled | +| `clockwork.timer.component.type` | `System.Timers.Timer` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Timers.ControlledTimer` | Controlled | +| `clockwork.timer.periodic.type` | `System.Threading.PeriodicTimer` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledPeriodicTimer` | Controlled | +| `clockwork.timeprovider.system` | `System.TimeProvider::get_System()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.ControlledTimeProvider::get_System()` | Controlled | +| `clockwork.timeprovider.createtimer` | `System.TimeProvider::CreateTimer(System.Threading.TimerCallback,System.Object,System.TimeSpan,System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.ControlledTimeProvider::CreateTimer(System.TimeProvider,System.Threading.TimerCallback,System.Object,System.TimeSpan,System.TimeSpan)` | Controlled | ## CancellationTimers family @@ -494,16 +494,16 @@ Policy: **Controlled**. `CancellationTokenSource` timed constructors and `Cancel | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.cancellationtokensource.ctor.milliseconds` | `new System.Threading.CancellationTokenSource(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledCancellationTokenSource::Create(System.Int32)` | Controlled | -| `clockwork.cancellationtokensource.ctor.timespan` | `new System.Threading.CancellationTokenSource(System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledCancellationTokenSource::Create(System.TimeSpan)` | Controlled | -| `clockwork.cancellationtokensource.ctor.timespan.timeprovider` | `new System.Threading.CancellationTokenSource(System.TimeSpan,System.TimeProvider)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledCancellationTokenSource::Create(System.TimeSpan,System.TimeProvider)` | Controlled | -| `clockwork.cancellationtokensource.cancelafter.milliseconds` | `System.Threading.CancellationTokenSource::CancelAfter(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledCancellationTokenSource::CancelAfter(System.Threading.CancellationTokenSource,System.Int32)` | Controlled | -| `clockwork.cancellationtokensource.cancelafter.timespan` | `System.Threading.CancellationTokenSource::CancelAfter(System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledCancellationTokenSource::CancelAfter(System.Threading.CancellationTokenSource,System.TimeSpan)` | Controlled | -| `clockwork.cancellationtokensource.cancel` | `System.Threading.CancellationTokenSource::Cancel()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledCancellationTokenSource::Cancel(System.Threading.CancellationTokenSource)` | Controlled | -| `clockwork.cancellationtokensource.cancel.throw` | `System.Threading.CancellationTokenSource::Cancel(System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledCancellationTokenSource::Cancel(System.Threading.CancellationTokenSource,System.Boolean)` | Controlled | -| `clockwork.cancellationtokensource.cancelasync` | `System.Threading.CancellationTokenSource::CancelAsync()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledCancellationTokenSource::CancelAsync(System.Threading.CancellationTokenSource)` | Controlled | -| `clockwork.cancellationtokensource.tryreset` | `System.Threading.CancellationTokenSource::TryReset()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledCancellationTokenSource::TryReset(System.Threading.CancellationTokenSource)` | Controlled | -| `clockwork.cancellationtokensource.dispose` | `System.Threading.CancellationTokenSource::Dispose()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledCancellationTokenSource::Dispose(System.Threading.CancellationTokenSource)` | Controlled | +| `clockwork.cancellationtokensource.ctor.milliseconds` | `new System.Threading.CancellationTokenSource(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledCancellationTokenSource::Create(System.Int32)` | Controlled | +| `clockwork.cancellationtokensource.ctor.timespan` | `new System.Threading.CancellationTokenSource(System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledCancellationTokenSource::Create(System.TimeSpan)` | Controlled | +| `clockwork.cancellationtokensource.ctor.timespan.timeprovider` | `new System.Threading.CancellationTokenSource(System.TimeSpan,System.TimeProvider)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledCancellationTokenSource::Create(System.TimeSpan,System.TimeProvider)` | Controlled | +| `clockwork.cancellationtokensource.cancelafter.milliseconds` | `System.Threading.CancellationTokenSource::CancelAfter(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledCancellationTokenSource::CancelAfter(System.Threading.CancellationTokenSource,System.Int32)` | Controlled | +| `clockwork.cancellationtokensource.cancelafter.timespan` | `System.Threading.CancellationTokenSource::CancelAfter(System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledCancellationTokenSource::CancelAfter(System.Threading.CancellationTokenSource,System.TimeSpan)` | Controlled | +| `clockwork.cancellationtokensource.cancel` | `System.Threading.CancellationTokenSource::Cancel()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledCancellationTokenSource::Cancel(System.Threading.CancellationTokenSource)` | Controlled | +| `clockwork.cancellationtokensource.cancel.throw` | `System.Threading.CancellationTokenSource::Cancel(System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledCancellationTokenSource::Cancel(System.Threading.CancellationTokenSource,System.Boolean)` | Controlled | +| `clockwork.cancellationtokensource.cancelasync` | `System.Threading.CancellationTokenSource::CancelAsync()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledCancellationTokenSource::CancelAsync(System.Threading.CancellationTokenSource)` | Controlled | +| `clockwork.cancellationtokensource.tryreset` | `System.Threading.CancellationTokenSource::TryReset()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledCancellationTokenSource::TryReset(System.Threading.CancellationTokenSource)` | Controlled | +| `clockwork.cancellationtokensource.dispose` | `System.Threading.CancellationTokenSource::Dispose()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledCancellationTokenSource::Dispose(System.Threading.CancellationTokenSource)` | Controlled | ## Parallel family @@ -511,52 +511,52 @@ Policy: **Controlled**. `Parallel.ForEachAsync`, `Parallel.ForAsync`, `Parallel. | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.parallel.invoke` | `System.Threading.Tasks.Parallel::Invoke(System.Action[])` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::Invoke(System.Action[])` | Controlled | -| `clockwork.parallel.invoke.options` | `System.Threading.Tasks.Parallel::Invoke(System.Threading.Tasks.ParallelOptions,System.Action[])` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::Invoke(System.Threading.Tasks.ParallelOptions,System.Action[])` | Controlled | -| `clockwork.parallel.for.int32` | `` System.Threading.Tasks.Parallel::For(System.Int32,System.Int32,System.Action`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::For(System.Int32,System.Int32,System.Action`1) `` | Controlled | -| `clockwork.parallel.for.int32.options` | `` System.Threading.Tasks.Parallel::For(System.Int32,System.Int32,System.Threading.Tasks.ParallelOptions,System.Action`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::For(System.Int32,System.Int32,System.Threading.Tasks.ParallelOptions,System.Action`1) `` | Controlled | -| `clockwork.parallel.for.int64` | `` System.Threading.Tasks.Parallel::For(System.Int64,System.Int64,System.Action`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::For(System.Int64,System.Int64,System.Action`1) `` | Controlled | -| `clockwork.parallel.for.int64.options` | `` System.Threading.Tasks.Parallel::For(System.Int64,System.Int64,System.Threading.Tasks.ParallelOptions,System.Action`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::For(System.Int64,System.Int64,System.Threading.Tasks.ParallelOptions,System.Action`1) `` | Controlled | -| `clockwork.parallel.foreach` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Action`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Action`1) `` | Controlled | -| `clockwork.parallel.foreach.options` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Threading.Tasks.ParallelOptions,System.Action`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Threading.Tasks.ParallelOptions,System.Action`1) `` | Controlled | -| `clockwork.parallel.foreach.partitioner` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Concurrent.Partitioner`1,System.Action`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::ForEach(System.Collections.Concurrent.Partitioner`1,System.Action`1) `` | Controlled | -| `clockwork.parallel.foreach.partitioner.options` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Concurrent.Partitioner`1,System.Threading.Tasks.ParallelOptions,System.Action`1) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::ForEach(System.Collections.Concurrent.Partitioner`1,System.Threading.Tasks.ParallelOptions,System.Action`1) `` | Controlled | -| `clockwork.parallel.forasync` | `` System.Threading.Tasks.Parallel::ForAsync(!!0,!!0,System.Func`3) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::ForAsync(T,T,System.Func`3) `` | Controlled | -| `clockwork.parallel.forasync.cancellationtoken` | `` System.Threading.Tasks.Parallel::ForAsync(!!0,!!0,System.Threading.CancellationToken,System.Func`3) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::ForAsync(T,T,System.Threading.CancellationToken,System.Func`3) `` | Controlled | -| `clockwork.parallel.forasync.options` | `` System.Threading.Tasks.Parallel::ForAsync(!!0,!!0,System.Threading.Tasks.ParallelOptions,System.Func`3) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::ForAsync(T,T,System.Threading.Tasks.ParallelOptions,System.Func`3) `` | Controlled | -| `clockwork.parallel.foreachasync` | `` System.Threading.Tasks.Parallel::ForEachAsync(System.Collections.Generic.IEnumerable`1,System.Func`3) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::ForEachAsync(System.Collections.Generic.IEnumerable`1,System.Func`3) `` | Controlled | -| `clockwork.parallel.foreachasync.cancellationtoken` | `` System.Threading.Tasks.Parallel::ForEachAsync(System.Collections.Generic.IEnumerable`1,System.Threading.CancellationToken,System.Func`3) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::ForEachAsync(System.Collections.Generic.IEnumerable`1,System.Threading.CancellationToken,System.Func`3) `` | Controlled | -| `clockwork.parallel.foreachasync.options` | `` System.Threading.Tasks.Parallel::ForEachAsync(System.Collections.Generic.IEnumerable`1,System.Threading.Tasks.ParallelOptions,System.Func`3) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::ForEachAsync(System.Collections.Generic.IEnumerable`1,System.Threading.Tasks.ParallelOptions,System.Func`3) `` | Controlled | -| `clockwork.parallel.foreachasync.asyncenumerable` | `` System.Threading.Tasks.Parallel::ForEachAsync(System.Collections.Generic.IAsyncEnumerable`1,System.Func`3) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::ForEachAsync(System.Collections.Generic.IAsyncEnumerable`1,System.Func`3) `` | Controlled | -| `clockwork.parallel.foreachasync.asyncenumerable.cancellationtoken` | `` System.Threading.Tasks.Parallel::ForEachAsync(System.Collections.Generic.IAsyncEnumerable`1,System.Threading.CancellationToken,System.Func`3) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::ForEachAsync(System.Collections.Generic.IAsyncEnumerable`1,System.Threading.CancellationToken,System.Func`3) `` | Controlled | -| `clockwork.parallel.foreachasync.asyncenumerable.options` | `` System.Threading.Tasks.Parallel::ForEachAsync(System.Collections.Generic.IAsyncEnumerable`1,System.Threading.Tasks.ParallelOptions,System.Func`3) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::ForEachAsync(System.Collections.Generic.IAsyncEnumerable`1,System.Threading.Tasks.ParallelOptions,System.Func`3) `` | Controlled | -| `clockwork.environment.processorcount` | `System.Environment::get_ProcessorCount()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.ControlledEnvironment::GetProcessorCount()` | Controlled | -| `clockwork.parallel.partitioner.create.int32` | `System.Collections.Concurrent.Partitioner::Create(System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledPartitioner::Create(System.Int32,System.Int32)` | Controlled | -| `clockwork.parallel.partitioner.create.int64` | `System.Collections.Concurrent.Partitioner::Create(System.Int64,System.Int64)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledPartitioner::Create(System.Int64,System.Int64)` | Controlled | -| `clockwork.parallel.for.int32.loopstate` | `` System.Threading.Tasks.Parallel::For(System.Int32,System.Int32,System.Action`2) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.for.int32.loopstate.options` | `` System.Threading.Tasks.Parallel::For(System.Int32,System.Int32,System.Threading.Tasks.ParallelOptions,System.Action`2) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.for.int64.loopstate` | `` System.Threading.Tasks.Parallel::For(System.Int64,System.Int64,System.Action`2) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.for.int64.loopstate.options` | `` System.Threading.Tasks.Parallel::For(System.Int64,System.Int64,System.Threading.Tasks.ParallelOptions,System.Action`2) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.foreach.loopstate` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Action`2) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.foreach.loopstate.index` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Action`3) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.foreach.loopstate.options` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Threading.Tasks.ParallelOptions,System.Action`2) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.foreach.loopstate.index.options` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Threading.Tasks.ParallelOptions,System.Action`3) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.foreach.partitioner.loopstate` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Concurrent.Partitioner`1,System.Action`2) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.foreach.partitioner.loopstate.options` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Concurrent.Partitioner`1,System.Threading.Tasks.ParallelOptions,System.Action`2) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.foreach.orderablepartitioner.loopstate.index` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Concurrent.OrderablePartitioner`1,System.Action`3) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.foreach.orderablepartitioner.loopstate.index.options` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Concurrent.OrderablePartitioner`1,System.Threading.Tasks.ParallelOptions,System.Action`3) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.for.int32.local` | `` System.Threading.Tasks.Parallel::For(System.Int32,System.Int32,System.Func`1,System.Func`4,System.Action`1) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.for.int32.local.options` | `` System.Threading.Tasks.Parallel::For(System.Int32,System.Int32,System.Threading.Tasks.ParallelOptions,System.Func`1,System.Func`4,System.Action`1) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.for.int64.local` | `` System.Threading.Tasks.Parallel::For(System.Int64,System.Int64,System.Func`1,System.Func`4,System.Action`1) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.for.int64.local.options` | `` System.Threading.Tasks.Parallel::For(System.Int64,System.Int64,System.Threading.Tasks.ParallelOptions,System.Func`1,System.Func`4,System.Action`1) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.foreach.local` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Func`1,System.Func`4,System.Action`1) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.foreach.local.options` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Threading.Tasks.ParallelOptions,System.Func`1,System.Func`4,System.Action`1) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.foreach.local.index` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Func`1,System.Func`5,System.Action`1) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.foreach.local.index.options` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Threading.Tasks.ParallelOptions,System.Func`1,System.Func`5,System.Action`1) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.foreach.partitioner.local` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Concurrent.Partitioner`1,System.Func`1,System.Func`4,System.Action`1) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.foreach.partitioner.local.options` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Concurrent.Partitioner`1,System.Threading.Tasks.ParallelOptions,System.Func`1,System.Func`4,System.Action`1) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.foreach.orderablepartitioner.local.index` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Concurrent.OrderablePartitioner`1,System.Func`1,System.Func`5,System.Action`1) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | -| `clockwork.parallel.foreach.orderablepartitioner.local.index.options` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Concurrent.OrderablePartitioner`1,System.Threading.Tasks.ParallelOptions,System.Func`1,System.Func`5,System.Action`1) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.invoke` | `System.Threading.Tasks.Parallel::Invoke(System.Action[])` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::Invoke(System.Action[])` | Controlled | +| `clockwork.parallel.invoke.options` | `System.Threading.Tasks.Parallel::Invoke(System.Threading.Tasks.ParallelOptions,System.Action[])` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::Invoke(System.Threading.Tasks.ParallelOptions,System.Action[])` | Controlled | +| `clockwork.parallel.for.int32` | `` System.Threading.Tasks.Parallel::For(System.Int32,System.Int32,System.Action`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::For(System.Int32,System.Int32,System.Action`1) `` | Controlled | +| `clockwork.parallel.for.int32.options` | `` System.Threading.Tasks.Parallel::For(System.Int32,System.Int32,System.Threading.Tasks.ParallelOptions,System.Action`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::For(System.Int32,System.Int32,System.Threading.Tasks.ParallelOptions,System.Action`1) `` | Controlled | +| `clockwork.parallel.for.int64` | `` System.Threading.Tasks.Parallel::For(System.Int64,System.Int64,System.Action`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::For(System.Int64,System.Int64,System.Action`1) `` | Controlled | +| `clockwork.parallel.for.int64.options` | `` System.Threading.Tasks.Parallel::For(System.Int64,System.Int64,System.Threading.Tasks.ParallelOptions,System.Action`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::For(System.Int64,System.Int64,System.Threading.Tasks.ParallelOptions,System.Action`1) `` | Controlled | +| `clockwork.parallel.foreach` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Action`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Action`1) `` | Controlled | +| `clockwork.parallel.foreach.options` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Threading.Tasks.ParallelOptions,System.Action`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Threading.Tasks.ParallelOptions,System.Action`1) `` | Controlled | +| `clockwork.parallel.foreach.partitioner` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Concurrent.Partitioner`1,System.Action`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::ForEach(System.Collections.Concurrent.Partitioner`1,System.Action`1) `` | Controlled | +| `clockwork.parallel.foreach.partitioner.options` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Concurrent.Partitioner`1,System.Threading.Tasks.ParallelOptions,System.Action`1) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::ForEach(System.Collections.Concurrent.Partitioner`1,System.Threading.Tasks.ParallelOptions,System.Action`1) `` | Controlled | +| `clockwork.parallel.forasync` | `` System.Threading.Tasks.Parallel::ForAsync(!!0,!!0,System.Func`3) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::ForAsync(T,T,System.Func`3) `` | Controlled | +| `clockwork.parallel.forasync.cancellationtoken` | `` System.Threading.Tasks.Parallel::ForAsync(!!0,!!0,System.Threading.CancellationToken,System.Func`3) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::ForAsync(T,T,System.Threading.CancellationToken,System.Func`3) `` | Controlled | +| `clockwork.parallel.forasync.options` | `` System.Threading.Tasks.Parallel::ForAsync(!!0,!!0,System.Threading.Tasks.ParallelOptions,System.Func`3) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::ForAsync(T,T,System.Threading.Tasks.ParallelOptions,System.Func`3) `` | Controlled | +| `clockwork.parallel.foreachasync` | `` System.Threading.Tasks.Parallel::ForEachAsync(System.Collections.Generic.IEnumerable`1,System.Func`3) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::ForEachAsync(System.Collections.Generic.IEnumerable`1,System.Func`3) `` | Controlled | +| `clockwork.parallel.foreachasync.cancellationtoken` | `` System.Threading.Tasks.Parallel::ForEachAsync(System.Collections.Generic.IEnumerable`1,System.Threading.CancellationToken,System.Func`3) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::ForEachAsync(System.Collections.Generic.IEnumerable`1,System.Threading.CancellationToken,System.Func`3) `` | Controlled | +| `clockwork.parallel.foreachasync.options` | `` System.Threading.Tasks.Parallel::ForEachAsync(System.Collections.Generic.IEnumerable`1,System.Threading.Tasks.ParallelOptions,System.Func`3) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::ForEachAsync(System.Collections.Generic.IEnumerable`1,System.Threading.Tasks.ParallelOptions,System.Func`3) `` | Controlled | +| `clockwork.parallel.foreachasync.asyncenumerable` | `` System.Threading.Tasks.Parallel::ForEachAsync(System.Collections.Generic.IAsyncEnumerable`1,System.Func`3) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::ForEachAsync(System.Collections.Generic.IAsyncEnumerable`1,System.Func`3) `` | Controlled | +| `clockwork.parallel.foreachasync.asyncenumerable.cancellationtoken` | `` System.Threading.Tasks.Parallel::ForEachAsync(System.Collections.Generic.IAsyncEnumerable`1,System.Threading.CancellationToken,System.Func`3) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::ForEachAsync(System.Collections.Generic.IAsyncEnumerable`1,System.Threading.CancellationToken,System.Func`3) `` | Controlled | +| `clockwork.parallel.foreachasync.asyncenumerable.options` | `` System.Threading.Tasks.Parallel::ForEachAsync(System.Collections.Generic.IAsyncEnumerable`1,System.Threading.Tasks.ParallelOptions,System.Func`3) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::ForEachAsync(System.Collections.Generic.IAsyncEnumerable`1,System.Threading.Tasks.ParallelOptions,System.Func`3) `` | Controlled | +| `clockwork.environment.processorcount` | `System.Environment::get_ProcessorCount()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.ControlledEnvironment::GetProcessorCount()` | Controlled | +| `clockwork.parallel.partitioner.create.int32` | `System.Collections.Concurrent.Partitioner::Create(System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledPartitioner::Create(System.Int32,System.Int32)` | Controlled | +| `clockwork.parallel.partitioner.create.int64` | `System.Collections.Concurrent.Partitioner::Create(System.Int64,System.Int64)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledPartitioner::Create(System.Int64,System.Int64)` | Controlled | +| `clockwork.parallel.for.int32.loopstate` | `` System.Threading.Tasks.Parallel::For(System.Int32,System.Int32,System.Action`2) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.for.int32.loopstate.options` | `` System.Threading.Tasks.Parallel::For(System.Int32,System.Int32,System.Threading.Tasks.ParallelOptions,System.Action`2) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.for.int64.loopstate` | `` System.Threading.Tasks.Parallel::For(System.Int64,System.Int64,System.Action`2) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.for.int64.loopstate.options` | `` System.Threading.Tasks.Parallel::For(System.Int64,System.Int64,System.Threading.Tasks.ParallelOptions,System.Action`2) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.foreach.loopstate` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Action`2) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.foreach.loopstate.index` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Action`3) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.foreach.loopstate.options` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Threading.Tasks.ParallelOptions,System.Action`2) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.foreach.loopstate.index.options` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Threading.Tasks.ParallelOptions,System.Action`3) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.foreach.partitioner.loopstate` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Concurrent.Partitioner`1,System.Action`2) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.foreach.partitioner.loopstate.options` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Concurrent.Partitioner`1,System.Threading.Tasks.ParallelOptions,System.Action`2) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.foreach.orderablepartitioner.loopstate.index` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Concurrent.OrderablePartitioner`1,System.Action`3) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.foreach.orderablepartitioner.loopstate.index.options` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Concurrent.OrderablePartitioner`1,System.Threading.Tasks.ParallelOptions,System.Action`3) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.for.int32.local` | `` System.Threading.Tasks.Parallel::For(System.Int32,System.Int32,System.Func`1,System.Func`4,System.Action`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.for.int32.local.options` | `` System.Threading.Tasks.Parallel::For(System.Int32,System.Int32,System.Threading.Tasks.ParallelOptions,System.Func`1,System.Func`4,System.Action`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.for.int64.local` | `` System.Threading.Tasks.Parallel::For(System.Int64,System.Int64,System.Func`1,System.Func`4,System.Action`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.for.int64.local.options` | `` System.Threading.Tasks.Parallel::For(System.Int64,System.Int64,System.Threading.Tasks.ParallelOptions,System.Func`1,System.Func`4,System.Action`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.foreach.local` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Func`1,System.Func`4,System.Action`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.foreach.local.options` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Threading.Tasks.ParallelOptions,System.Func`1,System.Func`4,System.Action`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.foreach.local.index` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Func`1,System.Func`5,System.Action`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.foreach.local.index.options` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Generic.IEnumerable`1,System.Threading.Tasks.ParallelOptions,System.Func`1,System.Func`5,System.Action`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.foreach.partitioner.local` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Concurrent.Partitioner`1,System.Func`1,System.Func`4,System.Action`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.foreach.partitioner.local.options` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Concurrent.Partitioner`1,System.Threading.Tasks.ParallelOptions,System.Func`1,System.Func`4,System.Action`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.foreach.orderablepartitioner.local.index` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Concurrent.OrderablePartitioner`1,System.Func`1,System.Func`5,System.Action`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | +| `clockwork.parallel.foreach.orderablepartitioner.local.index.options` | `` System.Threading.Tasks.Parallel::ForEach(System.Collections.Concurrent.OrderablePartitioner`1,System.Threading.Tasks.ParallelOptions,System.Func`1,System.Func`5,System.Action`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel::RejectUnsupported(System.String)` | Rejected | ## Channels family @@ -564,9 +564,9 @@ Policy: **Controlled**. `ChannelReader.ReadAllAsync` and the base `ChannelRea | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.channels.reader.readallasync` | `` System.Threading.Channels.ChannelReader`1::ReadAllAsync(System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Channels.ControlledChannelReader::ReadAllAsync(System.Threading.Channels.ChannelReader`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.channels.reader.readasync` | `` System.Threading.Channels.ChannelReader`1::ReadAsync(System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Channels.ControlledChannelReader::ReadAsync(System.Threading.Channels.ChannelReader`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.channels.writer.writeasync` | `` System.Threading.Channels.ChannelWriter`1::WriteAsync(!0,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Channels.ControlledChannelWriter::WriteAsync(System.Threading.Channels.ChannelWriter`1,T,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.channels.reader.readallasync` | `` System.Threading.Channels.ChannelReader`1::ReadAllAsync(System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Channels.ControlledChannelReader::ReadAllAsync(System.Threading.Channels.ChannelReader`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.channels.reader.readasync` | `` System.Threading.Channels.ChannelReader`1::ReadAsync(System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Channels.ControlledChannelReader::ReadAsync(System.Threading.Channels.ChannelReader`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.channels.writer.writeasync` | `` System.Threading.Channels.ChannelWriter`1::WriteAsync(!0,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Channels.ControlledChannelWriter::WriteAsync(System.Threading.Channels.ChannelWriter`1,T,System.Threading.CancellationToken) `` | Controlled | ## Plinq family @@ -574,12 +574,12 @@ Policy: **Rejected**. Every `ParallelEnumerable.AsParallel` overload, and `Paral | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.plinq.asparallel.generic` | `` System.Linq.ParallelEnumerable::AsParallel(System.Collections.Generic.IEnumerable`1) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Linq.ControlledParallelEnumerable::RejectUnsupported(System.String)` | Rejected | -| `clockwork.plinq.asparallel.nongeneric` | `System.Linq.ParallelEnumerable::AsParallel(System.Collections.IEnumerable)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Linq.ControlledParallelEnumerable::RejectUnsupported(System.String)` | Rejected | -| `clockwork.plinq.asparallel.partitioner` | `` System.Linq.ParallelEnumerable::AsParallel(System.Collections.Concurrent.Partitioner`1) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Linq.ControlledParallelEnumerable::RejectUnsupported(System.String)` | Rejected | -| `clockwork.plinq.range` | `System.Linq.ParallelEnumerable::Range(System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Linq.ControlledParallelEnumerable::RejectUnsupported(System.String)` | Rejected | -| `clockwork.plinq.repeat` | `System.Linq.ParallelEnumerable::Repeat(!!0,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Linq.ControlledParallelEnumerable::RejectUnsupported(System.String)` | Rejected | -| `clockwork.plinq.empty` | `System.Linq.ParallelEnumerable::Empty()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Linq.ControlledParallelEnumerable::RejectUnsupported(System.String)` | Rejected | +| `clockwork.plinq.asparallel.generic` | `` System.Linq.ParallelEnumerable::AsParallel(System.Collections.Generic.IEnumerable`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Linq.ControlledParallelEnumerable::RejectUnsupported(System.String)` | Rejected | +| `clockwork.plinq.asparallel.nongeneric` | `System.Linq.ParallelEnumerable::AsParallel(System.Collections.IEnumerable)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Linq.ControlledParallelEnumerable::RejectUnsupported(System.String)` | Rejected | +| `clockwork.plinq.asparallel.partitioner` | `` System.Linq.ParallelEnumerable::AsParallel(System.Collections.Concurrent.Partitioner`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Linq.ControlledParallelEnumerable::RejectUnsupported(System.String)` | Rejected | +| `clockwork.plinq.range` | `System.Linq.ParallelEnumerable::Range(System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Linq.ControlledParallelEnumerable::RejectUnsupported(System.String)` | Rejected | +| `clockwork.plinq.repeat` | `System.Linq.ParallelEnumerable::Repeat(!!0,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Linq.ControlledParallelEnumerable::RejectUnsupported(System.String)` | Rejected | +| `clockwork.plinq.empty` | `System.Linq.ParallelEnumerable::Empty()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Linq.ControlledParallelEnumerable::RejectUnsupported(System.String)` | Rejected | ## BlockingCollection family @@ -587,33 +587,33 @@ Policy: **Controlled**. The `BlockingCollection` members which add, take, or | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.blockingcollection.add` | `` System.Collections.Concurrent.BlockingCollection`1::Add(!0) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::Add(System.Collections.Concurrent.BlockingCollection`1,T) `` | Controlled | -| `clockwork.blockingcollection.add.token` | `` System.Collections.Concurrent.BlockingCollection`1::Add(!0,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::Add(System.Collections.Concurrent.BlockingCollection`1,T,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.blockingcollection.tryadd` | `` System.Collections.Concurrent.BlockingCollection`1::TryAdd(!0) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryAdd(System.Collections.Concurrent.BlockingCollection`1,T) `` | Controlled | -| `clockwork.blockingcollection.tryadd.timespan` | `` System.Collections.Concurrent.BlockingCollection`1::TryAdd(!0,System.TimeSpan) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryAdd(System.Collections.Concurrent.BlockingCollection`1,T,System.TimeSpan) `` | Controlled | -| `clockwork.blockingcollection.tryadd.milliseconds` | `` System.Collections.Concurrent.BlockingCollection`1::TryAdd(!0,System.Int32) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryAdd(System.Collections.Concurrent.BlockingCollection`1,T,System.Int32) `` | Controlled | -| `clockwork.blockingcollection.tryadd.milliseconds.token` | `` System.Collections.Concurrent.BlockingCollection`1::TryAdd(!0,System.Int32,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryAdd(System.Collections.Concurrent.BlockingCollection`1,T,System.Int32,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.blockingcollection.take` | `` System.Collections.Concurrent.BlockingCollection`1::Take() `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::Take(System.Collections.Concurrent.BlockingCollection`1) `` | Controlled | -| `clockwork.blockingcollection.take.token` | `` System.Collections.Concurrent.BlockingCollection`1::Take(System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::Take(System.Collections.Concurrent.BlockingCollection`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.blockingcollection.trytake` | `` System.Collections.Concurrent.BlockingCollection`1::TryTake(!0&) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryTake(System.Collections.Concurrent.BlockingCollection`1,T&) `` | Controlled | -| `clockwork.blockingcollection.trytake.timespan` | `` System.Collections.Concurrent.BlockingCollection`1::TryTake(!0&,System.TimeSpan) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryTake(System.Collections.Concurrent.BlockingCollection`1,T&,System.TimeSpan) `` | Controlled | -| `clockwork.blockingcollection.trytake.milliseconds` | `` System.Collections.Concurrent.BlockingCollection`1::TryTake(!0&,System.Int32) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryTake(System.Collections.Concurrent.BlockingCollection`1,T&,System.Int32) `` | Controlled | -| `clockwork.blockingcollection.trytake.milliseconds.token` | `` System.Collections.Concurrent.BlockingCollection`1::TryTake(!0&,System.Int32,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryTake(System.Collections.Concurrent.BlockingCollection`1,T&,System.Int32,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.blockingcollection.getconsumingenumerable` | `` System.Collections.Concurrent.BlockingCollection`1::GetConsumingEnumerable() `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::GetConsumingEnumerable(System.Collections.Concurrent.BlockingCollection`1) `` | Controlled | -| `clockwork.blockingcollection.getconsumingenumerable.token` | `` System.Collections.Concurrent.BlockingCollection`1::GetConsumingEnumerable(System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::GetConsumingEnumerable(System.Collections.Concurrent.BlockingCollection`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.blockingcollection.completeadding` | `` System.Collections.Concurrent.BlockingCollection`1::CompleteAdding() `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::CompleteAdding(System.Collections.Concurrent.BlockingCollection`1) `` | Controlled | -| `clockwork.blockingcollection.addtoany` | `` System.Collections.Concurrent.BlockingCollection`1::AddToAny(System.Collections.Concurrent.BlockingCollection`1[],!0) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::AddToAny(System.Collections.Concurrent.BlockingCollection`1[],T) `` | Controlled | -| `clockwork.blockingcollection.addtoany.token` | `` System.Collections.Concurrent.BlockingCollection`1::AddToAny(System.Collections.Concurrent.BlockingCollection`1[],!0,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::AddToAny(System.Collections.Concurrent.BlockingCollection`1[],T,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.blockingcollection.tryaddtoany` | `` System.Collections.Concurrent.BlockingCollection`1::TryAddToAny(System.Collections.Concurrent.BlockingCollection`1[],!0) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryAddToAny(System.Collections.Concurrent.BlockingCollection`1[],T) `` | Controlled | -| `clockwork.blockingcollection.tryaddtoany.timespan` | `` System.Collections.Concurrent.BlockingCollection`1::TryAddToAny(System.Collections.Concurrent.BlockingCollection`1[],!0,System.TimeSpan) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryAddToAny(System.Collections.Concurrent.BlockingCollection`1[],T,System.TimeSpan) `` | Controlled | -| `clockwork.blockingcollection.tryaddtoany.milliseconds` | `` System.Collections.Concurrent.BlockingCollection`1::TryAddToAny(System.Collections.Concurrent.BlockingCollection`1[],!0,System.Int32) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryAddToAny(System.Collections.Concurrent.BlockingCollection`1[],T,System.Int32) `` | Controlled | -| `clockwork.blockingcollection.tryaddtoany.milliseconds.token` | `` System.Collections.Concurrent.BlockingCollection`1::TryAddToAny(System.Collections.Concurrent.BlockingCollection`1[],!0,System.Int32,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryAddToAny(System.Collections.Concurrent.BlockingCollection`1[],T,System.Int32,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.blockingcollection.takefromany` | `` System.Collections.Concurrent.BlockingCollection`1::TakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],!0&) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],T&) `` | Controlled | -| `clockwork.blockingcollection.takefromany.token` | `` System.Collections.Concurrent.BlockingCollection`1::TakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],!0&,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],T&,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.blockingcollection.trytakefromany` | `` System.Collections.Concurrent.BlockingCollection`1::TryTakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],!0&) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryTakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],T&) `` | Controlled | -| `clockwork.blockingcollection.trytakefromany.timespan` | `` System.Collections.Concurrent.BlockingCollection`1::TryTakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],!0&,System.TimeSpan) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryTakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],T&,System.TimeSpan) `` | Controlled | -| `clockwork.blockingcollection.trytakefromany.milliseconds` | `` System.Collections.Concurrent.BlockingCollection`1::TryTakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],!0&,System.Int32) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryTakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],T&,System.Int32) `` | Controlled | -| `clockwork.blockingcollection.trytakefromany.milliseconds.token` | `` System.Collections.Concurrent.BlockingCollection`1::TryTakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],!0&,System.Int32,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryTakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],T&,System.Int32,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.blockingcollection.add` | `` System.Collections.Concurrent.BlockingCollection`1::Add(!0) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::Add(System.Collections.Concurrent.BlockingCollection`1,T) `` | Controlled | +| `clockwork.blockingcollection.add.token` | `` System.Collections.Concurrent.BlockingCollection`1::Add(!0,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::Add(System.Collections.Concurrent.BlockingCollection`1,T,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.blockingcollection.tryadd` | `` System.Collections.Concurrent.BlockingCollection`1::TryAdd(!0) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryAdd(System.Collections.Concurrent.BlockingCollection`1,T) `` | Controlled | +| `clockwork.blockingcollection.tryadd.timespan` | `` System.Collections.Concurrent.BlockingCollection`1::TryAdd(!0,System.TimeSpan) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryAdd(System.Collections.Concurrent.BlockingCollection`1,T,System.TimeSpan) `` | Controlled | +| `clockwork.blockingcollection.tryadd.milliseconds` | `` System.Collections.Concurrent.BlockingCollection`1::TryAdd(!0,System.Int32) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryAdd(System.Collections.Concurrent.BlockingCollection`1,T,System.Int32) `` | Controlled | +| `clockwork.blockingcollection.tryadd.milliseconds.token` | `` System.Collections.Concurrent.BlockingCollection`1::TryAdd(!0,System.Int32,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryAdd(System.Collections.Concurrent.BlockingCollection`1,T,System.Int32,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.blockingcollection.take` | `` System.Collections.Concurrent.BlockingCollection`1::Take() `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::Take(System.Collections.Concurrent.BlockingCollection`1) `` | Controlled | +| `clockwork.blockingcollection.take.token` | `` System.Collections.Concurrent.BlockingCollection`1::Take(System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::Take(System.Collections.Concurrent.BlockingCollection`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.blockingcollection.trytake` | `` System.Collections.Concurrent.BlockingCollection`1::TryTake(!0&) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryTake(System.Collections.Concurrent.BlockingCollection`1,T&) `` | Controlled | +| `clockwork.blockingcollection.trytake.timespan` | `` System.Collections.Concurrent.BlockingCollection`1::TryTake(!0&,System.TimeSpan) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryTake(System.Collections.Concurrent.BlockingCollection`1,T&,System.TimeSpan) `` | Controlled | +| `clockwork.blockingcollection.trytake.milliseconds` | `` System.Collections.Concurrent.BlockingCollection`1::TryTake(!0&,System.Int32) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryTake(System.Collections.Concurrent.BlockingCollection`1,T&,System.Int32) `` | Controlled | +| `clockwork.blockingcollection.trytake.milliseconds.token` | `` System.Collections.Concurrent.BlockingCollection`1::TryTake(!0&,System.Int32,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryTake(System.Collections.Concurrent.BlockingCollection`1,T&,System.Int32,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.blockingcollection.getconsumingenumerable` | `` System.Collections.Concurrent.BlockingCollection`1::GetConsumingEnumerable() `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::GetConsumingEnumerable(System.Collections.Concurrent.BlockingCollection`1) `` | Controlled | +| `clockwork.blockingcollection.getconsumingenumerable.token` | `` System.Collections.Concurrent.BlockingCollection`1::GetConsumingEnumerable(System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::GetConsumingEnumerable(System.Collections.Concurrent.BlockingCollection`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.blockingcollection.completeadding` | `` System.Collections.Concurrent.BlockingCollection`1::CompleteAdding() `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::CompleteAdding(System.Collections.Concurrent.BlockingCollection`1) `` | Controlled | +| `clockwork.blockingcollection.addtoany` | `` System.Collections.Concurrent.BlockingCollection`1::AddToAny(System.Collections.Concurrent.BlockingCollection`1[],!0) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::AddToAny(System.Collections.Concurrent.BlockingCollection`1[],T) `` | Controlled | +| `clockwork.blockingcollection.addtoany.token` | `` System.Collections.Concurrent.BlockingCollection`1::AddToAny(System.Collections.Concurrent.BlockingCollection`1[],!0,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::AddToAny(System.Collections.Concurrent.BlockingCollection`1[],T,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.blockingcollection.tryaddtoany` | `` System.Collections.Concurrent.BlockingCollection`1::TryAddToAny(System.Collections.Concurrent.BlockingCollection`1[],!0) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryAddToAny(System.Collections.Concurrent.BlockingCollection`1[],T) `` | Controlled | +| `clockwork.blockingcollection.tryaddtoany.timespan` | `` System.Collections.Concurrent.BlockingCollection`1::TryAddToAny(System.Collections.Concurrent.BlockingCollection`1[],!0,System.TimeSpan) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryAddToAny(System.Collections.Concurrent.BlockingCollection`1[],T,System.TimeSpan) `` | Controlled | +| `clockwork.blockingcollection.tryaddtoany.milliseconds` | `` System.Collections.Concurrent.BlockingCollection`1::TryAddToAny(System.Collections.Concurrent.BlockingCollection`1[],!0,System.Int32) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryAddToAny(System.Collections.Concurrent.BlockingCollection`1[],T,System.Int32) `` | Controlled | +| `clockwork.blockingcollection.tryaddtoany.milliseconds.token` | `` System.Collections.Concurrent.BlockingCollection`1::TryAddToAny(System.Collections.Concurrent.BlockingCollection`1[],!0,System.Int32,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryAddToAny(System.Collections.Concurrent.BlockingCollection`1[],T,System.Int32,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.blockingcollection.takefromany` | `` System.Collections.Concurrent.BlockingCollection`1::TakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],!0&) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],T&) `` | Controlled | +| `clockwork.blockingcollection.takefromany.token` | `` System.Collections.Concurrent.BlockingCollection`1::TakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],!0&,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],T&,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.blockingcollection.trytakefromany` | `` System.Collections.Concurrent.BlockingCollection`1::TryTakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],!0&) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryTakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],T&) `` | Controlled | +| `clockwork.blockingcollection.trytakefromany.timespan` | `` System.Collections.Concurrent.BlockingCollection`1::TryTakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],!0&,System.TimeSpan) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryTakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],T&,System.TimeSpan) `` | Controlled | +| `clockwork.blockingcollection.trytakefromany.milliseconds` | `` System.Collections.Concurrent.BlockingCollection`1::TryTakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],!0&,System.Int32) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryTakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],T&,System.Int32) `` | Controlled | +| `clockwork.blockingcollection.trytakefromany.milliseconds.token` | `` System.Collections.Concurrent.BlockingCollection`1::TryTakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],!0&,System.Int32,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection::TryTakeFromAny(System.Collections.Concurrent.BlockingCollection`1[],T&,System.Int32,System.Threading.CancellationToken) `` | Controlled | ## AsyncIO family @@ -621,53 +621,53 @@ Policy: **Controlled**. The asynchronous members of `Stream`, `TextReader`, and | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.io.stream.readasync.array` | `System.IO.Stream::ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledStream::ReadAsync(System.IO.Stream,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)` | Controlled | -| `clockwork.io.stream.readasync.memory` | `` System.IO.Stream::ReadAsync(System.Memory`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledStream::ReadAsync(System.IO.Stream,System.Memory`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.io.stream.writeasync.array` | `System.IO.Stream::WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledStream::WriteAsync(System.IO.Stream,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)` | Controlled | -| `clockwork.io.stream.writeasync.memory` | `` System.IO.Stream::WriteAsync(System.ReadOnlyMemory`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledStream::WriteAsync(System.IO.Stream,System.ReadOnlyMemory`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.io.stream.flushasync.token` | `System.IO.Stream::FlushAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledStream::FlushAsync(System.IO.Stream,System.Threading.CancellationToken)` | Controlled | -| `clockwork.io.stream.copytoasync.buffersize.token` | `System.IO.Stream::CopyToAsync(System.IO.Stream,System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledStream::CopyToAsync(System.IO.Stream,System.IO.Stream,System.Int32,System.Threading.CancellationToken)` | Controlled | -| `clockwork.io.stream.beginread` | `System.IO.Stream::BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledStream::BeginRead(System.IO.Stream,System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)` | Controlled | -| `clockwork.io.stream.endread` | `System.IO.Stream::EndRead(System.IAsyncResult)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledStream::EndRead(System.IO.Stream,System.IAsyncResult)` | Controlled | -| `clockwork.io.stream.beginwrite` | `System.IO.Stream::BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledStream::BeginWrite(System.IO.Stream,System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)` | Controlled | -| `clockwork.io.stream.endwrite` | `System.IO.Stream::EndWrite(System.IAsyncResult)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledStream::EndWrite(System.IO.Stream,System.IAsyncResult)` | Controlled | -| `clockwork.io.stream.readasync.array.notoken` | `System.IO.Stream::ReadAsync(System.Byte[],System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledStream::ReadAsync(System.IO.Stream,System.Byte[],System.Int32,System.Int32)` | Controlled | -| `clockwork.io.stream.writeasync.array.notoken` | `System.IO.Stream::WriteAsync(System.Byte[],System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledStream::WriteAsync(System.IO.Stream,System.Byte[],System.Int32,System.Int32)` | Controlled | -| `clockwork.io.stream.flushasync` | `System.IO.Stream::FlushAsync()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledStream::FlushAsync(System.IO.Stream)` | Controlled | -| `clockwork.io.stream.copytoasync` | `System.IO.Stream::CopyToAsync(System.IO.Stream)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledStream::CopyToAsync(System.IO.Stream,System.IO.Stream)` | Controlled | -| `clockwork.io.stream.copytoasync.buffersize` | `System.IO.Stream::CopyToAsync(System.IO.Stream,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledStream::CopyToAsync(System.IO.Stream,System.IO.Stream,System.Int32)` | Controlled | -| `clockwork.io.stream.copytoasync.token` | `System.IO.Stream::CopyToAsync(System.IO.Stream,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledStream::CopyToAsync(System.IO.Stream,System.IO.Stream,System.Threading.CancellationToken)` | Controlled | -| `clockwork.io.stream.readexactlyasync.memory` | `` System.IO.Stream::ReadExactlyAsync(System.Memory`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledStream::ReadExactlyAsync(System.IO.Stream,System.Memory`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.io.stream.readexactlyasync.array` | `System.IO.Stream::ReadExactlyAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledStream::ReadExactlyAsync(System.IO.Stream,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)` | Controlled | -| `clockwork.io.stream.readatleastasync` | `` System.IO.Stream::ReadAtLeastAsync(System.Memory`1,System.Int32,System.Boolean,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledStream::ReadAtLeastAsync(System.IO.Stream,System.Memory`1,System.Int32,System.Boolean,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.io.textreader.readlineasync` | `System.IO.TextReader::ReadLineAsync()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextReader::ReadLineAsync(System.IO.TextReader)` | Controlled | -| `clockwork.io.textreader.readlineasync.token` | `System.IO.TextReader::ReadLineAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextReader::ReadLineAsync(System.IO.TextReader,System.Threading.CancellationToken)` | Controlled | -| `clockwork.io.textreader.readtoendasync` | `System.IO.TextReader::ReadToEndAsync()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextReader::ReadToEndAsync(System.IO.TextReader)` | Controlled | -| `clockwork.io.textreader.readtoendasync.token` | `System.IO.TextReader::ReadToEndAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextReader::ReadToEndAsync(System.IO.TextReader,System.Threading.CancellationToken)` | Controlled | -| `clockwork.io.textreader.readasync.array` | `System.IO.TextReader::ReadAsync(System.Char[],System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextReader::ReadAsync(System.IO.TextReader,System.Char[],System.Int32,System.Int32)` | Controlled | -| `clockwork.io.textreader.readasync.memory` | `` System.IO.TextReader::ReadAsync(System.Memory`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextReader::ReadAsync(System.IO.TextReader,System.Memory`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.io.textreader.readblockasync.array` | `System.IO.TextReader::ReadBlockAsync(System.Char[],System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextReader::ReadBlockAsync(System.IO.TextReader,System.Char[],System.Int32,System.Int32)` | Controlled | -| `clockwork.io.textreader.readblockasync.memory` | `` System.IO.TextReader::ReadBlockAsync(System.Memory`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextReader::ReadBlockAsync(System.IO.TextReader,System.Memory`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.io.textwriter.writeasync.char` | `System.IO.TextWriter::WriteAsync(System.Char)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextWriter::WriteAsync(System.IO.TextWriter,System.Char)` | Controlled | -| `clockwork.io.textwriter.writeasync.rune` | `System.IO.TextWriter::WriteAsync(System.Text.Rune)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextWriter::WriteAsync(System.IO.TextWriter,System.Text.Rune)` | Controlled | -| `clockwork.io.textwriter.writeasync.string` | `System.IO.TextWriter::WriteAsync(System.String)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextWriter::WriteAsync(System.IO.TextWriter,System.String)` | Controlled | -| `clockwork.io.textwriter.writeasync.stringbuilder` | `System.IO.TextWriter::WriteAsync(System.Text.StringBuilder,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextWriter::WriteAsync(System.IO.TextWriter,System.Text.StringBuilder,System.Threading.CancellationToken)` | Controlled | -| `clockwork.io.textwriter.writeasync.array` | `System.IO.TextWriter::WriteAsync(System.Char[],System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextWriter::WriteAsync(System.IO.TextWriter,System.Char[],System.Int32,System.Int32)` | Controlled | -| `clockwork.io.textwriter.writeasync.memory` | `` System.IO.TextWriter::WriteAsync(System.ReadOnlyMemory`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextWriter::WriteAsync(System.IO.TextWriter,System.ReadOnlyMemory`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.io.textwriter.writelineasync.char` | `System.IO.TextWriter::WriteLineAsync(System.Char)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextWriter::WriteLineAsync(System.IO.TextWriter,System.Char)` | Controlled | -| `clockwork.io.textwriter.writelineasync.rune` | `System.IO.TextWriter::WriteLineAsync(System.Text.Rune)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextWriter::WriteLineAsync(System.IO.TextWriter,System.Text.Rune)` | Controlled | -| `clockwork.io.textwriter.writelineasync.string` | `System.IO.TextWriter::WriteLineAsync(System.String)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextWriter::WriteLineAsync(System.IO.TextWriter,System.String)` | Controlled | -| `clockwork.io.textwriter.writelineasync.stringbuilder` | `System.IO.TextWriter::WriteLineAsync(System.Text.StringBuilder,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextWriter::WriteLineAsync(System.IO.TextWriter,System.Text.StringBuilder,System.Threading.CancellationToken)` | Controlled | -| `clockwork.io.textwriter.writelineasync.array` | `System.IO.TextWriter::WriteLineAsync(System.Char[],System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextWriter::WriteLineAsync(System.IO.TextWriter,System.Char[],System.Int32,System.Int32)` | Controlled | -| `clockwork.io.textwriter.writelineasync.memory` | `` System.IO.TextWriter::WriteLineAsync(System.ReadOnlyMemory`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextWriter::WriteLineAsync(System.IO.TextWriter,System.ReadOnlyMemory`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.io.textwriter.writelineasync` | `System.IO.TextWriter::WriteLineAsync()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextWriter::WriteLineAsync(System.IO.TextWriter)` | Controlled | -| `clockwork.io.textwriter.flushasync` | `System.IO.TextWriter::FlushAsync()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextWriter::FlushAsync(System.IO.TextWriter)` | Controlled | -| `clockwork.io.textwriter.flushasync.token` | `System.IO.TextWriter::FlushAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextWriter::FlushAsync(System.IO.TextWriter,System.Threading.CancellationToken)` | Controlled | -| `clockwork.io.textwriter.writeasync.string.token` | `System.IO.TextWriter::WriteAsync(System.String,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextWriter::WriteAsync(System.IO.TextWriter,System.String,System.Threading.CancellationToken)` | Controlled | -| `clockwork.io.textwriter.writeasync.chararray` | `System.IO.TextWriter::WriteAsync(System.Char[])` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextWriter::WriteAsync(System.IO.TextWriter,System.Char[])` | Controlled | -| `clockwork.io.textwriter.writelineasync.string.token` | `System.IO.TextWriter::WriteLineAsync(System.String,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextWriter::WriteLineAsync(System.IO.TextWriter,System.String,System.Threading.CancellationToken)` | Controlled | -| `clockwork.io.textwriter.writelineasync.chararray` | `System.IO.TextWriter::WriteLineAsync(System.Char[])` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextWriter::WriteLineAsync(System.IO.TextWriter,System.Char[])` | Controlled | -| `clockwork.io.textwriter.writelineasync.token` | `System.IO.TextWriter::WriteLineAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.IO.ControlledTextWriter::WriteLineAsync(System.IO.TextWriter,System.Threading.CancellationToken)` | Controlled | +| `clockwork.io.stream.readasync.array` | `System.IO.Stream::ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledStream::ReadAsync(System.IO.Stream,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)` | Controlled | +| `clockwork.io.stream.readasync.memory` | `` System.IO.Stream::ReadAsync(System.Memory`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledStream::ReadAsync(System.IO.Stream,System.Memory`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.io.stream.writeasync.array` | `System.IO.Stream::WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledStream::WriteAsync(System.IO.Stream,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)` | Controlled | +| `clockwork.io.stream.writeasync.memory` | `` System.IO.Stream::WriteAsync(System.ReadOnlyMemory`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledStream::WriteAsync(System.IO.Stream,System.ReadOnlyMemory`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.io.stream.flushasync.token` | `System.IO.Stream::FlushAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledStream::FlushAsync(System.IO.Stream,System.Threading.CancellationToken)` | Controlled | +| `clockwork.io.stream.copytoasync.buffersize.token` | `System.IO.Stream::CopyToAsync(System.IO.Stream,System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledStream::CopyToAsync(System.IO.Stream,System.IO.Stream,System.Int32,System.Threading.CancellationToken)` | Controlled | +| `clockwork.io.stream.beginread` | `System.IO.Stream::BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledStream::BeginRead(System.IO.Stream,System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)` | Controlled | +| `clockwork.io.stream.endread` | `System.IO.Stream::EndRead(System.IAsyncResult)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledStream::EndRead(System.IO.Stream,System.IAsyncResult)` | Controlled | +| `clockwork.io.stream.beginwrite` | `System.IO.Stream::BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledStream::BeginWrite(System.IO.Stream,System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)` | Controlled | +| `clockwork.io.stream.endwrite` | `System.IO.Stream::EndWrite(System.IAsyncResult)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledStream::EndWrite(System.IO.Stream,System.IAsyncResult)` | Controlled | +| `clockwork.io.stream.readasync.array.notoken` | `System.IO.Stream::ReadAsync(System.Byte[],System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledStream::ReadAsync(System.IO.Stream,System.Byte[],System.Int32,System.Int32)` | Controlled | +| `clockwork.io.stream.writeasync.array.notoken` | `System.IO.Stream::WriteAsync(System.Byte[],System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledStream::WriteAsync(System.IO.Stream,System.Byte[],System.Int32,System.Int32)` | Controlled | +| `clockwork.io.stream.flushasync` | `System.IO.Stream::FlushAsync()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledStream::FlushAsync(System.IO.Stream)` | Controlled | +| `clockwork.io.stream.copytoasync` | `System.IO.Stream::CopyToAsync(System.IO.Stream)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledStream::CopyToAsync(System.IO.Stream,System.IO.Stream)` | Controlled | +| `clockwork.io.stream.copytoasync.buffersize` | `System.IO.Stream::CopyToAsync(System.IO.Stream,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledStream::CopyToAsync(System.IO.Stream,System.IO.Stream,System.Int32)` | Controlled | +| `clockwork.io.stream.copytoasync.token` | `System.IO.Stream::CopyToAsync(System.IO.Stream,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledStream::CopyToAsync(System.IO.Stream,System.IO.Stream,System.Threading.CancellationToken)` | Controlled | +| `clockwork.io.stream.readexactlyasync.memory` | `` System.IO.Stream::ReadExactlyAsync(System.Memory`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledStream::ReadExactlyAsync(System.IO.Stream,System.Memory`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.io.stream.readexactlyasync.array` | `System.IO.Stream::ReadExactlyAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledStream::ReadExactlyAsync(System.IO.Stream,System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)` | Controlled | +| `clockwork.io.stream.readatleastasync` | `` System.IO.Stream::ReadAtLeastAsync(System.Memory`1,System.Int32,System.Boolean,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledStream::ReadAtLeastAsync(System.IO.Stream,System.Memory`1,System.Int32,System.Boolean,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.io.textreader.readlineasync` | `System.IO.TextReader::ReadLineAsync()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextReader::ReadLineAsync(System.IO.TextReader)` | Controlled | +| `clockwork.io.textreader.readlineasync.token` | `System.IO.TextReader::ReadLineAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextReader::ReadLineAsync(System.IO.TextReader,System.Threading.CancellationToken)` | Controlled | +| `clockwork.io.textreader.readtoendasync` | `System.IO.TextReader::ReadToEndAsync()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextReader::ReadToEndAsync(System.IO.TextReader)` | Controlled | +| `clockwork.io.textreader.readtoendasync.token` | `System.IO.TextReader::ReadToEndAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextReader::ReadToEndAsync(System.IO.TextReader,System.Threading.CancellationToken)` | Controlled | +| `clockwork.io.textreader.readasync.array` | `System.IO.TextReader::ReadAsync(System.Char[],System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextReader::ReadAsync(System.IO.TextReader,System.Char[],System.Int32,System.Int32)` | Controlled | +| `clockwork.io.textreader.readasync.memory` | `` System.IO.TextReader::ReadAsync(System.Memory`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextReader::ReadAsync(System.IO.TextReader,System.Memory`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.io.textreader.readblockasync.array` | `System.IO.TextReader::ReadBlockAsync(System.Char[],System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextReader::ReadBlockAsync(System.IO.TextReader,System.Char[],System.Int32,System.Int32)` | Controlled | +| `clockwork.io.textreader.readblockasync.memory` | `` System.IO.TextReader::ReadBlockAsync(System.Memory`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextReader::ReadBlockAsync(System.IO.TextReader,System.Memory`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.io.textwriter.writeasync.char` | `System.IO.TextWriter::WriteAsync(System.Char)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextWriter::WriteAsync(System.IO.TextWriter,System.Char)` | Controlled | +| `clockwork.io.textwriter.writeasync.rune` | `System.IO.TextWriter::WriteAsync(System.Text.Rune)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextWriter::WriteAsync(System.IO.TextWriter,System.Text.Rune)` | Controlled | +| `clockwork.io.textwriter.writeasync.string` | `System.IO.TextWriter::WriteAsync(System.String)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextWriter::WriteAsync(System.IO.TextWriter,System.String)` | Controlled | +| `clockwork.io.textwriter.writeasync.stringbuilder` | `System.IO.TextWriter::WriteAsync(System.Text.StringBuilder,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextWriter::WriteAsync(System.IO.TextWriter,System.Text.StringBuilder,System.Threading.CancellationToken)` | Controlled | +| `clockwork.io.textwriter.writeasync.array` | `System.IO.TextWriter::WriteAsync(System.Char[],System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextWriter::WriteAsync(System.IO.TextWriter,System.Char[],System.Int32,System.Int32)` | Controlled | +| `clockwork.io.textwriter.writeasync.memory` | `` System.IO.TextWriter::WriteAsync(System.ReadOnlyMemory`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextWriter::WriteAsync(System.IO.TextWriter,System.ReadOnlyMemory`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.io.textwriter.writelineasync.char` | `System.IO.TextWriter::WriteLineAsync(System.Char)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextWriter::WriteLineAsync(System.IO.TextWriter,System.Char)` | Controlled | +| `clockwork.io.textwriter.writelineasync.rune` | `System.IO.TextWriter::WriteLineAsync(System.Text.Rune)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextWriter::WriteLineAsync(System.IO.TextWriter,System.Text.Rune)` | Controlled | +| `clockwork.io.textwriter.writelineasync.string` | `System.IO.TextWriter::WriteLineAsync(System.String)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextWriter::WriteLineAsync(System.IO.TextWriter,System.String)` | Controlled | +| `clockwork.io.textwriter.writelineasync.stringbuilder` | `System.IO.TextWriter::WriteLineAsync(System.Text.StringBuilder,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextWriter::WriteLineAsync(System.IO.TextWriter,System.Text.StringBuilder,System.Threading.CancellationToken)` | Controlled | +| `clockwork.io.textwriter.writelineasync.array` | `System.IO.TextWriter::WriteLineAsync(System.Char[],System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextWriter::WriteLineAsync(System.IO.TextWriter,System.Char[],System.Int32,System.Int32)` | Controlled | +| `clockwork.io.textwriter.writelineasync.memory` | `` System.IO.TextWriter::WriteLineAsync(System.ReadOnlyMemory`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextWriter::WriteLineAsync(System.IO.TextWriter,System.ReadOnlyMemory`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.io.textwriter.writelineasync` | `System.IO.TextWriter::WriteLineAsync()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextWriter::WriteLineAsync(System.IO.TextWriter)` | Controlled | +| `clockwork.io.textwriter.flushasync` | `System.IO.TextWriter::FlushAsync()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextWriter::FlushAsync(System.IO.TextWriter)` | Controlled | +| `clockwork.io.textwriter.flushasync.token` | `System.IO.TextWriter::FlushAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextWriter::FlushAsync(System.IO.TextWriter,System.Threading.CancellationToken)` | Controlled | +| `clockwork.io.textwriter.writeasync.string.token` | `System.IO.TextWriter::WriteAsync(System.String,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextWriter::WriteAsync(System.IO.TextWriter,System.String,System.Threading.CancellationToken)` | Controlled | +| `clockwork.io.textwriter.writeasync.chararray` | `System.IO.TextWriter::WriteAsync(System.Char[])` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextWriter::WriteAsync(System.IO.TextWriter,System.Char[])` | Controlled | +| `clockwork.io.textwriter.writelineasync.string.token` | `System.IO.TextWriter::WriteLineAsync(System.String,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextWriter::WriteLineAsync(System.IO.TextWriter,System.String,System.Threading.CancellationToken)` | Controlled | +| `clockwork.io.textwriter.writelineasync.chararray` | `System.IO.TextWriter::WriteLineAsync(System.Char[])` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextWriter::WriteLineAsync(System.IO.TextWriter,System.Char[])` | Controlled | +| `clockwork.io.textwriter.writelineasync.token` | `System.IO.TextWriter::WriteLineAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.IO.ControlledTextWriter::WriteLineAsync(System.IO.TextWriter,System.Threading.CancellationToken)` | Controlled | ## BackgroundWork family @@ -675,8 +675,8 @@ Policy: **Rejected**. `BackgroundWorker.RunWorkerAsync` and `BackgroundService.S | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.backgroundworker.runworkerasync` | `System.ComponentModel.BackgroundWorker::RunWorkerAsync(*)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.ComponentModel.ControlledBackgroundWorker::RejectUnsupported(System.String)` | Rejected | -| `clockwork.backgroundservice.startasync` | `Microsoft.Extensions.Hosting.BackgroundService::StartAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.Microsoft.Extensions.Hosting.ControlledBackgroundService::RejectUnsupported(System.String)` | Rejected | +| `clockwork.backgroundworker.runworkerasync` | `System.ComponentModel.BackgroundWorker::RunWorkerAsync(*)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.ComponentModel.ControlledBackgroundWorker::RejectUnsupported(System.String)` | Rejected | +| `clockwork.backgroundservice.startasync` | `Microsoft.Extensions.Hosting.BackgroundService::StartAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.Microsoft.Extensions.Hosting.ControlledBackgroundService::RejectUnsupported(System.String)` | Rejected | ## Dataflow family @@ -684,23 +684,23 @@ Policy: **Rejected**. Every TPL Dataflow block constructor, and the `DataflowBlo | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.dataflow.actionblock.ctor` | `` System.Threading.Tasks.Dataflow.ActionBlock`1::.ctor(*) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | -| `clockwork.dataflow.batchblock.ctor` | `` System.Threading.Tasks.Dataflow.BatchBlock`1::.ctor(*) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | -| `clockwork.dataflow.batchedjoinblock2.ctor` | `` System.Threading.Tasks.Dataflow.BatchedJoinBlock`2::.ctor(*) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | -| `clockwork.dataflow.batchedjoinblock3.ctor` | `` System.Threading.Tasks.Dataflow.BatchedJoinBlock`3::.ctor(*) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | -| `clockwork.dataflow.broadcastblock.ctor` | `` System.Threading.Tasks.Dataflow.BroadcastBlock`1::.ctor(*) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | -| `clockwork.dataflow.bufferblock.ctor` | `` System.Threading.Tasks.Dataflow.BufferBlock`1::.ctor(*) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | -| `clockwork.dataflow.joinblock2.ctor` | `` System.Threading.Tasks.Dataflow.JoinBlock`2::.ctor(*) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | -| `clockwork.dataflow.joinblock3.ctor` | `` System.Threading.Tasks.Dataflow.JoinBlock`3::.ctor(*) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | -| `clockwork.dataflow.transformblock.ctor` | `` System.Threading.Tasks.Dataflow.TransformBlock`2::.ctor(*) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | -| `clockwork.dataflow.transformmanyblock.ctor` | `` System.Threading.Tasks.Dataflow.TransformManyBlock`2::.ctor(*) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | -| `clockwork.dataflow.writeonceblock.ctor` | `` System.Threading.Tasks.Dataflow.WriteOnceBlock`1::.ctor(*) `` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | -| `clockwork.dataflow.choose` | `System.Threading.Tasks.Dataflow.DataflowBlock::Choose(*)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | -| `clockwork.dataflow.receive` | `System.Threading.Tasks.Dataflow.DataflowBlock::Receive(*)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | -| `clockwork.dataflow.receiveasync` | `System.Threading.Tasks.Dataflow.DataflowBlock::ReceiveAsync(*)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | -| `clockwork.dataflow.receiveallasync` | `System.Threading.Tasks.Dataflow.DataflowBlock::ReceiveAllAsync(*)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | -| `clockwork.dataflow.sendasync` | `System.Threading.Tasks.Dataflow.DataflowBlock::SendAsync(*)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | -| `clockwork.dataflow.outputavailableasync` | `System.Threading.Tasks.Dataflow.DataflowBlock::OutputAvailableAsync(*)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | +| `clockwork.dataflow.actionblock.ctor` | `` System.Threading.Tasks.Dataflow.ActionBlock`1::.ctor(*) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | +| `clockwork.dataflow.batchblock.ctor` | `` System.Threading.Tasks.Dataflow.BatchBlock`1::.ctor(*) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | +| `clockwork.dataflow.batchedjoinblock2.ctor` | `` System.Threading.Tasks.Dataflow.BatchedJoinBlock`2::.ctor(*) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | +| `clockwork.dataflow.batchedjoinblock3.ctor` | `` System.Threading.Tasks.Dataflow.BatchedJoinBlock`3::.ctor(*) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | +| `clockwork.dataflow.broadcastblock.ctor` | `` System.Threading.Tasks.Dataflow.BroadcastBlock`1::.ctor(*) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | +| `clockwork.dataflow.bufferblock.ctor` | `` System.Threading.Tasks.Dataflow.BufferBlock`1::.ctor(*) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | +| `clockwork.dataflow.joinblock2.ctor` | `` System.Threading.Tasks.Dataflow.JoinBlock`2::.ctor(*) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | +| `clockwork.dataflow.joinblock3.ctor` | `` System.Threading.Tasks.Dataflow.JoinBlock`3::.ctor(*) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | +| `clockwork.dataflow.transformblock.ctor` | `` System.Threading.Tasks.Dataflow.TransformBlock`2::.ctor(*) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | +| `clockwork.dataflow.transformmanyblock.ctor` | `` System.Threading.Tasks.Dataflow.TransformManyBlock`2::.ctor(*) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | +| `clockwork.dataflow.writeonceblock.ctor` | `` System.Threading.Tasks.Dataflow.WriteOnceBlock`1::.ctor(*) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | +| `clockwork.dataflow.choose` | `System.Threading.Tasks.Dataflow.DataflowBlock::Choose(*)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | +| `clockwork.dataflow.receive` | `System.Threading.Tasks.Dataflow.DataflowBlock::Receive(*)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | +| `clockwork.dataflow.receiveasync` | `System.Threading.Tasks.Dataflow.DataflowBlock::ReceiveAsync(*)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | +| `clockwork.dataflow.receiveallasync` | `System.Threading.Tasks.Dataflow.DataflowBlock::ReceiveAllAsync(*)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | +| `clockwork.dataflow.sendasync` | `System.Threading.Tasks.Dataflow.DataflowBlock::SendAsync(*)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | +| `clockwork.dataflow.outputavailableasync` | `System.Threading.Tasks.Dataflow.DataflowBlock::OutputAvailableAsync(*)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock::RejectUnsupported(System.String)` | Rejected | ## WebSockets family @@ -708,10 +708,10 @@ Policy: **Controlled**. `WebSocket.CreateFromStream` and `WebSocket.CreateClient | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.websocket.createfromstream` | `System.Net.WebSockets.WebSocket::CreateFromStream(*)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.WebSockets.ControlledWebSocket::RejectUnsupported(System.String)` | Rejected | -| `clockwork.websocket.createclientwebsocket` | `System.Net.WebSockets.WebSocket::CreateClientWebSocket(*)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.WebSockets.ControlledWebSocket::RejectUnsupported(System.String)` | Rejected | -| `clockwork.websocketstream.create.ownswebsocket` | `System.Net.WebSockets.WebSocketStream::Create(System.Net.WebSockets.WebSocket,System.Net.WebSockets.WebSocketMessageType,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.WebSockets.ControlledWebSocketStream::Create(System.Net.WebSockets.WebSocket,System.Net.WebSockets.WebSocketMessageType,System.Boolean)` | Controlled | -| `clockwork.websocketstream.create.closetimeout` | `System.Net.WebSockets.WebSocketStream::Create(System.Net.WebSockets.WebSocket,System.Net.WebSockets.WebSocketMessageType,System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.WebSockets.ControlledWebSocketStream::Create(System.Net.WebSockets.WebSocket,System.Net.WebSockets.WebSocketMessageType,System.TimeSpan)` | Controlled | +| `clockwork.websocket.createfromstream` | `System.Net.WebSockets.WebSocket::CreateFromStream(*)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.WebSockets.ControlledWebSocket::RejectUnsupported(System.String)` | Rejected | +| `clockwork.websocket.createclientwebsocket` | `System.Net.WebSockets.WebSocket::CreateClientWebSocket(*)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.WebSockets.ControlledWebSocket::RejectUnsupported(System.String)` | Rejected | +| `clockwork.websocketstream.create.ownswebsocket` | `System.Net.WebSockets.WebSocketStream::Create(System.Net.WebSockets.WebSocket,System.Net.WebSockets.WebSocketMessageType,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.WebSockets.ControlledWebSocketStream::Create(System.Net.WebSockets.WebSocket,System.Net.WebSockets.WebSocketMessageType,System.Boolean)` | Controlled | +| `clockwork.websocketstream.create.closetimeout` | `System.Net.WebSockets.WebSocketStream::Create(System.Net.WebSockets.WebSocket,System.Net.WebSockets.WebSocketMessageType,System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.WebSockets.ControlledWebSocketStream::Create(System.Net.WebSockets.WebSocket,System.Net.WebSockets.WebSocketMessageType,System.TimeSpan)` | Controlled | ## HttpClient family @@ -719,100 +719,100 @@ Policy: **Controlled**. Every `HttpClient` member which sends a request, `HttpMe | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.http.httpclient.deleteasync.string` | `System.Net.Http.HttpClient::DeleteAsync(System.String)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::DeleteAsync(System.Net.Http.HttpClient,System.String)` | Controlled | -| `clockwork.http.httpclient.deleteasync.string.cancellationtoken` | `System.Net.Http.HttpClient::DeleteAsync(System.String,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::DeleteAsync(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpclient.deleteasync.uri` | `System.Net.Http.HttpClient::DeleteAsync(System.Uri)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::DeleteAsync(System.Net.Http.HttpClient,System.Uri)` | Controlled | -| `clockwork.http.httpclient.deleteasync.uri.cancellationtoken` | `System.Net.Http.HttpClient::DeleteAsync(System.Uri,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::DeleteAsync(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpclient.getasync.string` | `System.Net.Http.HttpClient::GetAsync(System.String)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::GetAsync(System.Net.Http.HttpClient,System.String)` | Controlled | -| `clockwork.http.httpclient.getasync.string.cancellationtoken` | `System.Net.Http.HttpClient::GetAsync(System.String,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::GetAsync(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpclient.getasync.uri` | `System.Net.Http.HttpClient::GetAsync(System.Uri)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::GetAsync(System.Net.Http.HttpClient,System.Uri)` | Controlled | -| `clockwork.http.httpclient.getasync.uri.cancellationtoken` | `System.Net.Http.HttpClient::GetAsync(System.Uri,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::GetAsync(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpclient.getasync.string.completionoption` | `System.Net.Http.HttpClient::GetAsync(System.String,System.Net.Http.HttpCompletionOption)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::GetAsync(System.Net.Http.HttpClient,System.String,System.Net.Http.HttpCompletionOption)` | Controlled | -| `clockwork.http.httpclient.getasync.string.completionoption.cancellationtoken` | `System.Net.Http.HttpClient::GetAsync(System.String,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::GetAsync(System.Net.Http.HttpClient,System.String,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpclient.getasync.uri.completionoption` | `System.Net.Http.HttpClient::GetAsync(System.Uri,System.Net.Http.HttpCompletionOption)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::GetAsync(System.Net.Http.HttpClient,System.Uri,System.Net.Http.HttpCompletionOption)` | Controlled | -| `clockwork.http.httpclient.getasync.uri.completionoption.cancellationtoken` | `System.Net.Http.HttpClient::GetAsync(System.Uri,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::GetAsync(System.Net.Http.HttpClient,System.Uri,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpclient.getbytearrayasync.string` | `System.Net.Http.HttpClient::GetByteArrayAsync(System.String)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::GetByteArrayAsync(System.Net.Http.HttpClient,System.String)` | Controlled | -| `clockwork.http.httpclient.getbytearrayasync.string.cancellationtoken` | `System.Net.Http.HttpClient::GetByteArrayAsync(System.String,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::GetByteArrayAsync(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpclient.getbytearrayasync.uri` | `System.Net.Http.HttpClient::GetByteArrayAsync(System.Uri)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::GetByteArrayAsync(System.Net.Http.HttpClient,System.Uri)` | Controlled | -| `clockwork.http.httpclient.getbytearrayasync.uri.cancellationtoken` | `System.Net.Http.HttpClient::GetByteArrayAsync(System.Uri,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::GetByteArrayAsync(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpclient.getstreamasync.string` | `System.Net.Http.HttpClient::GetStreamAsync(System.String)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::GetStreamAsync(System.Net.Http.HttpClient,System.String)` | Controlled | -| `clockwork.http.httpclient.getstreamasync.string.cancellationtoken` | `System.Net.Http.HttpClient::GetStreamAsync(System.String,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::GetStreamAsync(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpclient.getstreamasync.uri` | `System.Net.Http.HttpClient::GetStreamAsync(System.Uri)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::GetStreamAsync(System.Net.Http.HttpClient,System.Uri)` | Controlled | -| `clockwork.http.httpclient.getstreamasync.uri.cancellationtoken` | `System.Net.Http.HttpClient::GetStreamAsync(System.Uri,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::GetStreamAsync(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpclient.getstringasync.string` | `System.Net.Http.HttpClient::GetStringAsync(System.String)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::GetStringAsync(System.Net.Http.HttpClient,System.String)` | Controlled | -| `clockwork.http.httpclient.getstringasync.string.cancellationtoken` | `System.Net.Http.HttpClient::GetStringAsync(System.String,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::GetStringAsync(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpclient.getstringasync.uri` | `System.Net.Http.HttpClient::GetStringAsync(System.Uri)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::GetStringAsync(System.Net.Http.HttpClient,System.Uri)` | Controlled | -| `clockwork.http.httpclient.getstringasync.uri.cancellationtoken` | `System.Net.Http.HttpClient::GetStringAsync(System.Uri,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::GetStringAsync(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpclient.patchasync.string.content` | `System.Net.Http.HttpClient::PatchAsync(System.String,System.Net.Http.HttpContent)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::PatchAsync(System.Net.Http.HttpClient,System.String,System.Net.Http.HttpContent)` | Controlled | -| `clockwork.http.httpclient.patchasync.string.content.cancellationtoken` | `System.Net.Http.HttpClient::PatchAsync(System.String,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::PatchAsync(System.Net.Http.HttpClient,System.String,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpclient.patchasync.uri.content` | `System.Net.Http.HttpClient::PatchAsync(System.Uri,System.Net.Http.HttpContent)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::PatchAsync(System.Net.Http.HttpClient,System.Uri,System.Net.Http.HttpContent)` | Controlled | -| `clockwork.http.httpclient.patchasync.uri.content.cancellationtoken` | `System.Net.Http.HttpClient::PatchAsync(System.Uri,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::PatchAsync(System.Net.Http.HttpClient,System.Uri,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpclient.postasync.string.content` | `System.Net.Http.HttpClient::PostAsync(System.String,System.Net.Http.HttpContent)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::PostAsync(System.Net.Http.HttpClient,System.String,System.Net.Http.HttpContent)` | Controlled | -| `clockwork.http.httpclient.postasync.string.content.cancellationtoken` | `System.Net.Http.HttpClient::PostAsync(System.String,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::PostAsync(System.Net.Http.HttpClient,System.String,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpclient.postasync.uri.content` | `System.Net.Http.HttpClient::PostAsync(System.Uri,System.Net.Http.HttpContent)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::PostAsync(System.Net.Http.HttpClient,System.Uri,System.Net.Http.HttpContent)` | Controlled | -| `clockwork.http.httpclient.postasync.uri.content.cancellationtoken` | `System.Net.Http.HttpClient::PostAsync(System.Uri,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::PostAsync(System.Net.Http.HttpClient,System.Uri,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpclient.putasync.string.content` | `System.Net.Http.HttpClient::PutAsync(System.String,System.Net.Http.HttpContent)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::PutAsync(System.Net.Http.HttpClient,System.String,System.Net.Http.HttpContent)` | Controlled | -| `clockwork.http.httpclient.putasync.string.content.cancellationtoken` | `System.Net.Http.HttpClient::PutAsync(System.String,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::PutAsync(System.Net.Http.HttpClient,System.String,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpclient.putasync.uri.content` | `System.Net.Http.HttpClient::PutAsync(System.Uri,System.Net.Http.HttpContent)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::PutAsync(System.Net.Http.HttpClient,System.Uri,System.Net.Http.HttpContent)` | Controlled | -| `clockwork.http.httpclient.putasync.uri.content.cancellationtoken` | `System.Net.Http.HttpClient::PutAsync(System.Uri,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::PutAsync(System.Net.Http.HttpClient,System.Uri,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpclient.send.request` | `System.Net.Http.HttpClient::Send(System.Net.Http.HttpRequestMessage)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::Send(System.Net.Http.HttpClient,System.Net.Http.HttpRequestMessage)` | Controlled | -| `clockwork.http.httpclient.send.request.completionoption` | `System.Net.Http.HttpClient::Send(System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::Send(System.Net.Http.HttpClient,System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption)` | Controlled | -| `clockwork.http.httpclient.send.request.cancellationtoken` | `System.Net.Http.HttpClient::Send(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::Send(System.Net.Http.HttpClient,System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpclient.send.request.completionoption.cancellationtoken` | `System.Net.Http.HttpClient::Send(System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::Send(System.Net.Http.HttpClient,System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpclient.sendasync.request` | `System.Net.Http.HttpClient::SendAsync(System.Net.Http.HttpRequestMessage)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::SendAsync(System.Net.Http.HttpClient,System.Net.Http.HttpRequestMessage)` | Controlled | -| `clockwork.http.httpclient.sendasync.request.completionoption` | `System.Net.Http.HttpClient::SendAsync(System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::SendAsync(System.Net.Http.HttpClient,System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption)` | Controlled | -| `clockwork.http.httpclient.sendasync.request.cancellationtoken` | `System.Net.Http.HttpClient::SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::SendAsync(System.Net.Http.HttpClient,System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpclient.sendasync.request.completionoption.cancellationtoken` | `System.Net.Http.HttpClient::SendAsync(System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpClient::SendAsync(System.Net.Http.HttpClient,System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpmessageinvoker.send.request.cancellationtoken` | `System.Net.Http.HttpMessageInvoker::Send(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpMessageInvoker::Send(System.Net.Http.HttpMessageInvoker,System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.httpmessageinvoker.sendasync.request.cancellationtoken` | `System.Net.Http.HttpMessageInvoker::SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.ControlledHttpMessageInvoker::SendAsync(System.Net.Http.HttpMessageInvoker,System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.deletefromjsonasync.string.type.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.deletefromjsonasync.string.type.context.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.deletefromjsonasync.string.type.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.deletefromjsonasync.string.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.deletefromjsonasync.string.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.http.json.deletefromjsonasync.string.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.deletefromjsonasync.uri.type.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.deletefromjsonasync.uri.type.context.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.deletefromjsonasync.uri.type.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.deletefromjsonasync.uri.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.deletefromjsonasync.uri.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.http.json.deletefromjsonasync.uri.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.getfromjsonasync.string.type.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.getfromjsonasync.string.type.context.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.getfromjsonasync.string.type.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.getfromjsonasync.string.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.getfromjsonasync.string.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.http.json.getfromjsonasync.string.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.getfromjsonasync.uri.type.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.getfromjsonasync.uri.type.context.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.getfromjsonasync.uri.type.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.getfromjsonasync.uri.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.getfromjsonasync.uri.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.http.json.getfromjsonasync.uri.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.patchasjsonasync.string.value.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.String,!!0,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.String,TValue,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.patchasjsonasync.string.value.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.String,!!0,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.String,TValue,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.http.json.patchasjsonasync.string.value.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.String,!!0,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.String,TValue,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.patchasjsonasync.uri.value.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.Uri,!!0,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.Uri,TValue,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.patchasjsonasync.uri.value.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.Uri,!!0,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.Uri,TValue,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.http.json.patchasjsonasync.uri.value.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.Uri,!!0,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.Uri,TValue,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.postasjsonasync.string.value.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.String,!!0,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.String,TValue,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.postasjsonasync.string.value.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.String,!!0,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.String,TValue,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.http.json.postasjsonasync.string.value.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.String,!!0,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.String,TValue,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.postasjsonasync.uri.value.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.Uri,!!0,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.Uri,TValue,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.postasjsonasync.uri.value.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.Uri,!!0,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.Uri,TValue,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.http.json.postasjsonasync.uri.value.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.Uri,!!0,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.Uri,TValue,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.putasjsonasync.string.value.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.String,!!0,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.String,TValue,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.putasjsonasync.string.value.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.String,!!0,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.String,TValue,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.http.json.putasjsonasync.string.value.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.String,!!0,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.String,TValue,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.putasjsonasync.uri.value.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.Uri,!!0,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.Uri,TValue,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.putasjsonasync.uri.value.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.Uri,!!0,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.Uri,TValue,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.http.json.putasjsonasync.uri.value.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.Uri,!!0,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.Uri,TValue,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.getfromjsonasasyncenumerable.string.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.String,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.String,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.getfromjsonasasyncenumerable.string.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.String,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.String,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.http.json.getfromjsonasasyncenumerable.string.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.getfromjsonasasyncenumerable.uri.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.Uri,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.Uri,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | -| `clockwork.http.json.getfromjsonasasyncenumerable.uri.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.Uri,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.Uri,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | -| `clockwork.http.json.getfromjsonasasyncenumerable.uri.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.deleteasync.string` | `System.Net.Http.HttpClient::DeleteAsync(System.String)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::DeleteAsync(System.Net.Http.HttpClient,System.String)` | Controlled | +| `clockwork.http.httpclient.deleteasync.string.cancellationtoken` | `System.Net.Http.HttpClient::DeleteAsync(System.String,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::DeleteAsync(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.deleteasync.uri` | `System.Net.Http.HttpClient::DeleteAsync(System.Uri)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::DeleteAsync(System.Net.Http.HttpClient,System.Uri)` | Controlled | +| `clockwork.http.httpclient.deleteasync.uri.cancellationtoken` | `System.Net.Http.HttpClient::DeleteAsync(System.Uri,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::DeleteAsync(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.getasync.string` | `System.Net.Http.HttpClient::GetAsync(System.String)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::GetAsync(System.Net.Http.HttpClient,System.String)` | Controlled | +| `clockwork.http.httpclient.getasync.string.cancellationtoken` | `System.Net.Http.HttpClient::GetAsync(System.String,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::GetAsync(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.getasync.uri` | `System.Net.Http.HttpClient::GetAsync(System.Uri)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::GetAsync(System.Net.Http.HttpClient,System.Uri)` | Controlled | +| `clockwork.http.httpclient.getasync.uri.cancellationtoken` | `System.Net.Http.HttpClient::GetAsync(System.Uri,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::GetAsync(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.getasync.string.completionoption` | `System.Net.Http.HttpClient::GetAsync(System.String,System.Net.Http.HttpCompletionOption)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::GetAsync(System.Net.Http.HttpClient,System.String,System.Net.Http.HttpCompletionOption)` | Controlled | +| `clockwork.http.httpclient.getasync.string.completionoption.cancellationtoken` | `System.Net.Http.HttpClient::GetAsync(System.String,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::GetAsync(System.Net.Http.HttpClient,System.String,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.getasync.uri.completionoption` | `System.Net.Http.HttpClient::GetAsync(System.Uri,System.Net.Http.HttpCompletionOption)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::GetAsync(System.Net.Http.HttpClient,System.Uri,System.Net.Http.HttpCompletionOption)` | Controlled | +| `clockwork.http.httpclient.getasync.uri.completionoption.cancellationtoken` | `System.Net.Http.HttpClient::GetAsync(System.Uri,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::GetAsync(System.Net.Http.HttpClient,System.Uri,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.getbytearrayasync.string` | `System.Net.Http.HttpClient::GetByteArrayAsync(System.String)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::GetByteArrayAsync(System.Net.Http.HttpClient,System.String)` | Controlled | +| `clockwork.http.httpclient.getbytearrayasync.string.cancellationtoken` | `System.Net.Http.HttpClient::GetByteArrayAsync(System.String,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::GetByteArrayAsync(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.getbytearrayasync.uri` | `System.Net.Http.HttpClient::GetByteArrayAsync(System.Uri)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::GetByteArrayAsync(System.Net.Http.HttpClient,System.Uri)` | Controlled | +| `clockwork.http.httpclient.getbytearrayasync.uri.cancellationtoken` | `System.Net.Http.HttpClient::GetByteArrayAsync(System.Uri,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::GetByteArrayAsync(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.getstreamasync.string` | `System.Net.Http.HttpClient::GetStreamAsync(System.String)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::GetStreamAsync(System.Net.Http.HttpClient,System.String)` | Controlled | +| `clockwork.http.httpclient.getstreamasync.string.cancellationtoken` | `System.Net.Http.HttpClient::GetStreamAsync(System.String,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::GetStreamAsync(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.getstreamasync.uri` | `System.Net.Http.HttpClient::GetStreamAsync(System.Uri)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::GetStreamAsync(System.Net.Http.HttpClient,System.Uri)` | Controlled | +| `clockwork.http.httpclient.getstreamasync.uri.cancellationtoken` | `System.Net.Http.HttpClient::GetStreamAsync(System.Uri,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::GetStreamAsync(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.getstringasync.string` | `System.Net.Http.HttpClient::GetStringAsync(System.String)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::GetStringAsync(System.Net.Http.HttpClient,System.String)` | Controlled | +| `clockwork.http.httpclient.getstringasync.string.cancellationtoken` | `System.Net.Http.HttpClient::GetStringAsync(System.String,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::GetStringAsync(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.getstringasync.uri` | `System.Net.Http.HttpClient::GetStringAsync(System.Uri)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::GetStringAsync(System.Net.Http.HttpClient,System.Uri)` | Controlled | +| `clockwork.http.httpclient.getstringasync.uri.cancellationtoken` | `System.Net.Http.HttpClient::GetStringAsync(System.Uri,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::GetStringAsync(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.patchasync.string.content` | `System.Net.Http.HttpClient::PatchAsync(System.String,System.Net.Http.HttpContent)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::PatchAsync(System.Net.Http.HttpClient,System.String,System.Net.Http.HttpContent)` | Controlled | +| `clockwork.http.httpclient.patchasync.string.content.cancellationtoken` | `System.Net.Http.HttpClient::PatchAsync(System.String,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::PatchAsync(System.Net.Http.HttpClient,System.String,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.patchasync.uri.content` | `System.Net.Http.HttpClient::PatchAsync(System.Uri,System.Net.Http.HttpContent)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::PatchAsync(System.Net.Http.HttpClient,System.Uri,System.Net.Http.HttpContent)` | Controlled | +| `clockwork.http.httpclient.patchasync.uri.content.cancellationtoken` | `System.Net.Http.HttpClient::PatchAsync(System.Uri,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::PatchAsync(System.Net.Http.HttpClient,System.Uri,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.postasync.string.content` | `System.Net.Http.HttpClient::PostAsync(System.String,System.Net.Http.HttpContent)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::PostAsync(System.Net.Http.HttpClient,System.String,System.Net.Http.HttpContent)` | Controlled | +| `clockwork.http.httpclient.postasync.string.content.cancellationtoken` | `System.Net.Http.HttpClient::PostAsync(System.String,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::PostAsync(System.Net.Http.HttpClient,System.String,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.postasync.uri.content` | `System.Net.Http.HttpClient::PostAsync(System.Uri,System.Net.Http.HttpContent)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::PostAsync(System.Net.Http.HttpClient,System.Uri,System.Net.Http.HttpContent)` | Controlled | +| `clockwork.http.httpclient.postasync.uri.content.cancellationtoken` | `System.Net.Http.HttpClient::PostAsync(System.Uri,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::PostAsync(System.Net.Http.HttpClient,System.Uri,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.putasync.string.content` | `System.Net.Http.HttpClient::PutAsync(System.String,System.Net.Http.HttpContent)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::PutAsync(System.Net.Http.HttpClient,System.String,System.Net.Http.HttpContent)` | Controlled | +| `clockwork.http.httpclient.putasync.string.content.cancellationtoken` | `System.Net.Http.HttpClient::PutAsync(System.String,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::PutAsync(System.Net.Http.HttpClient,System.String,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.putasync.uri.content` | `System.Net.Http.HttpClient::PutAsync(System.Uri,System.Net.Http.HttpContent)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::PutAsync(System.Net.Http.HttpClient,System.Uri,System.Net.Http.HttpContent)` | Controlled | +| `clockwork.http.httpclient.putasync.uri.content.cancellationtoken` | `System.Net.Http.HttpClient::PutAsync(System.Uri,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::PutAsync(System.Net.Http.HttpClient,System.Uri,System.Net.Http.HttpContent,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.send.request` | `System.Net.Http.HttpClient::Send(System.Net.Http.HttpRequestMessage)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::Send(System.Net.Http.HttpClient,System.Net.Http.HttpRequestMessage)` | Controlled | +| `clockwork.http.httpclient.send.request.completionoption` | `System.Net.Http.HttpClient::Send(System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::Send(System.Net.Http.HttpClient,System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption)` | Controlled | +| `clockwork.http.httpclient.send.request.cancellationtoken` | `System.Net.Http.HttpClient::Send(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::Send(System.Net.Http.HttpClient,System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.send.request.completionoption.cancellationtoken` | `System.Net.Http.HttpClient::Send(System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::Send(System.Net.Http.HttpClient,System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.sendasync.request` | `System.Net.Http.HttpClient::SendAsync(System.Net.Http.HttpRequestMessage)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::SendAsync(System.Net.Http.HttpClient,System.Net.Http.HttpRequestMessage)` | Controlled | +| `clockwork.http.httpclient.sendasync.request.completionoption` | `System.Net.Http.HttpClient::SendAsync(System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::SendAsync(System.Net.Http.HttpClient,System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption)` | Controlled | +| `clockwork.http.httpclient.sendasync.request.cancellationtoken` | `System.Net.Http.HttpClient::SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::SendAsync(System.Net.Http.HttpClient,System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpclient.sendasync.request.completionoption.cancellationtoken` | `System.Net.Http.HttpClient::SendAsync(System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient::SendAsync(System.Net.Http.HttpClient,System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpmessageinvoker.send.request.cancellationtoken` | `System.Net.Http.HttpMessageInvoker::Send(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpMessageInvoker::Send(System.Net.Http.HttpMessageInvoker,System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.httpmessageinvoker.sendasync.request.cancellationtoken` | `System.Net.Http.HttpMessageInvoker::SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpMessageInvoker::SendAsync(System.Net.Http.HttpMessageInvoker,System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.deletefromjsonasync.string.type.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.deletefromjsonasync.string.type.context.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.deletefromjsonasync.string.type.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.deletefromjsonasync.string.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.deletefromjsonasync.string.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.http.json.deletefromjsonasync.string.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.deletefromjsonasync.uri.type.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.deletefromjsonasync.uri.type.context.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.deletefromjsonasync.uri.type.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.deletefromjsonasync.uri.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.deletefromjsonasync.uri.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.http.json.deletefromjsonasync.uri.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::DeleteFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.getfromjsonasync.string.type.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.getfromjsonasync.string.type.context.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.getfromjsonasync.string.type.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Type,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.getfromjsonasync.string.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.getfromjsonasync.string.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.http.json.getfromjsonasync.string.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.getfromjsonasync.uri.type.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.getfromjsonasync.uri.type.context.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.getfromjsonasync.uri.type.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Type,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.getfromjsonasync.uri.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.getfromjsonasync.uri.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.http.json.getfromjsonasync.uri.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsync(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.patchasjsonasync.string.value.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.String,!!0,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.String,TValue,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.patchasjsonasync.string.value.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.String,!!0,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.String,TValue,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.http.json.patchasjsonasync.string.value.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.String,!!0,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.String,TValue,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.patchasjsonasync.uri.value.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.Uri,!!0,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.Uri,TValue,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.patchasjsonasync.uri.value.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.Uri,!!0,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.Uri,TValue,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.http.json.patchasjsonasync.uri.value.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.Uri,!!0,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PatchAsJsonAsync(System.Net.Http.HttpClient,System.Uri,TValue,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.postasjsonasync.string.value.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.String,!!0,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.String,TValue,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.postasjsonasync.string.value.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.String,!!0,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.String,TValue,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.http.json.postasjsonasync.string.value.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.String,!!0,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.String,TValue,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.postasjsonasync.uri.value.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.Uri,!!0,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.Uri,TValue,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.postasjsonasync.uri.value.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.Uri,!!0,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.Uri,TValue,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.http.json.postasjsonasync.uri.value.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.Uri,!!0,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PostAsJsonAsync(System.Net.Http.HttpClient,System.Uri,TValue,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.putasjsonasync.string.value.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.String,!!0,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.String,TValue,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.putasjsonasync.string.value.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.String,!!0,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.String,TValue,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.http.json.putasjsonasync.string.value.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.String,!!0,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.String,TValue,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.putasjsonasync.uri.value.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.Uri,!!0,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.Uri,TValue,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.putasjsonasync.uri.value.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.Uri,!!0,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.Uri,TValue,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.http.json.putasjsonasync.uri.value.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.Uri,!!0,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::PutAsJsonAsync(System.Net.Http.HttpClient,System.Uri,TValue,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.getfromjsonasasyncenumerable.string.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.String,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.String,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.getfromjsonasasyncenumerable.string.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.String,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.String,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.http.json.getfromjsonasasyncenumerable.string.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.String,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.getfromjsonasasyncenumerable.uri.options.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.Uri,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.Uri,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)` | Controlled | +| `clockwork.http.json.getfromjsonasasyncenumerable.uri.typeinfo.cancellationtoken` | `` System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.Uri,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | `` Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.Uri,System.Text.Json.Serialization.Metadata.JsonTypeInfo`1,System.Threading.CancellationToken) `` | Controlled | +| `clockwork.http.json.getfromjsonasasyncenumerable.uri.cancellationtoken` | `System.Net.Http.Json.HttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions::GetFromJsonAsAsyncEnumerable(System.Net.Http.HttpClient,System.Uri,System.Threading.CancellationToken)` | Controlled | ## Hosting family @@ -820,14 +820,14 @@ Policy: **Controlled**. Every `HostingAbstractionsHostExtensions` and `HostingAb | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.hosting.start` | `Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions::Start(Microsoft.Extensions.Hosting.IHost)` | `Orleans.Testing.Simulation!Clockwork.Shims.Microsoft.Extensions.Hosting.ControlledHostingAbstractionsHostExtensions::Start(Microsoft.Extensions.Hosting.IHost)` | Controlled | -| `clockwork.hosting.run` | `Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions::Run(Microsoft.Extensions.Hosting.IHost)` | `Orleans.Testing.Simulation!Clockwork.Shims.Microsoft.Extensions.Hosting.ControlledHostingAbstractionsHostExtensions::Run(Microsoft.Extensions.Hosting.IHost)` | Controlled | -| `clockwork.hosting.waitforshutdown` | `Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions::WaitForShutdown(Microsoft.Extensions.Hosting.IHost)` | `Orleans.Testing.Simulation!Clockwork.Shims.Microsoft.Extensions.Hosting.ControlledHostingAbstractionsHostExtensions::WaitForShutdown(Microsoft.Extensions.Hosting.IHost)` | Controlled | -| `clockwork.hosting.runasync` | `Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions::RunAsync(Microsoft.Extensions.Hosting.IHost,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.Microsoft.Extensions.Hosting.ControlledHostingAbstractionsHostExtensions::RunAsync(Microsoft.Extensions.Hosting.IHost,System.Threading.CancellationToken)` | Controlled | -| `clockwork.hosting.waitforshutdownasync` | `Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions::WaitForShutdownAsync(Microsoft.Extensions.Hosting.IHost,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.Microsoft.Extensions.Hosting.ControlledHostingAbstractionsHostExtensions::WaitForShutdownAsync(Microsoft.Extensions.Hosting.IHost,System.Threading.CancellationToken)` | Controlled | -| `clockwork.hosting.stopasync.timeout` | `Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions::StopAsync(Microsoft.Extensions.Hosting.IHost,System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.Microsoft.Extensions.Hosting.ControlledHostingAbstractionsHostExtensions::StopAsync(Microsoft.Extensions.Hosting.IHost,System.TimeSpan)` | Controlled | -| `clockwork.hosting.builder.start` | `Microsoft.Extensions.Hosting.HostingAbstractionsHostBuilderExtensions::Start(Microsoft.Extensions.Hosting.IHostBuilder)` | `Orleans.Testing.Simulation!Clockwork.Shims.Microsoft.Extensions.Hosting.ControlledHostingAbstractionsHostBuilderExtensions::Start(Microsoft.Extensions.Hosting.IHostBuilder)` | Controlled | -| `clockwork.hosting.builder.startasync` | `Microsoft.Extensions.Hosting.HostingAbstractionsHostBuilderExtensions::StartAsync(Microsoft.Extensions.Hosting.IHostBuilder,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.Microsoft.Extensions.Hosting.ControlledHostingAbstractionsHostBuilderExtensions::StartAsync(Microsoft.Extensions.Hosting.IHostBuilder,System.Threading.CancellationToken)` | Controlled | +| `clockwork.hosting.start` | `Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions::Start(Microsoft.Extensions.Hosting.IHost)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.Microsoft.Extensions.Hosting.ControlledHostingAbstractionsHostExtensions::Start(Microsoft.Extensions.Hosting.IHost)` | Controlled | +| `clockwork.hosting.run` | `Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions::Run(Microsoft.Extensions.Hosting.IHost)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.Microsoft.Extensions.Hosting.ControlledHostingAbstractionsHostExtensions::Run(Microsoft.Extensions.Hosting.IHost)` | Controlled | +| `clockwork.hosting.waitforshutdown` | `Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions::WaitForShutdown(Microsoft.Extensions.Hosting.IHost)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.Microsoft.Extensions.Hosting.ControlledHostingAbstractionsHostExtensions::WaitForShutdown(Microsoft.Extensions.Hosting.IHost)` | Controlled | +| `clockwork.hosting.runasync` | `Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions::RunAsync(Microsoft.Extensions.Hosting.IHost,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.Microsoft.Extensions.Hosting.ControlledHostingAbstractionsHostExtensions::RunAsync(Microsoft.Extensions.Hosting.IHost,System.Threading.CancellationToken)` | Controlled | +| `clockwork.hosting.waitforshutdownasync` | `Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions::WaitForShutdownAsync(Microsoft.Extensions.Hosting.IHost,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.Microsoft.Extensions.Hosting.ControlledHostingAbstractionsHostExtensions::WaitForShutdownAsync(Microsoft.Extensions.Hosting.IHost,System.Threading.CancellationToken)` | Controlled | +| `clockwork.hosting.stopasync.timeout` | `Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions::StopAsync(Microsoft.Extensions.Hosting.IHost,System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.Microsoft.Extensions.Hosting.ControlledHostingAbstractionsHostExtensions::StopAsync(Microsoft.Extensions.Hosting.IHost,System.TimeSpan)` | Controlled | +| `clockwork.hosting.builder.start` | `Microsoft.Extensions.Hosting.HostingAbstractionsHostBuilderExtensions::Start(Microsoft.Extensions.Hosting.IHostBuilder)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.Microsoft.Extensions.Hosting.ControlledHostingAbstractionsHostBuilderExtensions::Start(Microsoft.Extensions.Hosting.IHostBuilder)` | Controlled | +| `clockwork.hosting.builder.startasync` | `Microsoft.Extensions.Hosting.HostingAbstractionsHostBuilderExtensions::StartAsync(Microsoft.Extensions.Hosting.IHostBuilder,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.Microsoft.Extensions.Hosting.ControlledHostingAbstractionsHostBuilderExtensions::StartAsync(Microsoft.Extensions.Hosting.IHostBuilder,System.Threading.CancellationToken)` | Controlled | ## Monitor family @@ -835,24 +835,24 @@ Policy: **Controlled**. The complete .NET 11 `Monitor` surface is classified: sy | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.monitor.enter` | `System.Threading.Monitor::Enter(System.Object)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMonitor::Enter(System.Object)` | Controlled | -| `clockwork.monitor.enter.locktaken` | `System.Threading.Monitor::Enter(System.Object,System.Boolean&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMonitor::Enter(System.Object,System.Boolean&)` | Controlled | -| `clockwork.monitor.exit` | `System.Threading.Monitor::Exit(System.Object)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMonitor::Exit(System.Object)` | Controlled | -| `clockwork.monitor.isentered` | `System.Threading.Monitor::IsEntered(System.Object)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMonitor::IsEntered(System.Object)` | Controlled | -| `clockwork.monitor.get_lockcontentioncount` | `System.Threading.Monitor::get_LockContentionCount()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMonitor::LockContentionCount()` | Rejected | -| `clockwork.monitor.tryenter` | `System.Threading.Monitor::TryEnter(System.Object)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMonitor::TryEnter(System.Object)` | Controlled | -| `clockwork.monitor.tryenter.locktaken` | `System.Threading.Monitor::TryEnter(System.Object,System.Boolean&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMonitor::TryEnter(System.Object,System.Boolean&)` | Controlled | -| `clockwork.monitor.tryenter.milliseconds` | `System.Threading.Monitor::TryEnter(System.Object,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMonitor::TryEnter(System.Object,System.Int32)` | Controlled | -| `clockwork.monitor.tryenter.milliseconds.locktaken` | `System.Threading.Monitor::TryEnter(System.Object,System.Int32,System.Boolean&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMonitor::TryEnter(System.Object,System.Int32,System.Boolean&)` | Controlled | -| `clockwork.monitor.tryenter.timespan` | `System.Threading.Monitor::TryEnter(System.Object,System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMonitor::TryEnter(System.Object,System.TimeSpan)` | Controlled | -| `clockwork.monitor.tryenter.timespan.locktaken` | `System.Threading.Monitor::TryEnter(System.Object,System.TimeSpan,System.Boolean&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMonitor::TryEnter(System.Object,System.TimeSpan,System.Boolean&)` | Controlled | -| `clockwork.monitor.wait` | `System.Threading.Monitor::Wait(System.Object)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMonitor::Wait(System.Object)` | Controlled | -| `clockwork.monitor.wait.milliseconds` | `System.Threading.Monitor::Wait(System.Object,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMonitor::Wait(System.Object,System.Int32)` | Controlled | -| `clockwork.monitor.wait.milliseconds.exitcontext` | `System.Threading.Monitor::Wait(System.Object,System.Int32,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMonitor::Wait(System.Object,System.Int32,System.Boolean)` | Controlled | -| `clockwork.monitor.wait.timespan` | `System.Threading.Monitor::Wait(System.Object,System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMonitor::Wait(System.Object,System.TimeSpan)` | Controlled | -| `clockwork.monitor.wait.timespan.exitcontext` | `System.Threading.Monitor::Wait(System.Object,System.TimeSpan,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMonitor::Wait(System.Object,System.TimeSpan,System.Boolean)` | Controlled | -| `clockwork.monitor.pulse` | `System.Threading.Monitor::Pulse(System.Object)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMonitor::Pulse(System.Object)` | Controlled | -| `clockwork.monitor.pulseall` | `System.Threading.Monitor::PulseAll(System.Object)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMonitor::PulseAll(System.Object)` | Controlled | +| `clockwork.monitor.enter` | `System.Threading.Monitor::Enter(System.Object)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMonitor::Enter(System.Object)` | Controlled | +| `clockwork.monitor.enter.locktaken` | `System.Threading.Monitor::Enter(System.Object,System.Boolean&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMonitor::Enter(System.Object,System.Boolean&)` | Controlled | +| `clockwork.monitor.exit` | `System.Threading.Monitor::Exit(System.Object)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMonitor::Exit(System.Object)` | Controlled | +| `clockwork.monitor.isentered` | `System.Threading.Monitor::IsEntered(System.Object)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMonitor::IsEntered(System.Object)` | Controlled | +| `clockwork.monitor.get_lockcontentioncount` | `System.Threading.Monitor::get_LockContentionCount()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMonitor::LockContentionCount()` | Rejected | +| `clockwork.monitor.tryenter` | `System.Threading.Monitor::TryEnter(System.Object)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMonitor::TryEnter(System.Object)` | Controlled | +| `clockwork.monitor.tryenter.locktaken` | `System.Threading.Monitor::TryEnter(System.Object,System.Boolean&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMonitor::TryEnter(System.Object,System.Boolean&)` | Controlled | +| `clockwork.monitor.tryenter.milliseconds` | `System.Threading.Monitor::TryEnter(System.Object,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMonitor::TryEnter(System.Object,System.Int32)` | Controlled | +| `clockwork.monitor.tryenter.milliseconds.locktaken` | `System.Threading.Monitor::TryEnter(System.Object,System.Int32,System.Boolean&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMonitor::TryEnter(System.Object,System.Int32,System.Boolean&)` | Controlled | +| `clockwork.monitor.tryenter.timespan` | `System.Threading.Monitor::TryEnter(System.Object,System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMonitor::TryEnter(System.Object,System.TimeSpan)` | Controlled | +| `clockwork.monitor.tryenter.timespan.locktaken` | `System.Threading.Monitor::TryEnter(System.Object,System.TimeSpan,System.Boolean&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMonitor::TryEnter(System.Object,System.TimeSpan,System.Boolean&)` | Controlled | +| `clockwork.monitor.wait` | `System.Threading.Monitor::Wait(System.Object)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMonitor::Wait(System.Object)` | Controlled | +| `clockwork.monitor.wait.milliseconds` | `System.Threading.Monitor::Wait(System.Object,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMonitor::Wait(System.Object,System.Int32)` | Controlled | +| `clockwork.monitor.wait.milliseconds.exitcontext` | `System.Threading.Monitor::Wait(System.Object,System.Int32,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMonitor::Wait(System.Object,System.Int32,System.Boolean)` | Controlled | +| `clockwork.monitor.wait.timespan` | `System.Threading.Monitor::Wait(System.Object,System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMonitor::Wait(System.Object,System.TimeSpan)` | Controlled | +| `clockwork.monitor.wait.timespan.exitcontext` | `System.Threading.Monitor::Wait(System.Object,System.TimeSpan,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMonitor::Wait(System.Object,System.TimeSpan,System.Boolean)` | Controlled | +| `clockwork.monitor.pulse` | `System.Threading.Monitor::Pulse(System.Object)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMonitor::Pulse(System.Object)` | Controlled | +| `clockwork.monitor.pulseall` | `System.Threading.Monitor::PulseAll(System.Object)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMonitor::PulseAll(System.Object)` | Controlled | ## Lock family @@ -860,8 +860,8 @@ Policy: **Controlled**. The .NET 9+ `System.Threading.Lock` type and nested `Sco | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.lock.type` | `System.Threading.Lock` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledLock` | Controlled | -| `clockwork.lock.scope.type` | `System.Threading.Lock/Scope` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledLock/Scope` | Controlled | +| `clockwork.lock.type` | `System.Threading.Lock` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledLock` | Controlled | +| `clockwork.lock.scope.type` | `System.Threading.Lock/Scope` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledLock/Scope` | Controlled | ## Semaphore family @@ -869,25 +869,25 @@ Policy: **Controlled**. The .NET 11 `SemaphoreSlim` constructors, counts, waits, | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.semaphoreslim.ctor.initial` | `new System.Threading.SemaphoreSlim(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphoreSlim::Create(System.Int32)` | Controlled | -| `clockwork.semaphoreslim.ctor.initial.max` | `new System.Threading.SemaphoreSlim(System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphoreSlim::Create(System.Int32,System.Int32)` | Controlled | -| `clockwork.semaphoreslim.get_currentcount` | `System.Threading.SemaphoreSlim::get_CurrentCount()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphoreSlim::CurrentCount(System.Threading.SemaphoreSlim)` | Controlled | -| `clockwork.semaphoreslim.wait` | `System.Threading.SemaphoreSlim::Wait()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphoreSlim::Wait(System.Threading.SemaphoreSlim)` | Controlled | -| `clockwork.semaphoreslim.wait.cancellationtoken` | `System.Threading.SemaphoreSlim::Wait(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphoreSlim::Wait(System.Threading.SemaphoreSlim,System.Threading.CancellationToken)` | Controlled | -| `clockwork.semaphoreslim.wait.milliseconds` | `System.Threading.SemaphoreSlim::Wait(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphoreSlim::Wait(System.Threading.SemaphoreSlim,System.Int32)` | Controlled | -| `clockwork.semaphoreslim.wait.milliseconds.cancellationtoken` | `System.Threading.SemaphoreSlim::Wait(System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphoreSlim::Wait(System.Threading.SemaphoreSlim,System.Int32,System.Threading.CancellationToken)` | Controlled | -| `clockwork.semaphoreslim.wait.timespan` | `System.Threading.SemaphoreSlim::Wait(System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphoreSlim::Wait(System.Threading.SemaphoreSlim,System.TimeSpan)` | Controlled | -| `clockwork.semaphoreslim.wait.timespan.cancellationtoken` | `System.Threading.SemaphoreSlim::Wait(System.TimeSpan,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphoreSlim::Wait(System.Threading.SemaphoreSlim,System.TimeSpan,System.Threading.CancellationToken)` | Controlled | -| `clockwork.semaphoreslim.waitasync` | `System.Threading.SemaphoreSlim::WaitAsync()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphoreSlim::WaitAsync(System.Threading.SemaphoreSlim)` | Controlled | -| `clockwork.semaphoreslim.waitasync.cancellationtoken` | `System.Threading.SemaphoreSlim::WaitAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphoreSlim::WaitAsync(System.Threading.SemaphoreSlim,System.Threading.CancellationToken)` | Controlled | -| `clockwork.semaphoreslim.waitasync.milliseconds` | `System.Threading.SemaphoreSlim::WaitAsync(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphoreSlim::WaitAsync(System.Threading.SemaphoreSlim,System.Int32)` | Controlled | -| `clockwork.semaphoreslim.waitasync.milliseconds.cancellationtoken` | `System.Threading.SemaphoreSlim::WaitAsync(System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphoreSlim::WaitAsync(System.Threading.SemaphoreSlim,System.Int32,System.Threading.CancellationToken)` | Controlled | -| `clockwork.semaphoreslim.waitasync.timespan` | `System.Threading.SemaphoreSlim::WaitAsync(System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphoreSlim::WaitAsync(System.Threading.SemaphoreSlim,System.TimeSpan)` | Controlled | -| `clockwork.semaphoreslim.waitasync.timespan.cancellationtoken` | `System.Threading.SemaphoreSlim::WaitAsync(System.TimeSpan,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphoreSlim::WaitAsync(System.Threading.SemaphoreSlim,System.TimeSpan,System.Threading.CancellationToken)` | Controlled | -| `clockwork.semaphoreslim.release` | `System.Threading.SemaphoreSlim::Release()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphoreSlim::Release(System.Threading.SemaphoreSlim)` | Controlled | -| `clockwork.semaphoreslim.release.count` | `System.Threading.SemaphoreSlim::Release(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphoreSlim::Release(System.Threading.SemaphoreSlim,System.Int32)` | Controlled | -| `clockwork.semaphoreslim.dispose` | `System.Threading.SemaphoreSlim::Dispose()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphoreSlim::Dispose(System.Threading.SemaphoreSlim)` | Controlled | -| `clockwork.semaphoreslim.get_availablewaithandle` | `System.Threading.SemaphoreSlim::get_AvailableWaitHandle()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphoreSlim::AvailableWaitHandle(System.Threading.SemaphoreSlim)` | Controlled | +| `clockwork.semaphoreslim.ctor.initial` | `new System.Threading.SemaphoreSlim(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphoreSlim::Create(System.Int32)` | Controlled | +| `clockwork.semaphoreslim.ctor.initial.max` | `new System.Threading.SemaphoreSlim(System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphoreSlim::Create(System.Int32,System.Int32)` | Controlled | +| `clockwork.semaphoreslim.get_currentcount` | `System.Threading.SemaphoreSlim::get_CurrentCount()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphoreSlim::CurrentCount(System.Threading.SemaphoreSlim)` | Controlled | +| `clockwork.semaphoreslim.wait` | `System.Threading.SemaphoreSlim::Wait()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphoreSlim::Wait(System.Threading.SemaphoreSlim)` | Controlled | +| `clockwork.semaphoreslim.wait.cancellationtoken` | `System.Threading.SemaphoreSlim::Wait(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphoreSlim::Wait(System.Threading.SemaphoreSlim,System.Threading.CancellationToken)` | Controlled | +| `clockwork.semaphoreslim.wait.milliseconds` | `System.Threading.SemaphoreSlim::Wait(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphoreSlim::Wait(System.Threading.SemaphoreSlim,System.Int32)` | Controlled | +| `clockwork.semaphoreslim.wait.milliseconds.cancellationtoken` | `System.Threading.SemaphoreSlim::Wait(System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphoreSlim::Wait(System.Threading.SemaphoreSlim,System.Int32,System.Threading.CancellationToken)` | Controlled | +| `clockwork.semaphoreslim.wait.timespan` | `System.Threading.SemaphoreSlim::Wait(System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphoreSlim::Wait(System.Threading.SemaphoreSlim,System.TimeSpan)` | Controlled | +| `clockwork.semaphoreslim.wait.timespan.cancellationtoken` | `System.Threading.SemaphoreSlim::Wait(System.TimeSpan,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphoreSlim::Wait(System.Threading.SemaphoreSlim,System.TimeSpan,System.Threading.CancellationToken)` | Controlled | +| `clockwork.semaphoreslim.waitasync` | `System.Threading.SemaphoreSlim::WaitAsync()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphoreSlim::WaitAsync(System.Threading.SemaphoreSlim)` | Controlled | +| `clockwork.semaphoreslim.waitasync.cancellationtoken` | `System.Threading.SemaphoreSlim::WaitAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphoreSlim::WaitAsync(System.Threading.SemaphoreSlim,System.Threading.CancellationToken)` | Controlled | +| `clockwork.semaphoreslim.waitasync.milliseconds` | `System.Threading.SemaphoreSlim::WaitAsync(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphoreSlim::WaitAsync(System.Threading.SemaphoreSlim,System.Int32)` | Controlled | +| `clockwork.semaphoreslim.waitasync.milliseconds.cancellationtoken` | `System.Threading.SemaphoreSlim::WaitAsync(System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphoreSlim::WaitAsync(System.Threading.SemaphoreSlim,System.Int32,System.Threading.CancellationToken)` | Controlled | +| `clockwork.semaphoreslim.waitasync.timespan` | `System.Threading.SemaphoreSlim::WaitAsync(System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphoreSlim::WaitAsync(System.Threading.SemaphoreSlim,System.TimeSpan)` | Controlled | +| `clockwork.semaphoreslim.waitasync.timespan.cancellationtoken` | `System.Threading.SemaphoreSlim::WaitAsync(System.TimeSpan,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphoreSlim::WaitAsync(System.Threading.SemaphoreSlim,System.TimeSpan,System.Threading.CancellationToken)` | Controlled | +| `clockwork.semaphoreslim.release` | `System.Threading.SemaphoreSlim::Release()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphoreSlim::Release(System.Threading.SemaphoreSlim)` | Controlled | +| `clockwork.semaphoreslim.release.count` | `System.Threading.SemaphoreSlim::Release(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphoreSlim::Release(System.Threading.SemaphoreSlim,System.Int32)` | Controlled | +| `clockwork.semaphoreslim.dispose` | `System.Threading.SemaphoreSlim::Dispose()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphoreSlim::Dispose(System.Threading.SemaphoreSlim)` | Controlled | +| `clockwork.semaphoreslim.get_availablewaithandle` | `System.Threading.SemaphoreSlim::get_AvailableWaitHandle()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphoreSlim::AvailableWaitHandle(System.Threading.SemaphoreSlim)` | Controlled | ## Interlocked family @@ -895,60 +895,60 @@ Policy: **Controlled**. The full .NET 11 `Interlocked` surface - `Increment`/`De | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.interlocked.increment.int32` | `System.Threading.Interlocked::Increment(System.Int32&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Increment(System.Int32&)` | Controlled | -| `clockwork.interlocked.increment.int64` | `System.Threading.Interlocked::Increment(System.Int64&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Increment(System.Int64&)` | Controlled | -| `clockwork.interlocked.increment.uint32` | `System.Threading.Interlocked::Increment(System.UInt32&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Increment(System.UInt32&)` | Controlled | -| `clockwork.interlocked.increment.uint64` | `System.Threading.Interlocked::Increment(System.UInt64&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Increment(System.UInt64&)` | Controlled | -| `clockwork.interlocked.decrement.int32` | `System.Threading.Interlocked::Decrement(System.Int32&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Decrement(System.Int32&)` | Controlled | -| `clockwork.interlocked.decrement.int64` | `System.Threading.Interlocked::Decrement(System.Int64&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Decrement(System.Int64&)` | Controlled | -| `clockwork.interlocked.decrement.uint32` | `System.Threading.Interlocked::Decrement(System.UInt32&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Decrement(System.UInt32&)` | Controlled | -| `clockwork.interlocked.decrement.uint64` | `System.Threading.Interlocked::Decrement(System.UInt64&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Decrement(System.UInt64&)` | Controlled | -| `clockwork.interlocked.add.int32` | `System.Threading.Interlocked::Add(System.Int32&,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Add(System.Int32&,System.Int32)` | Controlled | -| `clockwork.interlocked.add.int64` | `System.Threading.Interlocked::Add(System.Int64&,System.Int64)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Add(System.Int64&,System.Int64)` | Controlled | -| `clockwork.interlocked.add.uint32` | `System.Threading.Interlocked::Add(System.UInt32&,System.UInt32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Add(System.UInt32&,System.UInt32)` | Controlled | -| `clockwork.interlocked.add.uint64` | `System.Threading.Interlocked::Add(System.UInt64&,System.UInt64)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Add(System.UInt64&,System.UInt64)` | Controlled | -| `clockwork.interlocked.and.int32` | `System.Threading.Interlocked::And(System.Int32&,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::And(System.Int32&,System.Int32)` | Controlled | -| `clockwork.interlocked.and.uint32` | `System.Threading.Interlocked::And(System.UInt32&,System.UInt32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::And(System.UInt32&,System.UInt32)` | Controlled | -| `clockwork.interlocked.and.int64` | `System.Threading.Interlocked::And(System.Int64&,System.Int64)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::And(System.Int64&,System.Int64)` | Controlled | -| `clockwork.interlocked.and.uint64` | `System.Threading.Interlocked::And(System.UInt64&,System.UInt64)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::And(System.UInt64&,System.UInt64)` | Controlled | -| `clockwork.interlocked.and.generic` | `System.Threading.Interlocked::And(!!0&,!!0)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::And(T&,T)` | Controlled | -| `clockwork.interlocked.or.int32` | `System.Threading.Interlocked::Or(System.Int32&,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Or(System.Int32&,System.Int32)` | Controlled | -| `clockwork.interlocked.or.uint32` | `System.Threading.Interlocked::Or(System.UInt32&,System.UInt32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Or(System.UInt32&,System.UInt32)` | Controlled | -| `clockwork.interlocked.or.int64` | `System.Threading.Interlocked::Or(System.Int64&,System.Int64)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Or(System.Int64&,System.Int64)` | Controlled | -| `clockwork.interlocked.or.uint64` | `System.Threading.Interlocked::Or(System.UInt64&,System.UInt64)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Or(System.UInt64&,System.UInt64)` | Controlled | -| `clockwork.interlocked.or.generic` | `System.Threading.Interlocked::Or(!!0&,!!0)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Or(T&,T)` | Controlled | -| `clockwork.interlocked.exchange.int32` | `System.Threading.Interlocked::Exchange(System.Int32&,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Exchange(System.Int32&,System.Int32)` | Controlled | -| `clockwork.interlocked.exchange.int64` | `System.Threading.Interlocked::Exchange(System.Int64&,System.Int64)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Exchange(System.Int64&,System.Int64)` | Controlled | -| `clockwork.interlocked.exchange.object` | `System.Threading.Interlocked::Exchange(System.Object&,System.Object)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Exchange(System.Object&,System.Object)` | Controlled | -| `clockwork.interlocked.exchange.sbyte` | `System.Threading.Interlocked::Exchange(System.SByte&,System.SByte)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Exchange(System.SByte&,System.SByte)` | Controlled | -| `clockwork.interlocked.exchange.int16` | `System.Threading.Interlocked::Exchange(System.Int16&,System.Int16)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Exchange(System.Int16&,System.Int16)` | Controlled | -| `clockwork.interlocked.exchange.byte` | `System.Threading.Interlocked::Exchange(System.Byte&,System.Byte)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Exchange(System.Byte&,System.Byte)` | Controlled | -| `clockwork.interlocked.exchange.uint16` | `System.Threading.Interlocked::Exchange(System.UInt16&,System.UInt16)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Exchange(System.UInt16&,System.UInt16)` | Controlled | -| `clockwork.interlocked.exchange.uint32` | `System.Threading.Interlocked::Exchange(System.UInt32&,System.UInt32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Exchange(System.UInt32&,System.UInt32)` | Controlled | -| `clockwork.interlocked.exchange.uint64` | `System.Threading.Interlocked::Exchange(System.UInt64&,System.UInt64)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Exchange(System.UInt64&,System.UInt64)` | Controlled | -| `clockwork.interlocked.exchange.single` | `System.Threading.Interlocked::Exchange(System.Single&,System.Single)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Exchange(System.Single&,System.Single)` | Controlled | -| `clockwork.interlocked.exchange.double` | `System.Threading.Interlocked::Exchange(System.Double&,System.Double)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Exchange(System.Double&,System.Double)` | Controlled | -| `clockwork.interlocked.exchange.intptr` | `System.Threading.Interlocked::Exchange(System.IntPtr&,System.IntPtr)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Exchange(System.IntPtr&,System.IntPtr)` | Controlled | -| `clockwork.interlocked.exchange.uintptr` | `System.Threading.Interlocked::Exchange(System.UIntPtr&,System.UIntPtr)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Exchange(System.UIntPtr&,System.UIntPtr)` | Controlled | -| `clockwork.interlocked.exchange.generic` | `System.Threading.Interlocked::Exchange(!!0&,!!0)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Exchange(T&,T)` | Controlled | -| `clockwork.interlocked.compareexchange.int32` | `System.Threading.Interlocked::CompareExchange(System.Int32&,System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.Int32&,System.Int32,System.Int32)` | Controlled | -| `clockwork.interlocked.compareexchange.int64` | `System.Threading.Interlocked::CompareExchange(System.Int64&,System.Int64,System.Int64)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.Int64&,System.Int64,System.Int64)` | Controlled | -| `clockwork.interlocked.compareexchange.object` | `System.Threading.Interlocked::CompareExchange(System.Object&,System.Object,System.Object)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.Object&,System.Object,System.Object)` | Controlled | -| `clockwork.interlocked.compareexchange.sbyte` | `System.Threading.Interlocked::CompareExchange(System.SByte&,System.SByte,System.SByte)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.SByte&,System.SByte,System.SByte)` | Controlled | -| `clockwork.interlocked.compareexchange.int16` | `System.Threading.Interlocked::CompareExchange(System.Int16&,System.Int16,System.Int16)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.Int16&,System.Int16,System.Int16)` | Controlled | -| `clockwork.interlocked.compareexchange.byte` | `System.Threading.Interlocked::CompareExchange(System.Byte&,System.Byte,System.Byte)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.Byte&,System.Byte,System.Byte)` | Controlled | -| `clockwork.interlocked.compareexchange.uint16` | `System.Threading.Interlocked::CompareExchange(System.UInt16&,System.UInt16,System.UInt16)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.UInt16&,System.UInt16,System.UInt16)` | Controlled | -| `clockwork.interlocked.compareexchange.uint32` | `System.Threading.Interlocked::CompareExchange(System.UInt32&,System.UInt32,System.UInt32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.UInt32&,System.UInt32,System.UInt32)` | Controlled | -| `clockwork.interlocked.compareexchange.uint64` | `System.Threading.Interlocked::CompareExchange(System.UInt64&,System.UInt64,System.UInt64)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.UInt64&,System.UInt64,System.UInt64)` | Controlled | -| `clockwork.interlocked.compareexchange.single` | `System.Threading.Interlocked::CompareExchange(System.Single&,System.Single,System.Single)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.Single&,System.Single,System.Single)` | Controlled | -| `clockwork.interlocked.compareexchange.double` | `System.Threading.Interlocked::CompareExchange(System.Double&,System.Double,System.Double)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.Double&,System.Double,System.Double)` | Controlled | -| `clockwork.interlocked.compareexchange.intptr` | `System.Threading.Interlocked::CompareExchange(System.IntPtr&,System.IntPtr,System.IntPtr)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.IntPtr&,System.IntPtr,System.IntPtr)` | Controlled | -| `clockwork.interlocked.compareexchange.uintptr` | `System.Threading.Interlocked::CompareExchange(System.UIntPtr&,System.UIntPtr,System.UIntPtr)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.UIntPtr&,System.UIntPtr,System.UIntPtr)` | Controlled | -| `clockwork.interlocked.compareexchange.generic` | `System.Threading.Interlocked::CompareExchange(!!0&,!!0,!!0)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::CompareExchange(T&,T,T)` | Controlled | -| `clockwork.interlocked.read.int64` | `System.Threading.Interlocked::Read(System.Int64&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Read(System.Int64&)` | Controlled | -| `clockwork.interlocked.read.uint64` | `System.Threading.Interlocked::Read(System.UInt64&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::Read(System.UInt64&)` | Controlled | -| `clockwork.interlocked.memorybarrier` | `System.Threading.Interlocked::MemoryBarrier()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::MemoryBarrier()` | Controlled | -| `clockwork.interlocked.memorybarrierprocesswide` | `System.Threading.Interlocked::MemoryBarrierProcessWide()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledInterlocked::MemoryBarrierProcessWide()` | Controlled | +| `clockwork.interlocked.increment.int32` | `System.Threading.Interlocked::Increment(System.Int32&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Increment(System.Int32&)` | Controlled | +| `clockwork.interlocked.increment.int64` | `System.Threading.Interlocked::Increment(System.Int64&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Increment(System.Int64&)` | Controlled | +| `clockwork.interlocked.increment.uint32` | `System.Threading.Interlocked::Increment(System.UInt32&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Increment(System.UInt32&)` | Controlled | +| `clockwork.interlocked.increment.uint64` | `System.Threading.Interlocked::Increment(System.UInt64&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Increment(System.UInt64&)` | Controlled | +| `clockwork.interlocked.decrement.int32` | `System.Threading.Interlocked::Decrement(System.Int32&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Decrement(System.Int32&)` | Controlled | +| `clockwork.interlocked.decrement.int64` | `System.Threading.Interlocked::Decrement(System.Int64&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Decrement(System.Int64&)` | Controlled | +| `clockwork.interlocked.decrement.uint32` | `System.Threading.Interlocked::Decrement(System.UInt32&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Decrement(System.UInt32&)` | Controlled | +| `clockwork.interlocked.decrement.uint64` | `System.Threading.Interlocked::Decrement(System.UInt64&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Decrement(System.UInt64&)` | Controlled | +| `clockwork.interlocked.add.int32` | `System.Threading.Interlocked::Add(System.Int32&,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Add(System.Int32&,System.Int32)` | Controlled | +| `clockwork.interlocked.add.int64` | `System.Threading.Interlocked::Add(System.Int64&,System.Int64)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Add(System.Int64&,System.Int64)` | Controlled | +| `clockwork.interlocked.add.uint32` | `System.Threading.Interlocked::Add(System.UInt32&,System.UInt32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Add(System.UInt32&,System.UInt32)` | Controlled | +| `clockwork.interlocked.add.uint64` | `System.Threading.Interlocked::Add(System.UInt64&,System.UInt64)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Add(System.UInt64&,System.UInt64)` | Controlled | +| `clockwork.interlocked.and.int32` | `System.Threading.Interlocked::And(System.Int32&,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::And(System.Int32&,System.Int32)` | Controlled | +| `clockwork.interlocked.and.uint32` | `System.Threading.Interlocked::And(System.UInt32&,System.UInt32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::And(System.UInt32&,System.UInt32)` | Controlled | +| `clockwork.interlocked.and.int64` | `System.Threading.Interlocked::And(System.Int64&,System.Int64)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::And(System.Int64&,System.Int64)` | Controlled | +| `clockwork.interlocked.and.uint64` | `System.Threading.Interlocked::And(System.UInt64&,System.UInt64)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::And(System.UInt64&,System.UInt64)` | Controlled | +| `clockwork.interlocked.and.generic` | `System.Threading.Interlocked::And(!!0&,!!0)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::And(T&,T)` | Controlled | +| `clockwork.interlocked.or.int32` | `System.Threading.Interlocked::Or(System.Int32&,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Or(System.Int32&,System.Int32)` | Controlled | +| `clockwork.interlocked.or.uint32` | `System.Threading.Interlocked::Or(System.UInt32&,System.UInt32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Or(System.UInt32&,System.UInt32)` | Controlled | +| `clockwork.interlocked.or.int64` | `System.Threading.Interlocked::Or(System.Int64&,System.Int64)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Or(System.Int64&,System.Int64)` | Controlled | +| `clockwork.interlocked.or.uint64` | `System.Threading.Interlocked::Or(System.UInt64&,System.UInt64)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Or(System.UInt64&,System.UInt64)` | Controlled | +| `clockwork.interlocked.or.generic` | `System.Threading.Interlocked::Or(!!0&,!!0)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Or(T&,T)` | Controlled | +| `clockwork.interlocked.exchange.int32` | `System.Threading.Interlocked::Exchange(System.Int32&,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Exchange(System.Int32&,System.Int32)` | Controlled | +| `clockwork.interlocked.exchange.int64` | `System.Threading.Interlocked::Exchange(System.Int64&,System.Int64)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Exchange(System.Int64&,System.Int64)` | Controlled | +| `clockwork.interlocked.exchange.object` | `System.Threading.Interlocked::Exchange(System.Object&,System.Object)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Exchange(System.Object&,System.Object)` | Controlled | +| `clockwork.interlocked.exchange.sbyte` | `System.Threading.Interlocked::Exchange(System.SByte&,System.SByte)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Exchange(System.SByte&,System.SByte)` | Controlled | +| `clockwork.interlocked.exchange.int16` | `System.Threading.Interlocked::Exchange(System.Int16&,System.Int16)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Exchange(System.Int16&,System.Int16)` | Controlled | +| `clockwork.interlocked.exchange.byte` | `System.Threading.Interlocked::Exchange(System.Byte&,System.Byte)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Exchange(System.Byte&,System.Byte)` | Controlled | +| `clockwork.interlocked.exchange.uint16` | `System.Threading.Interlocked::Exchange(System.UInt16&,System.UInt16)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Exchange(System.UInt16&,System.UInt16)` | Controlled | +| `clockwork.interlocked.exchange.uint32` | `System.Threading.Interlocked::Exchange(System.UInt32&,System.UInt32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Exchange(System.UInt32&,System.UInt32)` | Controlled | +| `clockwork.interlocked.exchange.uint64` | `System.Threading.Interlocked::Exchange(System.UInt64&,System.UInt64)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Exchange(System.UInt64&,System.UInt64)` | Controlled | +| `clockwork.interlocked.exchange.single` | `System.Threading.Interlocked::Exchange(System.Single&,System.Single)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Exchange(System.Single&,System.Single)` | Controlled | +| `clockwork.interlocked.exchange.double` | `System.Threading.Interlocked::Exchange(System.Double&,System.Double)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Exchange(System.Double&,System.Double)` | Controlled | +| `clockwork.interlocked.exchange.intptr` | `System.Threading.Interlocked::Exchange(System.IntPtr&,System.IntPtr)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Exchange(System.IntPtr&,System.IntPtr)` | Controlled | +| `clockwork.interlocked.exchange.uintptr` | `System.Threading.Interlocked::Exchange(System.UIntPtr&,System.UIntPtr)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Exchange(System.UIntPtr&,System.UIntPtr)` | Controlled | +| `clockwork.interlocked.exchange.generic` | `System.Threading.Interlocked::Exchange(!!0&,!!0)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Exchange(T&,T)` | Controlled | +| `clockwork.interlocked.compareexchange.int32` | `System.Threading.Interlocked::CompareExchange(System.Int32&,System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.Int32&,System.Int32,System.Int32)` | Controlled | +| `clockwork.interlocked.compareexchange.int64` | `System.Threading.Interlocked::CompareExchange(System.Int64&,System.Int64,System.Int64)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.Int64&,System.Int64,System.Int64)` | Controlled | +| `clockwork.interlocked.compareexchange.object` | `System.Threading.Interlocked::CompareExchange(System.Object&,System.Object,System.Object)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.Object&,System.Object,System.Object)` | Controlled | +| `clockwork.interlocked.compareexchange.sbyte` | `System.Threading.Interlocked::CompareExchange(System.SByte&,System.SByte,System.SByte)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.SByte&,System.SByte,System.SByte)` | Controlled | +| `clockwork.interlocked.compareexchange.int16` | `System.Threading.Interlocked::CompareExchange(System.Int16&,System.Int16,System.Int16)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.Int16&,System.Int16,System.Int16)` | Controlled | +| `clockwork.interlocked.compareexchange.byte` | `System.Threading.Interlocked::CompareExchange(System.Byte&,System.Byte,System.Byte)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.Byte&,System.Byte,System.Byte)` | Controlled | +| `clockwork.interlocked.compareexchange.uint16` | `System.Threading.Interlocked::CompareExchange(System.UInt16&,System.UInt16,System.UInt16)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.UInt16&,System.UInt16,System.UInt16)` | Controlled | +| `clockwork.interlocked.compareexchange.uint32` | `System.Threading.Interlocked::CompareExchange(System.UInt32&,System.UInt32,System.UInt32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.UInt32&,System.UInt32,System.UInt32)` | Controlled | +| `clockwork.interlocked.compareexchange.uint64` | `System.Threading.Interlocked::CompareExchange(System.UInt64&,System.UInt64,System.UInt64)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.UInt64&,System.UInt64,System.UInt64)` | Controlled | +| `clockwork.interlocked.compareexchange.single` | `System.Threading.Interlocked::CompareExchange(System.Single&,System.Single,System.Single)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.Single&,System.Single,System.Single)` | Controlled | +| `clockwork.interlocked.compareexchange.double` | `System.Threading.Interlocked::CompareExchange(System.Double&,System.Double,System.Double)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.Double&,System.Double,System.Double)` | Controlled | +| `clockwork.interlocked.compareexchange.intptr` | `System.Threading.Interlocked::CompareExchange(System.IntPtr&,System.IntPtr,System.IntPtr)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.IntPtr&,System.IntPtr,System.IntPtr)` | Controlled | +| `clockwork.interlocked.compareexchange.uintptr` | `System.Threading.Interlocked::CompareExchange(System.UIntPtr&,System.UIntPtr,System.UIntPtr)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::CompareExchange(System.UIntPtr&,System.UIntPtr,System.UIntPtr)` | Controlled | +| `clockwork.interlocked.compareexchange.generic` | `System.Threading.Interlocked::CompareExchange(!!0&,!!0,!!0)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::CompareExchange(T&,T,T)` | Controlled | +| `clockwork.interlocked.read.int64` | `System.Threading.Interlocked::Read(System.Int64&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Read(System.Int64&)` | Controlled | +| `clockwork.interlocked.read.uint64` | `System.Threading.Interlocked::Read(System.UInt64&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::Read(System.UInt64&)` | Controlled | +| `clockwork.interlocked.memorybarrier` | `System.Threading.Interlocked::MemoryBarrier()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::MemoryBarrier()` | Controlled | +| `clockwork.interlocked.memorybarrierprocesswide` | `System.Threading.Interlocked::MemoryBarrierProcessWide()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked::MemoryBarrierProcessWide()` | Controlled | ## Volatile family @@ -956,36 +956,36 @@ Policy: **Controlled**. The full .NET 11 `Volatile` surface - `Read`/`Write` (ev | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.volatile.read.boolean` | `System.Threading.Volatile::Read(System.Boolean&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Read(System.Boolean&)` | Controlled | -| `clockwork.volatile.read.sbyte` | `System.Threading.Volatile::Read(System.SByte&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Read(System.SByte&)` | Controlled | -| `clockwork.volatile.read.byte` | `System.Threading.Volatile::Read(System.Byte&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Read(System.Byte&)` | Controlled | -| `clockwork.volatile.read.int16` | `System.Threading.Volatile::Read(System.Int16&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Read(System.Int16&)` | Controlled | -| `clockwork.volatile.read.uint16` | `System.Threading.Volatile::Read(System.UInt16&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Read(System.UInt16&)` | Controlled | -| `clockwork.volatile.read.int32` | `System.Threading.Volatile::Read(System.Int32&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Read(System.Int32&)` | Controlled | -| `clockwork.volatile.read.uint32` | `System.Threading.Volatile::Read(System.UInt32&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Read(System.UInt32&)` | Controlled | -| `clockwork.volatile.read.int64` | `System.Threading.Volatile::Read(System.Int64&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Read(System.Int64&)` | Controlled | -| `clockwork.volatile.read.uint64` | `System.Threading.Volatile::Read(System.UInt64&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Read(System.UInt64&)` | Controlled | -| `clockwork.volatile.read.intptr` | `System.Threading.Volatile::Read(System.IntPtr&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Read(System.IntPtr&)` | Controlled | -| `clockwork.volatile.read.uintptr` | `System.Threading.Volatile::Read(System.UIntPtr&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Read(System.UIntPtr&)` | Controlled | -| `clockwork.volatile.read.single` | `System.Threading.Volatile::Read(System.Single&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Read(System.Single&)` | Controlled | -| `clockwork.volatile.read.double` | `System.Threading.Volatile::Read(System.Double&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Read(System.Double&)` | Controlled | -| `clockwork.volatile.read.generic` | `System.Threading.Volatile::Read(!!0&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Read(T&)` | Controlled | -| `clockwork.volatile.write.boolean` | `System.Threading.Volatile::Write(System.Boolean&,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Write(System.Boolean&,System.Boolean)` | Controlled | -| `clockwork.volatile.write.sbyte` | `System.Threading.Volatile::Write(System.SByte&,System.SByte)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Write(System.SByte&,System.SByte)` | Controlled | -| `clockwork.volatile.write.byte` | `System.Threading.Volatile::Write(System.Byte&,System.Byte)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Write(System.Byte&,System.Byte)` | Controlled | -| `clockwork.volatile.write.int16` | `System.Threading.Volatile::Write(System.Int16&,System.Int16)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Write(System.Int16&,System.Int16)` | Controlled | -| `clockwork.volatile.write.uint16` | `System.Threading.Volatile::Write(System.UInt16&,System.UInt16)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Write(System.UInt16&,System.UInt16)` | Controlled | -| `clockwork.volatile.write.int32` | `System.Threading.Volatile::Write(System.Int32&,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Write(System.Int32&,System.Int32)` | Controlled | -| `clockwork.volatile.write.uint32` | `System.Threading.Volatile::Write(System.UInt32&,System.UInt32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Write(System.UInt32&,System.UInt32)` | Controlled | -| `clockwork.volatile.write.int64` | `System.Threading.Volatile::Write(System.Int64&,System.Int64)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Write(System.Int64&,System.Int64)` | Controlled | -| `clockwork.volatile.write.uint64` | `System.Threading.Volatile::Write(System.UInt64&,System.UInt64)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Write(System.UInt64&,System.UInt64)` | Controlled | -| `clockwork.volatile.write.intptr` | `System.Threading.Volatile::Write(System.IntPtr&,System.IntPtr)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Write(System.IntPtr&,System.IntPtr)` | Controlled | -| `clockwork.volatile.write.uintptr` | `System.Threading.Volatile::Write(System.UIntPtr&,System.UIntPtr)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Write(System.UIntPtr&,System.UIntPtr)` | Controlled | -| `clockwork.volatile.write.single` | `System.Threading.Volatile::Write(System.Single&,System.Single)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Write(System.Single&,System.Single)` | Controlled | -| `clockwork.volatile.write.double` | `System.Threading.Volatile::Write(System.Double&,System.Double)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Write(System.Double&,System.Double)` | Controlled | -| `clockwork.volatile.write.generic` | `System.Threading.Volatile::Write(!!0&,!!0)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::Write(T&,T)` | Controlled | -| `clockwork.volatile.readbarrier` | `System.Threading.Volatile::ReadBarrier()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::ReadBarrier()` | Controlled | -| `clockwork.volatile.writebarrier` | `System.Threading.Volatile::WriteBarrier()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledVolatile::WriteBarrier()` | Controlled | +| `clockwork.volatile.read.boolean` | `System.Threading.Volatile::Read(System.Boolean&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Read(System.Boolean&)` | Controlled | +| `clockwork.volatile.read.sbyte` | `System.Threading.Volatile::Read(System.SByte&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Read(System.SByte&)` | Controlled | +| `clockwork.volatile.read.byte` | `System.Threading.Volatile::Read(System.Byte&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Read(System.Byte&)` | Controlled | +| `clockwork.volatile.read.int16` | `System.Threading.Volatile::Read(System.Int16&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Read(System.Int16&)` | Controlled | +| `clockwork.volatile.read.uint16` | `System.Threading.Volatile::Read(System.UInt16&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Read(System.UInt16&)` | Controlled | +| `clockwork.volatile.read.int32` | `System.Threading.Volatile::Read(System.Int32&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Read(System.Int32&)` | Controlled | +| `clockwork.volatile.read.uint32` | `System.Threading.Volatile::Read(System.UInt32&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Read(System.UInt32&)` | Controlled | +| `clockwork.volatile.read.int64` | `System.Threading.Volatile::Read(System.Int64&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Read(System.Int64&)` | Controlled | +| `clockwork.volatile.read.uint64` | `System.Threading.Volatile::Read(System.UInt64&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Read(System.UInt64&)` | Controlled | +| `clockwork.volatile.read.intptr` | `System.Threading.Volatile::Read(System.IntPtr&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Read(System.IntPtr&)` | Controlled | +| `clockwork.volatile.read.uintptr` | `System.Threading.Volatile::Read(System.UIntPtr&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Read(System.UIntPtr&)` | Controlled | +| `clockwork.volatile.read.single` | `System.Threading.Volatile::Read(System.Single&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Read(System.Single&)` | Controlled | +| `clockwork.volatile.read.double` | `System.Threading.Volatile::Read(System.Double&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Read(System.Double&)` | Controlled | +| `clockwork.volatile.read.generic` | `System.Threading.Volatile::Read(!!0&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Read(T&)` | Controlled | +| `clockwork.volatile.write.boolean` | `System.Threading.Volatile::Write(System.Boolean&,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Write(System.Boolean&,System.Boolean)` | Controlled | +| `clockwork.volatile.write.sbyte` | `System.Threading.Volatile::Write(System.SByte&,System.SByte)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Write(System.SByte&,System.SByte)` | Controlled | +| `clockwork.volatile.write.byte` | `System.Threading.Volatile::Write(System.Byte&,System.Byte)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Write(System.Byte&,System.Byte)` | Controlled | +| `clockwork.volatile.write.int16` | `System.Threading.Volatile::Write(System.Int16&,System.Int16)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Write(System.Int16&,System.Int16)` | Controlled | +| `clockwork.volatile.write.uint16` | `System.Threading.Volatile::Write(System.UInt16&,System.UInt16)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Write(System.UInt16&,System.UInt16)` | Controlled | +| `clockwork.volatile.write.int32` | `System.Threading.Volatile::Write(System.Int32&,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Write(System.Int32&,System.Int32)` | Controlled | +| `clockwork.volatile.write.uint32` | `System.Threading.Volatile::Write(System.UInt32&,System.UInt32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Write(System.UInt32&,System.UInt32)` | Controlled | +| `clockwork.volatile.write.int64` | `System.Threading.Volatile::Write(System.Int64&,System.Int64)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Write(System.Int64&,System.Int64)` | Controlled | +| `clockwork.volatile.write.uint64` | `System.Threading.Volatile::Write(System.UInt64&,System.UInt64)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Write(System.UInt64&,System.UInt64)` | Controlled | +| `clockwork.volatile.write.intptr` | `System.Threading.Volatile::Write(System.IntPtr&,System.IntPtr)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Write(System.IntPtr&,System.IntPtr)` | Controlled | +| `clockwork.volatile.write.uintptr` | `System.Threading.Volatile::Write(System.UIntPtr&,System.UIntPtr)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Write(System.UIntPtr&,System.UIntPtr)` | Controlled | +| `clockwork.volatile.write.single` | `System.Threading.Volatile::Write(System.Single&,System.Single)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Write(System.Single&,System.Single)` | Controlled | +| `clockwork.volatile.write.double` | `System.Threading.Volatile::Write(System.Double&,System.Double)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Write(System.Double&,System.Double)` | Controlled | +| `clockwork.volatile.write.generic` | `System.Threading.Volatile::Write(!!0&,!!0)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::Write(T&,T)` | Controlled | +| `clockwork.volatile.readbarrier` | `System.Threading.Volatile::ReadBarrier()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::ReadBarrier()` | Controlled | +| `clockwork.volatile.writebarrier` | `System.Threading.Volatile::WriteBarrier()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile::WriteBarrier()` | Controlled | ## SpinWait family @@ -993,7 +993,7 @@ Policy: **Controlled**. `System.Threading.SpinWait` is a value type retargeted b | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.spinwait.type` | `System.Threading.SpinWait` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSpinWait` | Controlled | +| `clockwork.spinwait.type` | `System.Threading.SpinWait` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSpinWait` | Controlled | ## WaitHandle family @@ -1001,43 +1001,43 @@ Policy: **Controlled**. The controlled event / wait-handle surface - `AutoResetE | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.autoresetevent.ctor` | `new System.Threading.AutoResetEvent(System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledEventWaitHandle::CreateAutoResetEvent(System.Boolean)` | Controlled | -| `clockwork.manualresetevent.ctor` | `new System.Threading.ManualResetEvent(System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledEventWaitHandle::CreateManualResetEvent(System.Boolean)` | Controlled | -| `clockwork.eventwaithandle.ctor.mode` | `new System.Threading.EventWaitHandle(System.Boolean,System.Threading.EventResetMode)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledEventWaitHandle::CreateEvent(System.Boolean,System.Threading.EventResetMode)` | Controlled | -| `clockwork.eventwaithandle.ctor.named` | `new System.Threading.EventWaitHandle(System.Boolean,System.Threading.EventResetMode,System.String)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledEventWaitHandle::CreateNamedEvent(System.Boolean,System.Threading.EventResetMode,System.String)` | Controlled | -| `clockwork.eventwaithandle.ctor.named.creatednew` | `new System.Threading.EventWaitHandle(System.Boolean,System.Threading.EventResetMode,System.String,System.Boolean&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledEventWaitHandle::CreateNamedEvent(System.Boolean,System.Threading.EventResetMode,System.String,System.Boolean&)` | Controlled | -| `clockwork.eventwaithandle.ctor.named.options` | `new System.Threading.EventWaitHandle(System.Boolean,System.Threading.EventResetMode,System.String,System.Threading.NamedWaitHandleOptions)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledEventWaitHandle::CreateNamedEvent(System.Boolean,System.Threading.EventResetMode,System.String,System.Threading.NamedWaitHandleOptions)` | Controlled | -| `clockwork.eventwaithandle.ctor.named.options.creatednew` | `new System.Threading.EventWaitHandle(System.Boolean,System.Threading.EventResetMode,System.String,System.Threading.NamedWaitHandleOptions,System.Boolean&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledEventWaitHandle::CreateNamedEvent(System.Boolean,System.Threading.EventResetMode,System.String,System.Threading.NamedWaitHandleOptions,System.Boolean&)` | Controlled | -| `clockwork.waithandle.waitone` | `System.Threading.WaitHandle::WaitOne()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::WaitOne(System.Threading.WaitHandle)` | Controlled | -| `clockwork.waithandle.waitone.milliseconds` | `System.Threading.WaitHandle::WaitOne(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::WaitOne(System.Threading.WaitHandle,System.Int32)` | Controlled | -| `clockwork.waithandle.waitone.timespan` | `System.Threading.WaitHandle::WaitOne(System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::WaitOne(System.Threading.WaitHandle,System.TimeSpan)` | Controlled | -| `clockwork.waithandle.waitone.milliseconds.exitcontext` | `System.Threading.WaitHandle::WaitOne(System.Int32,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::WaitOne(System.Threading.WaitHandle,System.Int32,System.Boolean)` | Controlled | -| `clockwork.waithandle.waitone.timespan.exitcontext` | `System.Threading.WaitHandle::WaitOne(System.TimeSpan,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::WaitOne(System.Threading.WaitHandle,System.TimeSpan,System.Boolean)` | Controlled | -| `clockwork.waithandle.waitany` | `System.Threading.WaitHandle::WaitAny(System.Threading.WaitHandle[])` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::WaitAny(System.Threading.WaitHandle[])` | Controlled | -| `clockwork.waithandle.waitany.milliseconds` | `System.Threading.WaitHandle::WaitAny(System.Threading.WaitHandle[],System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::WaitAny(System.Threading.WaitHandle[],System.Int32)` | Controlled | -| `clockwork.waithandle.waitany.timespan` | `System.Threading.WaitHandle::WaitAny(System.Threading.WaitHandle[],System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::WaitAny(System.Threading.WaitHandle[],System.TimeSpan)` | Controlled | -| `clockwork.waithandle.waitany.milliseconds.exitcontext` | `System.Threading.WaitHandle::WaitAny(System.Threading.WaitHandle[],System.Int32,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::WaitAny(System.Threading.WaitHandle[],System.Int32,System.Boolean)` | Controlled | -| `clockwork.waithandle.waitany.timespan.exitcontext` | `System.Threading.WaitHandle::WaitAny(System.Threading.WaitHandle[],System.TimeSpan,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::WaitAny(System.Threading.WaitHandle[],System.TimeSpan,System.Boolean)` | Controlled | -| `clockwork.waithandle.waitall` | `System.Threading.WaitHandle::WaitAll(System.Threading.WaitHandle[])` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::WaitAll(System.Threading.WaitHandle[])` | Controlled | -| `clockwork.waithandle.waitall.milliseconds` | `System.Threading.WaitHandle::WaitAll(System.Threading.WaitHandle[],System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::WaitAll(System.Threading.WaitHandle[],System.Int32)` | Controlled | -| `clockwork.waithandle.waitall.timespan` | `System.Threading.WaitHandle::WaitAll(System.Threading.WaitHandle[],System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::WaitAll(System.Threading.WaitHandle[],System.TimeSpan)` | Controlled | -| `clockwork.waithandle.waitall.milliseconds.exitcontext` | `System.Threading.WaitHandle::WaitAll(System.Threading.WaitHandle[],System.Int32,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::WaitAll(System.Threading.WaitHandle[],System.Int32,System.Boolean)` | Controlled | -| `clockwork.waithandle.waitall.timespan.exitcontext` | `System.Threading.WaitHandle::WaitAll(System.Threading.WaitHandle[],System.TimeSpan,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::WaitAll(System.Threading.WaitHandle[],System.TimeSpan,System.Boolean)` | Controlled | -| `clockwork.waithandle.signalandwait` | `System.Threading.WaitHandle::SignalAndWait(System.Threading.WaitHandle,System.Threading.WaitHandle)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::SignalAndWait(System.Threading.WaitHandle,System.Threading.WaitHandle)` | Controlled | -| `clockwork.waithandle.signalandwait.milliseconds.exitcontext` | `System.Threading.WaitHandle::SignalAndWait(System.Threading.WaitHandle,System.Threading.WaitHandle,System.Int32,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::SignalAndWait(System.Threading.WaitHandle,System.Threading.WaitHandle,System.Int32,System.Boolean)` | Controlled | -| `clockwork.waithandle.signalandwait.timespan.exitcontext` | `System.Threading.WaitHandle::SignalAndWait(System.Threading.WaitHandle,System.Threading.WaitHandle,System.TimeSpan,System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::SignalAndWait(System.Threading.WaitHandle,System.Threading.WaitHandle,System.TimeSpan,System.Boolean)` | Controlled | -| `clockwork.waithandle.dispose` | `System.Threading.WaitHandle::Dispose()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::Dispose(System.Threading.WaitHandle)` | Controlled | -| `clockwork.waithandle.close` | `System.Threading.WaitHandle::Close()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::Close(System.Threading.WaitHandle)` | Controlled | -| `clockwork.waithandle.get_handle` | `System.Threading.WaitHandle::get_Handle()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::GetHandle(System.Threading.WaitHandle)` | Rejected | -| `clockwork.waithandle.set_handle` | `System.Threading.WaitHandle::set_Handle(System.IntPtr)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::SetHandle(System.Threading.WaitHandle,System.IntPtr)` | Rejected | -| `clockwork.waithandle.get_safewaithandle` | `System.Threading.WaitHandle::get_SafeWaitHandle()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::GetSafeWaitHandle(System.Threading.WaitHandle)` | Rejected | -| `clockwork.waithandle.set_safewaithandle` | `System.Threading.WaitHandle::set_SafeWaitHandle(Microsoft.Win32.SafeHandles.SafeWaitHandle)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledWaitHandle::SetSafeWaitHandle(System.Threading.WaitHandle,Microsoft.Win32.SafeHandles.SafeWaitHandle)` | Rejected | -| `clockwork.eventwaithandle.set` | `System.Threading.EventWaitHandle::Set()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledEventWaitHandle::Set(System.Threading.EventWaitHandle)` | Controlled | -| `clockwork.eventwaithandle.reset` | `System.Threading.EventWaitHandle::Reset()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledEventWaitHandle::Reset(System.Threading.EventWaitHandle)` | Controlled | -| `clockwork.eventwaithandle.openexisting` | `System.Threading.EventWaitHandle::OpenExisting(System.String)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledEventWaitHandle::OpenExisting(System.String)` | Rejected | -| `clockwork.eventwaithandle.openexisting.options` | `System.Threading.EventWaitHandle::OpenExisting(System.String,System.Threading.NamedWaitHandleOptions)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledEventWaitHandle::OpenExisting(System.String,System.Threading.NamedWaitHandleOptions)` | Rejected | -| `clockwork.eventwaithandle.tryopenexisting` | `System.Threading.EventWaitHandle::TryOpenExisting(System.String,System.Threading.EventWaitHandle&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledEventWaitHandle::TryOpenExisting(System.String,System.Threading.EventWaitHandle&)` | Rejected | -| `clockwork.eventwaithandle.tryopenexisting.options` | `System.Threading.EventWaitHandle::TryOpenExisting(System.String,System.Threading.NamedWaitHandleOptions,System.Threading.EventWaitHandle&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledEventWaitHandle::TryOpenExisting(System.String,System.Threading.NamedWaitHandleOptions,System.Threading.EventWaitHandle&)` | Rejected | +| `clockwork.autoresetevent.ctor` | `new System.Threading.AutoResetEvent(System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledEventWaitHandle::CreateAutoResetEvent(System.Boolean)` | Controlled | +| `clockwork.manualresetevent.ctor` | `new System.Threading.ManualResetEvent(System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledEventWaitHandle::CreateManualResetEvent(System.Boolean)` | Controlled | +| `clockwork.eventwaithandle.ctor.mode` | `new System.Threading.EventWaitHandle(System.Boolean,System.Threading.EventResetMode)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledEventWaitHandle::CreateEvent(System.Boolean,System.Threading.EventResetMode)` | Controlled | +| `clockwork.eventwaithandle.ctor.named` | `new System.Threading.EventWaitHandle(System.Boolean,System.Threading.EventResetMode,System.String)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledEventWaitHandle::CreateNamedEvent(System.Boolean,System.Threading.EventResetMode,System.String)` | Controlled | +| `clockwork.eventwaithandle.ctor.named.creatednew` | `new System.Threading.EventWaitHandle(System.Boolean,System.Threading.EventResetMode,System.String,System.Boolean&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledEventWaitHandle::CreateNamedEvent(System.Boolean,System.Threading.EventResetMode,System.String,System.Boolean&)` | Controlled | +| `clockwork.eventwaithandle.ctor.named.options` | `new System.Threading.EventWaitHandle(System.Boolean,System.Threading.EventResetMode,System.String,System.Threading.NamedWaitHandleOptions)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledEventWaitHandle::CreateNamedEvent(System.Boolean,System.Threading.EventResetMode,System.String,System.Threading.NamedWaitHandleOptions)` | Controlled | +| `clockwork.eventwaithandle.ctor.named.options.creatednew` | `new System.Threading.EventWaitHandle(System.Boolean,System.Threading.EventResetMode,System.String,System.Threading.NamedWaitHandleOptions,System.Boolean&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledEventWaitHandle::CreateNamedEvent(System.Boolean,System.Threading.EventResetMode,System.String,System.Threading.NamedWaitHandleOptions,System.Boolean&)` | Controlled | +| `clockwork.waithandle.waitone` | `System.Threading.WaitHandle::WaitOne()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::WaitOne(System.Threading.WaitHandle)` | Controlled | +| `clockwork.waithandle.waitone.milliseconds` | `System.Threading.WaitHandle::WaitOne(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::WaitOne(System.Threading.WaitHandle,System.Int32)` | Controlled | +| `clockwork.waithandle.waitone.timespan` | `System.Threading.WaitHandle::WaitOne(System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::WaitOne(System.Threading.WaitHandle,System.TimeSpan)` | Controlled | +| `clockwork.waithandle.waitone.milliseconds.exitcontext` | `System.Threading.WaitHandle::WaitOne(System.Int32,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::WaitOne(System.Threading.WaitHandle,System.Int32,System.Boolean)` | Controlled | +| `clockwork.waithandle.waitone.timespan.exitcontext` | `System.Threading.WaitHandle::WaitOne(System.TimeSpan,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::WaitOne(System.Threading.WaitHandle,System.TimeSpan,System.Boolean)` | Controlled | +| `clockwork.waithandle.waitany` | `System.Threading.WaitHandle::WaitAny(System.Threading.WaitHandle[])` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::WaitAny(System.Threading.WaitHandle[])` | Controlled | +| `clockwork.waithandle.waitany.milliseconds` | `System.Threading.WaitHandle::WaitAny(System.Threading.WaitHandle[],System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::WaitAny(System.Threading.WaitHandle[],System.Int32)` | Controlled | +| `clockwork.waithandle.waitany.timespan` | `System.Threading.WaitHandle::WaitAny(System.Threading.WaitHandle[],System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::WaitAny(System.Threading.WaitHandle[],System.TimeSpan)` | Controlled | +| `clockwork.waithandle.waitany.milliseconds.exitcontext` | `System.Threading.WaitHandle::WaitAny(System.Threading.WaitHandle[],System.Int32,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::WaitAny(System.Threading.WaitHandle[],System.Int32,System.Boolean)` | Controlled | +| `clockwork.waithandle.waitany.timespan.exitcontext` | `System.Threading.WaitHandle::WaitAny(System.Threading.WaitHandle[],System.TimeSpan,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::WaitAny(System.Threading.WaitHandle[],System.TimeSpan,System.Boolean)` | Controlled | +| `clockwork.waithandle.waitall` | `System.Threading.WaitHandle::WaitAll(System.Threading.WaitHandle[])` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::WaitAll(System.Threading.WaitHandle[])` | Controlled | +| `clockwork.waithandle.waitall.milliseconds` | `System.Threading.WaitHandle::WaitAll(System.Threading.WaitHandle[],System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::WaitAll(System.Threading.WaitHandle[],System.Int32)` | Controlled | +| `clockwork.waithandle.waitall.timespan` | `System.Threading.WaitHandle::WaitAll(System.Threading.WaitHandle[],System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::WaitAll(System.Threading.WaitHandle[],System.TimeSpan)` | Controlled | +| `clockwork.waithandle.waitall.milliseconds.exitcontext` | `System.Threading.WaitHandle::WaitAll(System.Threading.WaitHandle[],System.Int32,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::WaitAll(System.Threading.WaitHandle[],System.Int32,System.Boolean)` | Controlled | +| `clockwork.waithandle.waitall.timespan.exitcontext` | `System.Threading.WaitHandle::WaitAll(System.Threading.WaitHandle[],System.TimeSpan,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::WaitAll(System.Threading.WaitHandle[],System.TimeSpan,System.Boolean)` | Controlled | +| `clockwork.waithandle.signalandwait` | `System.Threading.WaitHandle::SignalAndWait(System.Threading.WaitHandle,System.Threading.WaitHandle)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::SignalAndWait(System.Threading.WaitHandle,System.Threading.WaitHandle)` | Controlled | +| `clockwork.waithandle.signalandwait.milliseconds.exitcontext` | `System.Threading.WaitHandle::SignalAndWait(System.Threading.WaitHandle,System.Threading.WaitHandle,System.Int32,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::SignalAndWait(System.Threading.WaitHandle,System.Threading.WaitHandle,System.Int32,System.Boolean)` | Controlled | +| `clockwork.waithandle.signalandwait.timespan.exitcontext` | `System.Threading.WaitHandle::SignalAndWait(System.Threading.WaitHandle,System.Threading.WaitHandle,System.TimeSpan,System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::SignalAndWait(System.Threading.WaitHandle,System.Threading.WaitHandle,System.TimeSpan,System.Boolean)` | Controlled | +| `clockwork.waithandle.dispose` | `System.Threading.WaitHandle::Dispose()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::Dispose(System.Threading.WaitHandle)` | Controlled | +| `clockwork.waithandle.close` | `System.Threading.WaitHandle::Close()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::Close(System.Threading.WaitHandle)` | Controlled | +| `clockwork.waithandle.get_handle` | `System.Threading.WaitHandle::get_Handle()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::GetHandle(System.Threading.WaitHandle)` | Rejected | +| `clockwork.waithandle.set_handle` | `System.Threading.WaitHandle::set_Handle(System.IntPtr)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::SetHandle(System.Threading.WaitHandle,System.IntPtr)` | Rejected | +| `clockwork.waithandle.get_safewaithandle` | `System.Threading.WaitHandle::get_SafeWaitHandle()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::GetSafeWaitHandle(System.Threading.WaitHandle)` | Rejected | +| `clockwork.waithandle.set_safewaithandle` | `System.Threading.WaitHandle::set_SafeWaitHandle(Microsoft.Win32.SafeHandles.SafeWaitHandle)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle::SetSafeWaitHandle(System.Threading.WaitHandle,Microsoft.Win32.SafeHandles.SafeWaitHandle)` | Rejected | +| `clockwork.eventwaithandle.set` | `System.Threading.EventWaitHandle::Set()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledEventWaitHandle::Set(System.Threading.EventWaitHandle)` | Controlled | +| `clockwork.eventwaithandle.reset` | `System.Threading.EventWaitHandle::Reset()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledEventWaitHandle::Reset(System.Threading.EventWaitHandle)` | Controlled | +| `clockwork.eventwaithandle.openexisting` | `System.Threading.EventWaitHandle::OpenExisting(System.String)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledEventWaitHandle::OpenExisting(System.String)` | Rejected | +| `clockwork.eventwaithandle.openexisting.options` | `System.Threading.EventWaitHandle::OpenExisting(System.String,System.Threading.NamedWaitHandleOptions)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledEventWaitHandle::OpenExisting(System.String,System.Threading.NamedWaitHandleOptions)` | Rejected | +| `clockwork.eventwaithandle.tryopenexisting` | `System.Threading.EventWaitHandle::TryOpenExisting(System.String,System.Threading.EventWaitHandle&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledEventWaitHandle::TryOpenExisting(System.String,System.Threading.EventWaitHandle&)` | Rejected | +| `clockwork.eventwaithandle.tryopenexisting.options` | `System.Threading.EventWaitHandle::TryOpenExisting(System.String,System.Threading.NamedWaitHandleOptions,System.Threading.EventWaitHandle&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledEventWaitHandle::TryOpenExisting(System.String,System.Threading.NamedWaitHandleOptions,System.Threading.EventWaitHandle&)` | Rejected | ## ReaderWriterLockSlim family @@ -1045,32 +1045,32 @@ Policy: **Controlled**. Every public .NET 11 `ReaderWriterLockSlim` constructor, | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.readerwriterlockslim.ctor` | `new System.Threading.ReaderWriterLockSlim()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::Create()` | Controlled | -| `clockwork.readerwriterlockslim.ctor.recursionpolicy` | `new System.Threading.ReaderWriterLockSlim(System.Threading.LockRecursionPolicy)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::Create(System.Threading.LockRecursionPolicy)` | Controlled | -| `clockwork.readerwriterlockslim.get_recursionpolicy` | `System.Threading.ReaderWriterLockSlim::get_RecursionPolicy()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::RecursionPolicy(System.Threading.ReaderWriterLockSlim)` | Controlled | -| `clockwork.readerwriterlockslim.get_currentreadcount` | `System.Threading.ReaderWriterLockSlim::get_CurrentReadCount()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::CurrentReadCount(System.Threading.ReaderWriterLockSlim)` | Controlled | -| `clockwork.readerwriterlockslim.get_isreadlockheld` | `System.Threading.ReaderWriterLockSlim::get_IsReadLockHeld()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::IsReadLockHeld(System.Threading.ReaderWriterLockSlim)` | Controlled | -| `clockwork.readerwriterlockslim.get_isupgradeablereadlockheld` | `System.Threading.ReaderWriterLockSlim::get_IsUpgradeableReadLockHeld()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::IsUpgradeableReadLockHeld(System.Threading.ReaderWriterLockSlim)` | Controlled | -| `clockwork.readerwriterlockslim.get_iswritelockheld` | `System.Threading.ReaderWriterLockSlim::get_IsWriteLockHeld()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::IsWriteLockHeld(System.Threading.ReaderWriterLockSlim)` | Controlled | -| `clockwork.readerwriterlockslim.get_recursivereadcount` | `System.Threading.ReaderWriterLockSlim::get_RecursiveReadCount()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::RecursiveReadCount(System.Threading.ReaderWriterLockSlim)` | Controlled | -| `clockwork.readerwriterlockslim.get_recursiveupgradecount` | `System.Threading.ReaderWriterLockSlim::get_RecursiveUpgradeCount()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::RecursiveUpgradeCount(System.Threading.ReaderWriterLockSlim)` | Controlled | -| `clockwork.readerwriterlockslim.get_recursivewritecount` | `System.Threading.ReaderWriterLockSlim::get_RecursiveWriteCount()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::RecursiveWriteCount(System.Threading.ReaderWriterLockSlim)` | Controlled | -| `clockwork.readerwriterlockslim.get_waitingreadcount` | `System.Threading.ReaderWriterLockSlim::get_WaitingReadCount()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::WaitingReadCount(System.Threading.ReaderWriterLockSlim)` | Controlled | -| `clockwork.readerwriterlockslim.get_waitingupgradecount` | `System.Threading.ReaderWriterLockSlim::get_WaitingUpgradeCount()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::WaitingUpgradeCount(System.Threading.ReaderWriterLockSlim)` | Controlled | -| `clockwork.readerwriterlockslim.get_waitingwritecount` | `System.Threading.ReaderWriterLockSlim::get_WaitingWriteCount()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::WaitingWriteCount(System.Threading.ReaderWriterLockSlim)` | Controlled | -| `clockwork.readerwriterlockslim.enterreadlock` | `System.Threading.ReaderWriterLockSlim::EnterReadLock()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::EnterReadLock(System.Threading.ReaderWriterLockSlim)` | Controlled | -| `clockwork.readerwriterlockslim.tryenterreadlock.milliseconds` | `System.Threading.ReaderWriterLockSlim::TryEnterReadLock(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::TryEnterReadLock(System.Threading.ReaderWriterLockSlim,System.Int32)` | Controlled | -| `clockwork.readerwriterlockslim.tryenterreadlock.timespan` | `System.Threading.ReaderWriterLockSlim::TryEnterReadLock(System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::TryEnterReadLock(System.Threading.ReaderWriterLockSlim,System.TimeSpan)` | Controlled | -| `clockwork.readerwriterlockslim.exitreadlock` | `System.Threading.ReaderWriterLockSlim::ExitReadLock()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::ExitReadLock(System.Threading.ReaderWriterLockSlim)` | Controlled | -| `clockwork.readerwriterlockslim.enterupgradeablereadlock` | `System.Threading.ReaderWriterLockSlim::EnterUpgradeableReadLock()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::EnterUpgradeableReadLock(System.Threading.ReaderWriterLockSlim)` | Controlled | -| `clockwork.readerwriterlockslim.tryenterupgradeablereadlock.milliseconds` | `System.Threading.ReaderWriterLockSlim::TryEnterUpgradeableReadLock(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::TryEnterUpgradeableReadLock(System.Threading.ReaderWriterLockSlim,System.Int32)` | Controlled | -| `clockwork.readerwriterlockslim.tryenterupgradeablereadlock.timespan` | `System.Threading.ReaderWriterLockSlim::TryEnterUpgradeableReadLock(System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::TryEnterUpgradeableReadLock(System.Threading.ReaderWriterLockSlim,System.TimeSpan)` | Controlled | -| `clockwork.readerwriterlockslim.exitupgradeablereadlock` | `System.Threading.ReaderWriterLockSlim::ExitUpgradeableReadLock()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::ExitUpgradeableReadLock(System.Threading.ReaderWriterLockSlim)` | Controlled | -| `clockwork.readerwriterlockslim.enterwritelock` | `System.Threading.ReaderWriterLockSlim::EnterWriteLock()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::EnterWriteLock(System.Threading.ReaderWriterLockSlim)` | Controlled | -| `clockwork.readerwriterlockslim.tryenterwritelock.milliseconds` | `System.Threading.ReaderWriterLockSlim::TryEnterWriteLock(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::TryEnterWriteLock(System.Threading.ReaderWriterLockSlim,System.Int32)` | Controlled | -| `clockwork.readerwriterlockslim.tryenterwritelock.timespan` | `System.Threading.ReaderWriterLockSlim::TryEnterWriteLock(System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::TryEnterWriteLock(System.Threading.ReaderWriterLockSlim,System.TimeSpan)` | Controlled | -| `clockwork.readerwriterlockslim.exitwritelock` | `System.Threading.ReaderWriterLockSlim::ExitWriteLock()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::ExitWriteLock(System.Threading.ReaderWriterLockSlim)` | Controlled | -| `clockwork.readerwriterlockslim.dispose` | `System.Threading.ReaderWriterLockSlim::Dispose()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim::Dispose(System.Threading.ReaderWriterLockSlim)` | Controlled | +| `clockwork.readerwriterlockslim.ctor` | `new System.Threading.ReaderWriterLockSlim()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::Create()` | Controlled | +| `clockwork.readerwriterlockslim.ctor.recursionpolicy` | `new System.Threading.ReaderWriterLockSlim(System.Threading.LockRecursionPolicy)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::Create(System.Threading.LockRecursionPolicy)` | Controlled | +| `clockwork.readerwriterlockslim.get_recursionpolicy` | `System.Threading.ReaderWriterLockSlim::get_RecursionPolicy()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::RecursionPolicy(System.Threading.ReaderWriterLockSlim)` | Controlled | +| `clockwork.readerwriterlockslim.get_currentreadcount` | `System.Threading.ReaderWriterLockSlim::get_CurrentReadCount()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::CurrentReadCount(System.Threading.ReaderWriterLockSlim)` | Controlled | +| `clockwork.readerwriterlockslim.get_isreadlockheld` | `System.Threading.ReaderWriterLockSlim::get_IsReadLockHeld()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::IsReadLockHeld(System.Threading.ReaderWriterLockSlim)` | Controlled | +| `clockwork.readerwriterlockslim.get_isupgradeablereadlockheld` | `System.Threading.ReaderWriterLockSlim::get_IsUpgradeableReadLockHeld()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::IsUpgradeableReadLockHeld(System.Threading.ReaderWriterLockSlim)` | Controlled | +| `clockwork.readerwriterlockslim.get_iswritelockheld` | `System.Threading.ReaderWriterLockSlim::get_IsWriteLockHeld()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::IsWriteLockHeld(System.Threading.ReaderWriterLockSlim)` | Controlled | +| `clockwork.readerwriterlockslim.get_recursivereadcount` | `System.Threading.ReaderWriterLockSlim::get_RecursiveReadCount()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::RecursiveReadCount(System.Threading.ReaderWriterLockSlim)` | Controlled | +| `clockwork.readerwriterlockslim.get_recursiveupgradecount` | `System.Threading.ReaderWriterLockSlim::get_RecursiveUpgradeCount()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::RecursiveUpgradeCount(System.Threading.ReaderWriterLockSlim)` | Controlled | +| `clockwork.readerwriterlockslim.get_recursivewritecount` | `System.Threading.ReaderWriterLockSlim::get_RecursiveWriteCount()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::RecursiveWriteCount(System.Threading.ReaderWriterLockSlim)` | Controlled | +| `clockwork.readerwriterlockslim.get_waitingreadcount` | `System.Threading.ReaderWriterLockSlim::get_WaitingReadCount()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::WaitingReadCount(System.Threading.ReaderWriterLockSlim)` | Controlled | +| `clockwork.readerwriterlockslim.get_waitingupgradecount` | `System.Threading.ReaderWriterLockSlim::get_WaitingUpgradeCount()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::WaitingUpgradeCount(System.Threading.ReaderWriterLockSlim)` | Controlled | +| `clockwork.readerwriterlockslim.get_waitingwritecount` | `System.Threading.ReaderWriterLockSlim::get_WaitingWriteCount()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::WaitingWriteCount(System.Threading.ReaderWriterLockSlim)` | Controlled | +| `clockwork.readerwriterlockslim.enterreadlock` | `System.Threading.ReaderWriterLockSlim::EnterReadLock()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::EnterReadLock(System.Threading.ReaderWriterLockSlim)` | Controlled | +| `clockwork.readerwriterlockslim.tryenterreadlock.milliseconds` | `System.Threading.ReaderWriterLockSlim::TryEnterReadLock(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::TryEnterReadLock(System.Threading.ReaderWriterLockSlim,System.Int32)` | Controlled | +| `clockwork.readerwriterlockslim.tryenterreadlock.timespan` | `System.Threading.ReaderWriterLockSlim::TryEnterReadLock(System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::TryEnterReadLock(System.Threading.ReaderWriterLockSlim,System.TimeSpan)` | Controlled | +| `clockwork.readerwriterlockslim.exitreadlock` | `System.Threading.ReaderWriterLockSlim::ExitReadLock()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::ExitReadLock(System.Threading.ReaderWriterLockSlim)` | Controlled | +| `clockwork.readerwriterlockslim.enterupgradeablereadlock` | `System.Threading.ReaderWriterLockSlim::EnterUpgradeableReadLock()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::EnterUpgradeableReadLock(System.Threading.ReaderWriterLockSlim)` | Controlled | +| `clockwork.readerwriterlockslim.tryenterupgradeablereadlock.milliseconds` | `System.Threading.ReaderWriterLockSlim::TryEnterUpgradeableReadLock(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::TryEnterUpgradeableReadLock(System.Threading.ReaderWriterLockSlim,System.Int32)` | Controlled | +| `clockwork.readerwriterlockslim.tryenterupgradeablereadlock.timespan` | `System.Threading.ReaderWriterLockSlim::TryEnterUpgradeableReadLock(System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::TryEnterUpgradeableReadLock(System.Threading.ReaderWriterLockSlim,System.TimeSpan)` | Controlled | +| `clockwork.readerwriterlockslim.exitupgradeablereadlock` | `System.Threading.ReaderWriterLockSlim::ExitUpgradeableReadLock()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::ExitUpgradeableReadLock(System.Threading.ReaderWriterLockSlim)` | Controlled | +| `clockwork.readerwriterlockslim.enterwritelock` | `System.Threading.ReaderWriterLockSlim::EnterWriteLock()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::EnterWriteLock(System.Threading.ReaderWriterLockSlim)` | Controlled | +| `clockwork.readerwriterlockslim.tryenterwritelock.milliseconds` | `System.Threading.ReaderWriterLockSlim::TryEnterWriteLock(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::TryEnterWriteLock(System.Threading.ReaderWriterLockSlim,System.Int32)` | Controlled | +| `clockwork.readerwriterlockslim.tryenterwritelock.timespan` | `System.Threading.ReaderWriterLockSlim::TryEnterWriteLock(System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::TryEnterWriteLock(System.Threading.ReaderWriterLockSlim,System.TimeSpan)` | Controlled | +| `clockwork.readerwriterlockslim.exitwritelock` | `System.Threading.ReaderWriterLockSlim::ExitWriteLock()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::ExitWriteLock(System.Threading.ReaderWriterLockSlim)` | Controlled | +| `clockwork.readerwriterlockslim.dispose` | `System.Threading.ReaderWriterLockSlim::Dispose()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim::Dispose(System.Threading.ReaderWriterLockSlim)` | Controlled | ## ManualResetEventSlim family @@ -1078,21 +1078,21 @@ Policy: **Controlled**. Every public .NET 11 `ManualResetEventSlim` constructor, | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.manualreseteventslim.ctor` | `new System.Threading.ManualResetEventSlim()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledManualResetEventSlim::Create()` | Controlled | -| `clockwork.manualreseteventslim.ctor.initialstate` | `new System.Threading.ManualResetEventSlim(System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledManualResetEventSlim::Create(System.Boolean)` | Controlled | -| `clockwork.manualreseteventslim.ctor.initialstate.spincount` | `new System.Threading.ManualResetEventSlim(System.Boolean,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledManualResetEventSlim::Create(System.Boolean,System.Int32)` | Controlled | -| `clockwork.manualreseteventslim.get_isset` | `System.Threading.ManualResetEventSlim::get_IsSet()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledManualResetEventSlim::IsSet(System.Threading.ManualResetEventSlim)` | Controlled | -| `clockwork.manualreseteventslim.get_spincount` | `System.Threading.ManualResetEventSlim::get_SpinCount()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledManualResetEventSlim::SpinCount(System.Threading.ManualResetEventSlim)` | Controlled | -| `clockwork.manualreseteventslim.get_waithandle` | `System.Threading.ManualResetEventSlim::get_WaitHandle()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledManualResetEventSlim::WaitHandle(System.Threading.ManualResetEventSlim)` | Controlled | -| `clockwork.manualreseteventslim.set` | `System.Threading.ManualResetEventSlim::Set()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledManualResetEventSlim::Set(System.Threading.ManualResetEventSlim)` | Controlled | -| `clockwork.manualreseteventslim.reset` | `System.Threading.ManualResetEventSlim::Reset()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledManualResetEventSlim::Reset(System.Threading.ManualResetEventSlim)` | Controlled | -| `clockwork.manualreseteventslim.wait` | `System.Threading.ManualResetEventSlim::Wait()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledManualResetEventSlim::Wait(System.Threading.ManualResetEventSlim)` | Controlled | -| `clockwork.manualreseteventslim.wait.cancellationtoken` | `System.Threading.ManualResetEventSlim::Wait(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledManualResetEventSlim::Wait(System.Threading.ManualResetEventSlim,System.Threading.CancellationToken)` | Controlled | -| `clockwork.manualreseteventslim.wait.milliseconds` | `System.Threading.ManualResetEventSlim::Wait(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledManualResetEventSlim::Wait(System.Threading.ManualResetEventSlim,System.Int32)` | Controlled | -| `clockwork.manualreseteventslim.wait.milliseconds.cancellationtoken` | `System.Threading.ManualResetEventSlim::Wait(System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledManualResetEventSlim::Wait(System.Threading.ManualResetEventSlim,System.Int32,System.Threading.CancellationToken)` | Controlled | -| `clockwork.manualreseteventslim.wait.timespan` | `System.Threading.ManualResetEventSlim::Wait(System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledManualResetEventSlim::Wait(System.Threading.ManualResetEventSlim,System.TimeSpan)` | Controlled | -| `clockwork.manualreseteventslim.wait.timespan.cancellationtoken` | `System.Threading.ManualResetEventSlim::Wait(System.TimeSpan,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledManualResetEventSlim::Wait(System.Threading.ManualResetEventSlim,System.TimeSpan,System.Threading.CancellationToken)` | Controlled | -| `clockwork.manualreseteventslim.dispose` | `System.Threading.ManualResetEventSlim::Dispose()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledManualResetEventSlim::Dispose(System.Threading.ManualResetEventSlim)` | Controlled | +| `clockwork.manualreseteventslim.ctor` | `new System.Threading.ManualResetEventSlim()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledManualResetEventSlim::Create()` | Controlled | +| `clockwork.manualreseteventslim.ctor.initialstate` | `new System.Threading.ManualResetEventSlim(System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledManualResetEventSlim::Create(System.Boolean)` | Controlled | +| `clockwork.manualreseteventslim.ctor.initialstate.spincount` | `new System.Threading.ManualResetEventSlim(System.Boolean,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledManualResetEventSlim::Create(System.Boolean,System.Int32)` | Controlled | +| `clockwork.manualreseteventslim.get_isset` | `System.Threading.ManualResetEventSlim::get_IsSet()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledManualResetEventSlim::IsSet(System.Threading.ManualResetEventSlim)` | Controlled | +| `clockwork.manualreseteventslim.get_spincount` | `System.Threading.ManualResetEventSlim::get_SpinCount()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledManualResetEventSlim::SpinCount(System.Threading.ManualResetEventSlim)` | Controlled | +| `clockwork.manualreseteventslim.get_waithandle` | `System.Threading.ManualResetEventSlim::get_WaitHandle()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledManualResetEventSlim::WaitHandle(System.Threading.ManualResetEventSlim)` | Controlled | +| `clockwork.manualreseteventslim.set` | `System.Threading.ManualResetEventSlim::Set()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledManualResetEventSlim::Set(System.Threading.ManualResetEventSlim)` | Controlled | +| `clockwork.manualreseteventslim.reset` | `System.Threading.ManualResetEventSlim::Reset()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledManualResetEventSlim::Reset(System.Threading.ManualResetEventSlim)` | Controlled | +| `clockwork.manualreseteventslim.wait` | `System.Threading.ManualResetEventSlim::Wait()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledManualResetEventSlim::Wait(System.Threading.ManualResetEventSlim)` | Controlled | +| `clockwork.manualreseteventslim.wait.cancellationtoken` | `System.Threading.ManualResetEventSlim::Wait(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledManualResetEventSlim::Wait(System.Threading.ManualResetEventSlim,System.Threading.CancellationToken)` | Controlled | +| `clockwork.manualreseteventslim.wait.milliseconds` | `System.Threading.ManualResetEventSlim::Wait(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledManualResetEventSlim::Wait(System.Threading.ManualResetEventSlim,System.Int32)` | Controlled | +| `clockwork.manualreseteventslim.wait.milliseconds.cancellationtoken` | `System.Threading.ManualResetEventSlim::Wait(System.Int32,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledManualResetEventSlim::Wait(System.Threading.ManualResetEventSlim,System.Int32,System.Threading.CancellationToken)` | Controlled | +| `clockwork.manualreseteventslim.wait.timespan` | `System.Threading.ManualResetEventSlim::Wait(System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledManualResetEventSlim::Wait(System.Threading.ManualResetEventSlim,System.TimeSpan)` | Controlled | +| `clockwork.manualreseteventslim.wait.timespan.cancellationtoken` | `System.Threading.ManualResetEventSlim::Wait(System.TimeSpan,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledManualResetEventSlim::Wait(System.Threading.ManualResetEventSlim,System.TimeSpan,System.Threading.CancellationToken)` | Controlled | +| `clockwork.manualreseteventslim.dispose` | `System.Threading.ManualResetEventSlim::Dispose()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledManualResetEventSlim::Dispose(System.Threading.ManualResetEventSlim)` | Controlled | ## Mutex family @@ -1100,18 +1100,18 @@ Policy: **Controlled**. Unnamed `Mutex` construction and `ReleaseMutex` are cont | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.mutex.ctor` | `new System.Threading.Mutex()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMutex::Create()` | Controlled | -| `clockwork.mutex.ctor.initiallyowned` | `new System.Threading.Mutex(System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMutex::Create(System.Boolean)` | Controlled | -| `clockwork.mutex.release` | `System.Threading.Mutex::ReleaseMutex()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMutex::ReleaseMutex(System.Threading.Mutex)` | Controlled | -| `clockwork.mutex.ctor.named` | `new System.Threading.Mutex(System.Boolean,System.String)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMutex::CreateNamed(System.Boolean,System.String)` | Rejected | -| `clockwork.mutex.ctor.named.creatednew` | `new System.Threading.Mutex(System.Boolean,System.String,System.Boolean&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMutex::CreateNamed(System.Boolean,System.String,System.Boolean&)` | Rejected | -| `clockwork.mutex.ctor.named.options` | `new System.Threading.Mutex(System.Boolean,System.String,System.Threading.NamedWaitHandleOptions)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMutex::CreateNamed(System.Boolean,System.String,System.Threading.NamedWaitHandleOptions)` | Rejected | -| `clockwork.mutex.ctor.named.options.creatednew` | `new System.Threading.Mutex(System.Boolean,System.String,System.Threading.NamedWaitHandleOptions,System.Boolean&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMutex::CreateNamed(System.Boolean,System.String,System.Threading.NamedWaitHandleOptions,System.Boolean&)` | Rejected | -| `clockwork.mutex.ctor.name.options` | `new System.Threading.Mutex(System.String,System.Threading.NamedWaitHandleOptions)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMutex::CreateNamed(System.String,System.Threading.NamedWaitHandleOptions)` | Rejected | -| `clockwork.mutex.openexisting` | `System.Threading.Mutex::OpenExisting(System.String)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMutex::OpenExisting(System.String)` | Rejected | -| `clockwork.mutex.openexisting.options` | `System.Threading.Mutex::OpenExisting(System.String,System.Threading.NamedWaitHandleOptions)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMutex::OpenExisting(System.String,System.Threading.NamedWaitHandleOptions)` | Rejected | -| `clockwork.mutex.tryopenexisting` | `System.Threading.Mutex::TryOpenExisting(System.String,System.Threading.Mutex&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMutex::TryOpenExisting(System.String,System.Threading.Mutex&)` | Rejected | -| `clockwork.mutex.tryopenexisting.options` | `System.Threading.Mutex::TryOpenExisting(System.String,System.Threading.NamedWaitHandleOptions,System.Threading.Mutex&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledMutex::TryOpenExisting(System.String,System.Threading.NamedWaitHandleOptions,System.Threading.Mutex&)` | Rejected | +| `clockwork.mutex.ctor` | `new System.Threading.Mutex()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMutex::Create()` | Controlled | +| `clockwork.mutex.ctor.initiallyowned` | `new System.Threading.Mutex(System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMutex::Create(System.Boolean)` | Controlled | +| `clockwork.mutex.release` | `System.Threading.Mutex::ReleaseMutex()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMutex::ReleaseMutex(System.Threading.Mutex)` | Controlled | +| `clockwork.mutex.ctor.named` | `new System.Threading.Mutex(System.Boolean,System.String)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMutex::CreateNamed(System.Boolean,System.String)` | Rejected | +| `clockwork.mutex.ctor.named.creatednew` | `new System.Threading.Mutex(System.Boolean,System.String,System.Boolean&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMutex::CreateNamed(System.Boolean,System.String,System.Boolean&)` | Rejected | +| `clockwork.mutex.ctor.named.options` | `new System.Threading.Mutex(System.Boolean,System.String,System.Threading.NamedWaitHandleOptions)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMutex::CreateNamed(System.Boolean,System.String,System.Threading.NamedWaitHandleOptions)` | Rejected | +| `clockwork.mutex.ctor.named.options.creatednew` | `new System.Threading.Mutex(System.Boolean,System.String,System.Threading.NamedWaitHandleOptions,System.Boolean&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMutex::CreateNamed(System.Boolean,System.String,System.Threading.NamedWaitHandleOptions,System.Boolean&)` | Rejected | +| `clockwork.mutex.ctor.name.options` | `new System.Threading.Mutex(System.String,System.Threading.NamedWaitHandleOptions)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMutex::CreateNamed(System.String,System.Threading.NamedWaitHandleOptions)` | Rejected | +| `clockwork.mutex.openexisting` | `System.Threading.Mutex::OpenExisting(System.String)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMutex::OpenExisting(System.String)` | Rejected | +| `clockwork.mutex.openexisting.options` | `System.Threading.Mutex::OpenExisting(System.String,System.Threading.NamedWaitHandleOptions)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMutex::OpenExisting(System.String,System.Threading.NamedWaitHandleOptions)` | Rejected | +| `clockwork.mutex.tryopenexisting` | `System.Threading.Mutex::TryOpenExisting(System.String,System.Threading.Mutex&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMutex::TryOpenExisting(System.String,System.Threading.Mutex&)` | Rejected | +| `clockwork.mutex.tryopenexisting.options` | `System.Threading.Mutex::TryOpenExisting(System.String,System.Threading.NamedWaitHandleOptions,System.Threading.Mutex&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledMutex::TryOpenExisting(System.String,System.Threading.NamedWaitHandleOptions,System.Threading.Mutex&)` | Rejected | ## KernelSemaphore family @@ -1119,17 +1119,17 @@ Policy: **Controlled**. The unnamed kernel `Semaphore` constructor and both `Rel | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.semaphore.ctor` | `new System.Threading.Semaphore(System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphore::Create(System.Int32,System.Int32)` | Controlled | -| `clockwork.semaphore.release` | `System.Threading.Semaphore::Release()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphore::Release(System.Threading.Semaphore)` | Controlled | -| `clockwork.semaphore.release.count` | `System.Threading.Semaphore::Release(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphore::Release(System.Threading.Semaphore,System.Int32)` | Controlled | -| `clockwork.semaphore.ctor.named` | `new System.Threading.Semaphore(System.Int32,System.Int32,System.String)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphore::CreateNamed(System.Int32,System.Int32,System.String)` | Rejected | -| `clockwork.semaphore.ctor.named.creatednew` | `new System.Threading.Semaphore(System.Int32,System.Int32,System.String,System.Boolean&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphore::CreateNamed(System.Int32,System.Int32,System.String,System.Boolean&)` | Rejected | -| `clockwork.semaphore.ctor.named.options` | `new System.Threading.Semaphore(System.Int32,System.Int32,System.String,System.Threading.NamedWaitHandleOptions)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphore::CreateNamed(System.Int32,System.Int32,System.String,System.Threading.NamedWaitHandleOptions)` | Rejected | -| `clockwork.semaphore.ctor.named.options.creatednew` | `new System.Threading.Semaphore(System.Int32,System.Int32,System.String,System.Threading.NamedWaitHandleOptions,System.Boolean&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphore::CreateNamed(System.Int32,System.Int32,System.String,System.Threading.NamedWaitHandleOptions,System.Boolean&)` | Rejected | -| `clockwork.semaphore.openexisting` | `System.Threading.Semaphore::OpenExisting(System.String)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphore::OpenExisting(System.String)` | Rejected | -| `clockwork.semaphore.openexisting.options` | `System.Threading.Semaphore::OpenExisting(System.String,System.Threading.NamedWaitHandleOptions)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphore::OpenExisting(System.String,System.Threading.NamedWaitHandleOptions)` | Rejected | -| `clockwork.semaphore.tryopenexisting` | `System.Threading.Semaphore::TryOpenExisting(System.String,System.Threading.Semaphore&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphore::TryOpenExisting(System.String,System.Threading.Semaphore&)` | Rejected | -| `clockwork.semaphore.tryopenexisting.options` | `System.Threading.Semaphore::TryOpenExisting(System.String,System.Threading.NamedWaitHandleOptions,System.Threading.Semaphore&)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSemaphore::TryOpenExisting(System.String,System.Threading.NamedWaitHandleOptions,System.Threading.Semaphore&)` | Rejected | +| `clockwork.semaphore.ctor` | `new System.Threading.Semaphore(System.Int32,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphore::Create(System.Int32,System.Int32)` | Controlled | +| `clockwork.semaphore.release` | `System.Threading.Semaphore::Release()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphore::Release(System.Threading.Semaphore)` | Controlled | +| `clockwork.semaphore.release.count` | `System.Threading.Semaphore::Release(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphore::Release(System.Threading.Semaphore,System.Int32)` | Controlled | +| `clockwork.semaphore.ctor.named` | `new System.Threading.Semaphore(System.Int32,System.Int32,System.String)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphore::CreateNamed(System.Int32,System.Int32,System.String)` | Rejected | +| `clockwork.semaphore.ctor.named.creatednew` | `new System.Threading.Semaphore(System.Int32,System.Int32,System.String,System.Boolean&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphore::CreateNamed(System.Int32,System.Int32,System.String,System.Boolean&)` | Rejected | +| `clockwork.semaphore.ctor.named.options` | `new System.Threading.Semaphore(System.Int32,System.Int32,System.String,System.Threading.NamedWaitHandleOptions)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphore::CreateNamed(System.Int32,System.Int32,System.String,System.Threading.NamedWaitHandleOptions)` | Rejected | +| `clockwork.semaphore.ctor.named.options.creatednew` | `new System.Threading.Semaphore(System.Int32,System.Int32,System.String,System.Threading.NamedWaitHandleOptions,System.Boolean&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphore::CreateNamed(System.Int32,System.Int32,System.String,System.Threading.NamedWaitHandleOptions,System.Boolean&)` | Rejected | +| `clockwork.semaphore.openexisting` | `System.Threading.Semaphore::OpenExisting(System.String)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphore::OpenExisting(System.String)` | Rejected | +| `clockwork.semaphore.openexisting.options` | `System.Threading.Semaphore::OpenExisting(System.String,System.Threading.NamedWaitHandleOptions)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphore::OpenExisting(System.String,System.Threading.NamedWaitHandleOptions)` | Rejected | +| `clockwork.semaphore.tryopenexisting` | `System.Threading.Semaphore::TryOpenExisting(System.String,System.Threading.Semaphore&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphore::TryOpenExisting(System.String,System.Threading.Semaphore&)` | Rejected | +| `clockwork.semaphore.tryopenexisting.options` | `System.Threading.Semaphore::TryOpenExisting(System.String,System.Threading.NamedWaitHandleOptions,System.Threading.Semaphore&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphore::TryOpenExisting(System.String,System.Threading.NamedWaitHandleOptions,System.Threading.Semaphore&)` | Rejected | ## SpinLock family @@ -1137,7 +1137,7 @@ Policy: **Controlled**. `SpinLock` is wholly substituted with `ControlledSpinLoc | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.spinlock.type` | `System.Threading.SpinLock` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSpinLock` | Controlled | +| `clockwork.spinlock.type` | `System.Threading.SpinLock` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSpinLock` | Controlled | ## ExecutionContext family @@ -1145,15 +1145,15 @@ Policy: **Controlled**. `ExecutionContext` capture, run, flow-control, copy, and | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.executioncontext.capture` | `System.Threading.ExecutionContext::Capture()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledExecutionContext::Capture()` | Controlled | -| `clockwork.executioncontext.run` | `System.Threading.ExecutionContext::Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledExecutionContext::Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object)` | Controlled | -| `clockwork.executioncontext.suppressflow` | `System.Threading.ExecutionContext::SuppressFlow()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledExecutionContext::SuppressFlow()` | Controlled | -| `clockwork.executioncontext.restoreflow` | `System.Threading.ExecutionContext::RestoreFlow()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledExecutionContext::RestoreFlow()` | Controlled | -| `clockwork.executioncontext.isflowsuppressed` | `System.Threading.ExecutionContext::IsFlowSuppressed()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledExecutionContext::IsFlowSuppressed()` | Controlled | -| `clockwork.executioncontext.restore` | `System.Threading.ExecutionContext::Restore(System.Threading.ExecutionContext)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledExecutionContext::Restore(System.Threading.ExecutionContext)` | Controlled | -| `clockwork.executioncontext.createcopy` | `System.Threading.ExecutionContext::CreateCopy()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledExecutionContext::CreateCopy(System.Threading.ExecutionContext)` | Controlled | -| `clockwork.executioncontext.dispose` | `System.Threading.ExecutionContext::Dispose()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledExecutionContext::Dispose(System.Threading.ExecutionContext)` | Controlled | -| `clockwork.executioncontext.getobjectdata` | `System.Threading.ExecutionContext::GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledExecutionContext::GetObjectData(System.Threading.ExecutionContext,System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)` | Rejected | +| `clockwork.executioncontext.capture` | `System.Threading.ExecutionContext::Capture()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledExecutionContext::Capture()` | Controlled | +| `clockwork.executioncontext.run` | `System.Threading.ExecutionContext::Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledExecutionContext::Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object)` | Controlled | +| `clockwork.executioncontext.suppressflow` | `System.Threading.ExecutionContext::SuppressFlow()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledExecutionContext::SuppressFlow()` | Controlled | +| `clockwork.executioncontext.restoreflow` | `System.Threading.ExecutionContext::RestoreFlow()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledExecutionContext::RestoreFlow()` | Controlled | +| `clockwork.executioncontext.isflowsuppressed` | `System.Threading.ExecutionContext::IsFlowSuppressed()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledExecutionContext::IsFlowSuppressed()` | Controlled | +| `clockwork.executioncontext.restore` | `System.Threading.ExecutionContext::Restore(System.Threading.ExecutionContext)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledExecutionContext::Restore(System.Threading.ExecutionContext)` | Controlled | +| `clockwork.executioncontext.createcopy` | `System.Threading.ExecutionContext::CreateCopy()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledExecutionContext::CreateCopy(System.Threading.ExecutionContext)` | Controlled | +| `clockwork.executioncontext.dispose` | `System.Threading.ExecutionContext::Dispose()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledExecutionContext::Dispose(System.Threading.ExecutionContext)` | Controlled | +| `clockwork.executioncontext.getobjectdata` | `System.Threading.ExecutionContext::GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledExecutionContext::GetObjectData(System.Threading.ExecutionContext,System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)` | Rejected | ## SynchronizationContext family @@ -1161,15 +1161,15 @@ Policy: **Controlled**. `SynchronizationContext` ambient-context and callback-di | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.synchronizationcontext.get_current` | `System.Threading.SynchronizationContext::get_Current()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSynchronizationContext::Current()` | Controlled | -| `clockwork.synchronizationcontext.set_current` | `System.Threading.SynchronizationContext::SetSynchronizationContext(System.Threading.SynchronizationContext)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSynchronizationContext::SetSynchronizationContext(System.Threading.SynchronizationContext)` | Controlled | -| `clockwork.synchronizationcontext.createcopy` | `System.Threading.SynchronizationContext::CreateCopy()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSynchronizationContext::CreateCopy(System.Threading.SynchronizationContext)` | Controlled | -| `clockwork.synchronizationcontext.iswaitnotificationrequired` | `System.Threading.SynchronizationContext::IsWaitNotificationRequired()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSynchronizationContext::IsWaitNotificationRequired(System.Threading.SynchronizationContext)` | Controlled | -| `clockwork.synchronizationcontext.operationstarted` | `System.Threading.SynchronizationContext::OperationStarted()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSynchronizationContext::OperationStarted(System.Threading.SynchronizationContext)` | Controlled | -| `clockwork.synchronizationcontext.operationcompleted` | `System.Threading.SynchronizationContext::OperationCompleted()` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSynchronizationContext::OperationCompleted(System.Threading.SynchronizationContext)` | Controlled | -| `clockwork.synchronizationcontext.post` | `System.Threading.SynchronizationContext::Post(System.Threading.SendOrPostCallback,System.Object)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSynchronizationContext::Post(System.Threading.SynchronizationContext,System.Threading.SendOrPostCallback,System.Object)` | Controlled | -| `clockwork.synchronizationcontext.send` | `System.Threading.SynchronizationContext::Send(System.Threading.SendOrPostCallback,System.Object)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSynchronizationContext::Send(System.Threading.SynchronizationContext,System.Threading.SendOrPostCallback,System.Object)` | Controlled | -| `clockwork.synchronizationcontext.wait` | `System.Threading.SynchronizationContext::Wait(System.IntPtr[],System.Boolean,System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledSynchronizationContext::Wait(System.Threading.SynchronizationContext,System.IntPtr[],System.Boolean,System.Int32)` | Rejected | +| `clockwork.synchronizationcontext.get_current` | `System.Threading.SynchronizationContext::get_Current()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSynchronizationContext::Current()` | Controlled | +| `clockwork.synchronizationcontext.set_current` | `System.Threading.SynchronizationContext::SetSynchronizationContext(System.Threading.SynchronizationContext)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSynchronizationContext::SetSynchronizationContext(System.Threading.SynchronizationContext)` | Controlled | +| `clockwork.synchronizationcontext.createcopy` | `System.Threading.SynchronizationContext::CreateCopy()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSynchronizationContext::CreateCopy(System.Threading.SynchronizationContext)` | Controlled | +| `clockwork.synchronizationcontext.iswaitnotificationrequired` | `System.Threading.SynchronizationContext::IsWaitNotificationRequired()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSynchronizationContext::IsWaitNotificationRequired(System.Threading.SynchronizationContext)` | Controlled | +| `clockwork.synchronizationcontext.operationstarted` | `System.Threading.SynchronizationContext::OperationStarted()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSynchronizationContext::OperationStarted(System.Threading.SynchronizationContext)` | Controlled | +| `clockwork.synchronizationcontext.operationcompleted` | `System.Threading.SynchronizationContext::OperationCompleted()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSynchronizationContext::OperationCompleted(System.Threading.SynchronizationContext)` | Controlled | +| `clockwork.synchronizationcontext.post` | `System.Threading.SynchronizationContext::Post(System.Threading.SendOrPostCallback,System.Object)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSynchronizationContext::Post(System.Threading.SynchronizationContext,System.Threading.SendOrPostCallback,System.Object)` | Controlled | +| `clockwork.synchronizationcontext.send` | `System.Threading.SynchronizationContext::Send(System.Threading.SendOrPostCallback,System.Object)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSynchronizationContext::Send(System.Threading.SynchronizationContext,System.Threading.SendOrPostCallback,System.Object)` | Controlled | +| `clockwork.synchronizationcontext.wait` | `System.Threading.SynchronizationContext::Wait(System.IntPtr[],System.Boolean,System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledSynchronizationContext::Wait(System.Threading.SynchronizationContext,System.IntPtr[],System.Boolean,System.Int32)` | Rejected | ## Barrier family @@ -1177,7 +1177,7 @@ Policy: **Controlled**. `Barrier` is wholly substituted with `ControlledBarrier` | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.barrier.type` | `System.Threading.Barrier` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledBarrier` | Controlled | +| `clockwork.barrier.type` | `System.Threading.Barrier` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledBarrier` | Controlled | ## CountdownEvent family @@ -1185,7 +1185,7 @@ Policy: **Controlled**. `CountdownEvent` is wholly substituted with `ControlledC | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.countdownevent.type` | `System.Threading.CountdownEvent` | `Orleans.Testing.Simulation!Clockwork.Shims.System.Threading.ControlledCountdownEvent` | Controlled | +| `clockwork.countdownevent.type` | `System.Threading.CountdownEvent` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Shims.System.Threading.ControlledCountdownEvent` | Controlled | ## UncontrolledInvocation family @@ -1193,71 +1193,71 @@ Policy: **Rejected**. Process control and abrupt-termination APIs (`Process.Star | Rule id | BCL target | Shim | Policy | | --- | --- | --- | --- | -| `clockwork.process.start.filename` | `System.Diagnostics.Process::Start(System.String)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.start.startinfo` | `System.Diagnostics.Process::Start(System.Diagnostics.ProcessStartInfo)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.start.filename.arguments` | `System.Diagnostics.Process::Start(System.String,System.String)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.start.filename.argumentlist` | `` System.Diagnostics.Process::Start(System.String,System.Collections.Generic.IEnumerable`1) `` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.start.filename.credentials` | `System.Diagnostics.Process::Start(System.String,System.String,System.Security.SecureString,System.String)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.start.filename.arguments.credentials` | `System.Diagnostics.Process::Start(System.String,System.String,System.String,System.Security.SecureString,System.String)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.start.instance` | `System.Diagnostics.Process::Start()` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.kill` | `System.Diagnostics.Process::Kill()` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.kill.tree` | `System.Diagnostics.Process::Kill(System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.waitforexit` | `System.Diagnostics.Process::WaitForExit()` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.waitforexit.milliseconds` | `System.Diagnostics.Process::WaitForExit(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.waitforexit.timespan` | `System.Diagnostics.Process::WaitForExit(System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.waitforexitasync` | `System.Diagnostics.Process::WaitForExitAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.run.startinfo` | `` System.Diagnostics.Process::Run(System.Diagnostics.ProcessStartInfo,System.Nullable`1) `` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.run.filename` | `` System.Diagnostics.Process::Run(System.String,System.Collections.Generic.IEnumerable`1,System.Boolean,System.Nullable`1) `` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.runasync.startinfo` | `System.Diagnostics.Process::RunAsync(System.Diagnostics.ProcessStartInfo,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.runasync.filename` | `` System.Diagnostics.Process::RunAsync(System.String,System.Collections.Generic.IEnumerable`1,System.Boolean,System.Threading.CancellationToken) `` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.runandcapturetext.startinfo` | `` System.Diagnostics.Process::RunAndCaptureText(System.Diagnostics.ProcessStartInfo,System.Nullable`1) `` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.runandcapturetext.filename` | `` System.Diagnostics.Process::RunAndCaptureText(System.String,System.Collections.Generic.IEnumerable`1,System.Nullable`1) `` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.runandcapturetextasync.startinfo` | `System.Diagnostics.Process::RunAndCaptureTextAsync(System.Diagnostics.ProcessStartInfo,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.runandcapturetextasync.filename` | `` System.Diagnostics.Process::RunAndCaptureTextAsync(System.String,System.Collections.Generic.IEnumerable`1,System.Threading.CancellationToken) `` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.startandforget.startinfo` | `System.Diagnostics.Process::StartAndForget(System.Diagnostics.ProcessStartInfo)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.startandforget.filename` | `` System.Diagnostics.Process::StartAndForget(System.String,System.Collections.Generic.IEnumerable`1) `` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.signal` | `System.Diagnostics.Process::Signal(System.Runtime.InteropServices.PosixSignal)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.waitforexitstatus` | `System.Diagnostics.Process::WaitForExitStatus()` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.trywaitforexitstatus` | `System.Diagnostics.Process::TryWaitForExitStatus(System.TimeSpan,System.Diagnostics.ProcessExitStatus&)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.waitforexitstatusasync` | `System.Diagnostics.Process::WaitForExitStatusAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.readallbytes` | `` System.Diagnostics.Process::ReadAllBytes(System.Nullable`1) `` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.readallbytesasync` | `System.Diagnostics.Process::ReadAllBytesAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.readalltext` | `` System.Diagnostics.Process::ReadAllText(System.Nullable`1) `` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.readalltextasync` | `System.Diagnostics.Process::ReadAllTextAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.readalllines` | `` System.Diagnostics.Process::ReadAllLines(System.Nullable`1) `` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.readalllinesasync` | `System.Diagnostics.Process::ReadAllLinesAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.waitforinputidle` | `System.Diagnostics.Process::WaitForInputIdle()` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.waitforinputidle.milliseconds` | `System.Diagnostics.Process::WaitForInputIdle(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.waitforinputidle.timespan` | `System.Diagnostics.Process::WaitForInputIdle(System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.get_responding` | `System.Diagnostics.Process::get_Responding()` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.closemainwindow` | `System.Diagnostics.Process::CloseMainWindow()` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.set_enableraisingevents` | `System.Diagnostics.Process::set_EnableRaisingEvents(System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.beginoutputreadline` | `System.Diagnostics.Process::BeginOutputReadLine()` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.beginerrorreadline` | `System.Diagnostics.Process::BeginErrorReadLine()` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.set_priorityclass` | `System.Diagnostics.Process::set_PriorityClass(System.Diagnostics.ProcessPriorityClass)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.set_priorityboostenabled` | `System.Diagnostics.Process::set_PriorityBoostEnabled(System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.set_processoraffinity` | `System.Diagnostics.Process::set_ProcessorAffinity(System.IntPtr)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.set_maxworkingset` | `System.Diagnostics.Process::set_MaxWorkingSet(System.IntPtr)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.process.set_minworkingset` | `System.Diagnostics.Process::set_MinWorkingSet(System.IntPtr)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.processthread.set_idealprocessor` | `System.Diagnostics.ProcessThread::set_IdealProcessor(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.processthread.resetidealprocessor` | `System.Diagnostics.ProcessThread::ResetIdealProcessor()` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.processthread.set_priorityboostenabled` | `System.Diagnostics.ProcessThread::set_PriorityBoostEnabled(System.Boolean)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.processthread.set_prioritylevel` | `System.Diagnostics.ProcessThread::set_PriorityLevel(System.Diagnostics.ThreadPriorityLevel)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.processthread.set_processoraffinity` | `System.Diagnostics.ProcessThread::set_ProcessorAffinity(System.IntPtr)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.safeprocesshandle.start` | `Microsoft.Win32.SafeHandles.SafeProcessHandle::Start(System.Diagnostics.ProcessStartInfo)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.safeprocesshandle.signal` | `Microsoft.Win32.SafeHandles.SafeProcessHandle::Signal(System.Runtime.InteropServices.PosixSignal)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.safeprocesshandle.resume` | `Microsoft.Win32.SafeHandles.SafeProcessHandle::Resume()` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.safeprocesshandle.kill` | `Microsoft.Win32.SafeHandles.SafeProcessHandle::Kill()` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.safeprocesshandle.waitforexit` | `Microsoft.Win32.SafeHandles.SafeProcessHandle::WaitForExit()` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.safeprocesshandle.trywaitforexit` | `Microsoft.Win32.SafeHandles.SafeProcessHandle::TryWaitForExit(System.TimeSpan,System.Diagnostics.ProcessExitStatus&)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.safeprocesshandle.waitforexitasync` | `Microsoft.Win32.SafeHandles.SafeProcessHandle::WaitForExitAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.safeprocesshandle.waitforexitorkillontimeout` | `Microsoft.Win32.SafeHandles.SafeProcessHandle::WaitForExitOrKillOnTimeout(System.TimeSpan)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.safeprocesshandle.waitforexitorkilloncancellationasync` | `Microsoft.Win32.SafeHandles.SafeProcessHandle::WaitForExitOrKillOnCancellationAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.windowsprocessstartarguments.start` | `` System.Runtime.InteropServices.WindowsProcessStartArguments::Start(System.Diagnostics.ProcessStartInfo,System.Func`2) `` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.unixprocessstartarguments.start` | `` System.Runtime.InteropServices.UnixProcessStartArguments::Start(System.Diagnostics.ProcessStartInfo,System.Func`2) `` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.environment.exit` | `System.Environment::Exit(System.Int32)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.environment.failfast.message` | `System.Environment::FailFast(System.String)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | -| `clockwork.environment.failfast.exception` | `System.Environment::FailFast(System.String,System.Exception)` | `Orleans.Testing.Simulation!Clockwork.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.start.filename` | `System.Diagnostics.Process::Start(System.String)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.start.startinfo` | `System.Diagnostics.Process::Start(System.Diagnostics.ProcessStartInfo)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.start.filename.arguments` | `System.Diagnostics.Process::Start(System.String,System.String)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.start.filename.argumentlist` | `` System.Diagnostics.Process::Start(System.String,System.Collections.Generic.IEnumerable`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.start.filename.credentials` | `System.Diagnostics.Process::Start(System.String,System.String,System.Security.SecureString,System.String)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.start.filename.arguments.credentials` | `System.Diagnostics.Process::Start(System.String,System.String,System.String,System.Security.SecureString,System.String)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.start.instance` | `System.Diagnostics.Process::Start()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.kill` | `System.Diagnostics.Process::Kill()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.kill.tree` | `System.Diagnostics.Process::Kill(System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.waitforexit` | `System.Diagnostics.Process::WaitForExit()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.waitforexit.milliseconds` | `System.Diagnostics.Process::WaitForExit(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.waitforexit.timespan` | `System.Diagnostics.Process::WaitForExit(System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.waitforexitasync` | `System.Diagnostics.Process::WaitForExitAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.run.startinfo` | `` System.Diagnostics.Process::Run(System.Diagnostics.ProcessStartInfo,System.Nullable`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.run.filename` | `` System.Diagnostics.Process::Run(System.String,System.Collections.Generic.IEnumerable`1,System.Boolean,System.Nullable`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.runasync.startinfo` | `System.Diagnostics.Process::RunAsync(System.Diagnostics.ProcessStartInfo,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.runasync.filename` | `` System.Diagnostics.Process::RunAsync(System.String,System.Collections.Generic.IEnumerable`1,System.Boolean,System.Threading.CancellationToken) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.runandcapturetext.startinfo` | `` System.Diagnostics.Process::RunAndCaptureText(System.Diagnostics.ProcessStartInfo,System.Nullable`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.runandcapturetext.filename` | `` System.Diagnostics.Process::RunAndCaptureText(System.String,System.Collections.Generic.IEnumerable`1,System.Nullable`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.runandcapturetextasync.startinfo` | `System.Diagnostics.Process::RunAndCaptureTextAsync(System.Diagnostics.ProcessStartInfo,System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.runandcapturetextasync.filename` | `` System.Diagnostics.Process::RunAndCaptureTextAsync(System.String,System.Collections.Generic.IEnumerable`1,System.Threading.CancellationToken) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.startandforget.startinfo` | `System.Diagnostics.Process::StartAndForget(System.Diagnostics.ProcessStartInfo)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.startandforget.filename` | `` System.Diagnostics.Process::StartAndForget(System.String,System.Collections.Generic.IEnumerable`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.signal` | `System.Diagnostics.Process::Signal(System.Runtime.InteropServices.PosixSignal)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.waitforexitstatus` | `System.Diagnostics.Process::WaitForExitStatus()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.trywaitforexitstatus` | `System.Diagnostics.Process::TryWaitForExitStatus(System.TimeSpan,System.Diagnostics.ProcessExitStatus&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.waitforexitstatusasync` | `System.Diagnostics.Process::WaitForExitStatusAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.readallbytes` | `` System.Diagnostics.Process::ReadAllBytes(System.Nullable`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.readallbytesasync` | `System.Diagnostics.Process::ReadAllBytesAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.readalltext` | `` System.Diagnostics.Process::ReadAllText(System.Nullable`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.readalltextasync` | `System.Diagnostics.Process::ReadAllTextAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.readalllines` | `` System.Diagnostics.Process::ReadAllLines(System.Nullable`1) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.readalllinesasync` | `System.Diagnostics.Process::ReadAllLinesAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.waitforinputidle` | `System.Diagnostics.Process::WaitForInputIdle()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.waitforinputidle.milliseconds` | `System.Diagnostics.Process::WaitForInputIdle(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.waitforinputidle.timespan` | `System.Diagnostics.Process::WaitForInputIdle(System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.get_responding` | `System.Diagnostics.Process::get_Responding()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.closemainwindow` | `System.Diagnostics.Process::CloseMainWindow()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.set_enableraisingevents` | `System.Diagnostics.Process::set_EnableRaisingEvents(System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.beginoutputreadline` | `System.Diagnostics.Process::BeginOutputReadLine()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.beginerrorreadline` | `System.Diagnostics.Process::BeginErrorReadLine()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.set_priorityclass` | `System.Diagnostics.Process::set_PriorityClass(System.Diagnostics.ProcessPriorityClass)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.set_priorityboostenabled` | `System.Diagnostics.Process::set_PriorityBoostEnabled(System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.set_processoraffinity` | `System.Diagnostics.Process::set_ProcessorAffinity(System.IntPtr)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.set_maxworkingset` | `System.Diagnostics.Process::set_MaxWorkingSet(System.IntPtr)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.process.set_minworkingset` | `System.Diagnostics.Process::set_MinWorkingSet(System.IntPtr)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.processthread.set_idealprocessor` | `System.Diagnostics.ProcessThread::set_IdealProcessor(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.processthread.resetidealprocessor` | `System.Diagnostics.ProcessThread::ResetIdealProcessor()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.processthread.set_priorityboostenabled` | `System.Diagnostics.ProcessThread::set_PriorityBoostEnabled(System.Boolean)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.processthread.set_prioritylevel` | `System.Diagnostics.ProcessThread::set_PriorityLevel(System.Diagnostics.ThreadPriorityLevel)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.processthread.set_processoraffinity` | `System.Diagnostics.ProcessThread::set_ProcessorAffinity(System.IntPtr)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.safeprocesshandle.start` | `Microsoft.Win32.SafeHandles.SafeProcessHandle::Start(System.Diagnostics.ProcessStartInfo)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.safeprocesshandle.signal` | `Microsoft.Win32.SafeHandles.SafeProcessHandle::Signal(System.Runtime.InteropServices.PosixSignal)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.safeprocesshandle.resume` | `Microsoft.Win32.SafeHandles.SafeProcessHandle::Resume()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.safeprocesshandle.kill` | `Microsoft.Win32.SafeHandles.SafeProcessHandle::Kill()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.safeprocesshandle.waitforexit` | `Microsoft.Win32.SafeHandles.SafeProcessHandle::WaitForExit()` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.safeprocesshandle.trywaitforexit` | `Microsoft.Win32.SafeHandles.SafeProcessHandle::TryWaitForExit(System.TimeSpan,System.Diagnostics.ProcessExitStatus&)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.safeprocesshandle.waitforexitasync` | `Microsoft.Win32.SafeHandles.SafeProcessHandle::WaitForExitAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.safeprocesshandle.waitforexitorkillontimeout` | `Microsoft.Win32.SafeHandles.SafeProcessHandle::WaitForExitOrKillOnTimeout(System.TimeSpan)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.safeprocesshandle.waitforexitorkilloncancellationasync` | `Microsoft.Win32.SafeHandles.SafeProcessHandle::WaitForExitOrKillOnCancellationAsync(System.Threading.CancellationToken)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.windowsprocessstartarguments.start` | `` System.Runtime.InteropServices.WindowsProcessStartArguments::Start(System.Diagnostics.ProcessStartInfo,System.Func`2) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.unixprocessstartarguments.start` | `` System.Runtime.InteropServices.UnixProcessStartArguments::Start(System.Diagnostics.ProcessStartInfo,System.Func`2) `` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.environment.exit` | `System.Environment::Exit(System.Int32)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.environment.failfast.message` | `System.Environment::FailFast(System.String)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | +| `clockwork.environment.failfast.exception` | `System.Environment::FailFast(System.String,System.Exception)` | `Orleans.Testing.Simulation!Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard::Reject(System.String)` | Rejected | # Race exploration instrumentation inventory diff --git a/src/Orleans.Testing.Simulation.Analyzers/CompletionAuthorityAnalyzer.cs b/src/Orleans.Testing.Simulation.Analyzers/CompletionAuthorityAnalyzer.cs index 88a7139b..9428d76f 100644 --- a/src/Orleans.Testing.Simulation.Analyzers/CompletionAuthorityAnalyzer.cs +++ b/src/Orleans.Testing.Simulation.Analyzers/CompletionAuthorityAnalyzer.cs @@ -4,12 +4,12 @@ using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Operations; -namespace Clockwork.Analyzers; +namespace Orleans.Testing.Simulation.Analyzers; /// /// /// Enforces, in the Clockwork runtime assembly, that every completion Clockwork performs for simulation code runs through -/// Clockwork.Runtime.Tasks.SimulationCompletion. The BCL runs a completed task's continuations where the completing +/// Orleans.Testing.Simulation.Runtime.Tasks.SimulationCompletion. The BCL runs a completed task's continuations where the completing /// call runs, and queues them to the real thread pool unless no synchronization context and the default scheduler are /// current; SimulationCompletion establishes that, so a completion member called anywhere else can send simulation /// work to the thread pool. @@ -21,7 +21,7 @@ namespace Clockwork.Analyzers; /// CancellationTokenSource's Cancel, CancelAsync, and CancelAfter) unless it is inside /// SimulationCompletion outside a lambda or local function, or directly inside a synchronous lambda, or is a /// method group, passed to a parameter marked -/// Clockwork.Runtime.Tasks.CompletionCallbackAttribute, which runs only through SimulationCompletion. Outside +/// Orleans.Testing.Simulation.Runtime.Tasks.CompletionCallbackAttribute, which runs only through SimulationCompletion. Outside /// SimulationCompletion, such a parameter may only be passed on to another such parameter. The rule is active /// only in the assembly which defines SimulationCompletion. /// @@ -29,8 +29,8 @@ namespace Clockwork.Analyzers; [DiagnosticAnalyzer(LanguageNames.CSharp)] public sealed class CompletionAuthorityAnalyzer : DiagnosticAnalyzer { - private const string AuthorityTypeName = "Clockwork.Runtime.Tasks.SimulationCompletion"; - private const string CallbackAttributeTypeName = "Clockwork.Runtime.Tasks.CompletionCallbackAttribute"; + private const string AuthorityTypeName = "Orleans.Testing.Simulation.Runtime.Tasks.SimulationCompletion"; + private const string CallbackAttributeTypeName = "Orleans.Testing.Simulation.Runtime.Tasks.CompletionCallbackAttribute"; private static readonly ImmutableHashSet TaskCompletionSourceMembers = ImmutableHashSet.Create( "SetResult", diff --git a/src/Orleans.Testing.Simulation.Analyzers/DeterminismDiagnostics.cs b/src/Orleans.Testing.Simulation.Analyzers/DeterminismDiagnostics.cs index 9da226f3..8360a8c3 100644 --- a/src/Orleans.Testing.Simulation.Analyzers/DeterminismDiagnostics.cs +++ b/src/Orleans.Testing.Simulation.Analyzers/DeterminismDiagnostics.cs @@ -1,6 +1,6 @@ using Microsoft.CodeAnalysis; -namespace Clockwork.Analyzers; +namespace Orleans.Testing.Simulation.Analyzers; /// /// The diagnostic descriptors raised by . They deliberately diff --git a/src/Orleans.Testing.Simulation.Analyzers/InstrumentedApiInventory.cs b/src/Orleans.Testing.Simulation.Analyzers/InstrumentedApiInventory.cs index 96f20c5e..fe85b334 100644 --- a/src/Orleans.Testing.Simulation.Analyzers/InstrumentedApiInventory.cs +++ b/src/Orleans.Testing.Simulation.Analyzers/InstrumentedApiInventory.cs @@ -3,7 +3,7 @@ using System.Linq; using Microsoft.CodeAnalysis; -namespace Clockwork.Analyzers; +namespace Orleans.Testing.Simulation.Analyzers; /// /// The direct task and synchronization API surface whose shipped Clockwork rules require the diff --git a/src/Orleans.Testing.Simulation.Analyzers/NondeterministicApiAnalyzer.cs b/src/Orleans.Testing.Simulation.Analyzers/NondeterministicApiAnalyzer.cs index e7ac5560..7d188521 100644 --- a/src/Orleans.Testing.Simulation.Analyzers/NondeterministicApiAnalyzer.cs +++ b/src/Orleans.Testing.Simulation.Analyzers/NondeterministicApiAnalyzer.cs @@ -5,7 +5,7 @@ using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Operations; -namespace Clockwork.Analyzers; +namespace Orleans.Testing.Simulation.Analyzers; /// /// Flags direct calls to the nondeterministic .NET BCL surface covered by Clockwork's built-in diff --git a/src/Orleans.Testing.Simulation.Analyzers/Orleans.Testing.Simulation.Analyzers.csproj b/src/Orleans.Testing.Simulation.Analyzers/Orleans.Testing.Simulation.Analyzers.csproj index 7c8a2420..a5e1cfd4 100644 --- a/src/Orleans.Testing.Simulation.Analyzers/Orleans.Testing.Simulation.Analyzers.csproj +++ b/src/Orleans.Testing.Simulation.Analyzers/Orleans.Testing.Simulation.Analyzers.csproj @@ -2,7 +2,7 @@ Roslyn analyzers that flag nondeterministic BCL usage at compile time. Diagnostics mirror the Clockwork built-in deterministic rule sets and identify surfaces that require instrumentation. - Clockwork.Analyzers + Orleans.Testing.Simulation.Analyzers Orleans.Testing.Simulation.Analyzers Microsoft.Orleans.Testing.Simulation.Analyzers README.md diff --git a/src/Orleans.Testing.Simulation.Instrumentation.Build/ClockworkInstrumentTask.cs b/src/Orleans.Testing.Simulation.Instrumentation.Build/ClockworkInstrumentTask.cs index 96f9b51b..d09dc717 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation.Build/ClockworkInstrumentTask.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation.Build/ClockworkInstrumentTask.cs @@ -1,13 +1,13 @@ -using Clockwork.Instrumentation.Closure; -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Orchestration; -using Clockwork.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Closure; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Orchestration; +using Orleans.Testing.Simulation.Instrumentation.Rules; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using MSBuildTask = Microsoft.Build.Utilities.Task; -namespace Clockwork.Instrumentation.Build; +namespace Orleans.Testing.Simulation.Instrumentation.Build; /// /// The MSBuild task that runs Clockwork's deterministic IL instrumentation over a resolved diff --git a/src/Orleans.Testing.Simulation.Instrumentation.Build/ClockworkValidateInstrumentedTestTask.cs b/src/Orleans.Testing.Simulation.Instrumentation.Build/ClockworkValidateInstrumentedTestTask.cs index aee1515b..57ce5424 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation.Build/ClockworkValidateInstrumentedTestTask.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation.Build/ClockworkValidateInstrumentedTestTask.cs @@ -1,10 +1,10 @@ -using Clockwork.Instrumentation.Inspection; -using Clockwork.Instrumentation.Orchestration; +using Orleans.Testing.Simulation.Instrumentation.Inspection; +using Orleans.Testing.Simulation.Instrumentation.Orchestration; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using MSBuildTask = Microsoft.Build.Utilities.Task; -namespace Clockwork.Instrumentation.Build; +namespace Orleans.Testing.Simulation.Instrumentation.Build; /// /// Verifies that every managed assembly selected from an instrumented test closure was successfully diff --git a/src/Orleans.Testing.Simulation.Instrumentation.Build/Orleans.Testing.Simulation.Instrumentation.Build.csproj b/src/Orleans.Testing.Simulation.Instrumentation.Build/Orleans.Testing.Simulation.Instrumentation.Build.csproj index 87e4f59b..dc14b3cc 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation.Build/Orleans.Testing.Simulation.Instrumentation.Build.csproj +++ b/src/Orleans.Testing.Simulation.Instrumentation.Build/Orleans.Testing.Simulation.Instrumentation.Build.csproj @@ -2,7 +2,7 @@ MSBuild task package that applies Clockwork's deterministic IL instrumentation to a project's resolved output as an opt-in, out-of-place build step. Set ClockworkInstrumentationEnabled=true to activate. Requires the .NET 11 SDK (dotnet build / dotnet msbuild); the task and its Mono.Cecil-based engine target net11.0 and are not loadable by .NET Framework MSBuild. See docs/compatibility.md. - Clockwork.Instrumentation.Build + Orleans.Testing.Simulation.Instrumentation.Build Orleans.Testing.Simulation.Instrumentation.Build net11.0 diff --git a/src/Orleans.Testing.Simulation.Instrumentation.Build/build/Microsoft.Orleans.Testing.Simulation.Instrumentation.Build.targets b/src/Orleans.Testing.Simulation.Instrumentation.Build/build/Microsoft.Orleans.Testing.Simulation.Instrumentation.Build.targets index 69a1d09e..dc56b8ab 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation.Build/build/Microsoft.Orleans.Testing.Simulation.Instrumentation.Build.targets +++ b/src/Orleans.Testing.Simulation.Instrumentation.Build/build/Microsoft.Orleans.Testing.Simulation.Instrumentation.Build.targets @@ -13,9 +13,9 @@ $(MSBuildThisFileDirectory)..\tasks\net11.0\Orleans.Testing.Simulation.Instrumentation.Build.dll - - diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Attributes/ClockworkRewriteSignatureAttribute.cs b/src/Orleans.Testing.Simulation.Instrumentation/Attributes/ClockworkRewriteSignatureAttribute.cs index 5080e049..a3fe09c2 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Attributes/ClockworkRewriteSignatureAttribute.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Attributes/ClockworkRewriteSignatureAttribute.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Attributes; +namespace Orleans.Testing.Simulation.Instrumentation.Attributes; /// /// diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Attributes/DoNotRewriteAttribute.cs b/src/Orleans.Testing.Simulation.Instrumentation/Attributes/DoNotRewriteAttribute.cs index 5a25bba3..752a200b 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Attributes/DoNotRewriteAttribute.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Attributes/DoNotRewriteAttribute.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Attributes; +namespace Orleans.Testing.Simulation.Instrumentation.Attributes; /// /// Marks a type that must never rewrite. The engine skips the diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Attributes/RewriteSignatureMetadata.cs b/src/Orleans.Testing.Simulation.Instrumentation/Attributes/RewriteSignatureMetadata.cs index eccd4b1f..39b8aa7b 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Attributes/RewriteSignatureMetadata.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Attributes/RewriteSignatureMetadata.cs @@ -1,6 +1,6 @@ using System.Text.Json; -namespace Clockwork.Instrumentation.Attributes; +namespace Orleans.Testing.Simulation.Instrumentation.Attributes; internal static class RewriteSignatureMetadata { diff --git a/src/Orleans.Testing.Simulation.Instrumentation/CanonicalEncoding.cs b/src/Orleans.Testing.Simulation.Instrumentation/CanonicalEncoding.cs index 4a36df48..5b0e0214 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/CanonicalEncoding.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/CanonicalEncoding.cs @@ -2,7 +2,7 @@ using System.Globalization; using System.Text; -namespace Clockwork.Instrumentation; +namespace Orleans.Testing.Simulation.Instrumentation; /// Builds unambiguous, versioned canonical encodings for signatures and cache keys. internal sealed class CanonicalEncoding diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Closure/AssetKind.cs b/src/Orleans.Testing.Simulation.Instrumentation/Closure/AssetKind.cs index dd834898..56835b3a 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Closure/AssetKind.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Closure/AssetKind.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Closure; +namespace Orleans.Testing.Simulation.Instrumentation.Closure; /// /// The classification of a file discovered in an application output or publish directory. It diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Closure/ClosureAsset.cs b/src/Orleans.Testing.Simulation.Instrumentation/Closure/ClosureAsset.cs index 9aad84ac..30136386 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Closure/ClosureAsset.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Closure/ClosureAsset.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Closure; +namespace Orleans.Testing.Simulation.Instrumentation.Closure; /// /// A single file discovered in an application closure, classified by and marked diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Closure/ClosureDiscovery.cs b/src/Orleans.Testing.Simulation.Instrumentation/Closure/ClosureDiscovery.cs index f2a43fdd..5cae9247 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Closure/ClosureDiscovery.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Closure/ClosureDiscovery.cs @@ -1,9 +1,9 @@ using System.Collections.Immutable; using System.IO.Enumeration; -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Imaging; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Imaging; -namespace Clockwork.Instrumentation.Closure; +namespace Orleans.Testing.Simulation.Instrumentation.Closure; /// /// Discovers the deterministic set of assets in an application output or publish directory and diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Closure/ClosureException.cs b/src/Orleans.Testing.Simulation.Instrumentation/Closure/ClosureException.cs index be2d5e01..df17271d 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Closure/ClosureException.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Closure/ClosureException.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Closure; +namespace Orleans.Testing.Simulation.Instrumentation.Closure; /// The exception thrown when an application closure cannot be discovered or is invalid. public sealed class ClosureException : Exception diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Closure/ClosurePlan.cs b/src/Orleans.Testing.Simulation.Instrumentation/Closure/ClosurePlan.cs index 4255a9bd..5ee337ed 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Closure/ClosurePlan.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Closure/ClosurePlan.cs @@ -1,6 +1,6 @@ using System.Collections.Immutable; -namespace Clockwork.Instrumentation.Closure; +namespace Orleans.Testing.Simulation.Instrumentation.Closure; /// /// The deterministic result of discovering an application closure: the root directory that was diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Closure/FrameworkAssemblyClassifier.cs b/src/Orleans.Testing.Simulation.Instrumentation/Closure/FrameworkAssemblyClassifier.cs index 3f8cd493..b8228dc2 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Closure/FrameworkAssemblyClassifier.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Closure/FrameworkAssemblyClassifier.cs @@ -1,6 +1,6 @@ using System.Collections.Immutable; -namespace Clockwork.Instrumentation.Closure; +namespace Orleans.Testing.Simulation.Instrumentation.Closure; /// /// Classifies an assembly (by its simple name) as a framework/reference assembly that must not be diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Closure/TargetRuntimeDiscovery.cs b/src/Orleans.Testing.Simulation.Instrumentation/Closure/TargetRuntimeDiscovery.cs index 12476701..96a47261 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Closure/TargetRuntimeDiscovery.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Closure/TargetRuntimeDiscovery.cs @@ -1,7 +1,7 @@ using System.Text.Json; -using Clockwork.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Configuration; -namespace Clockwork.Instrumentation.Closure; +namespace Orleans.Testing.Simulation.Instrumentation.Closure; /// /// Resolves the target runtime an instrumentation run evaluates rules against: the configured one, or else the diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Configuration/ConfigurationException.cs b/src/Orleans.Testing.Simulation.Instrumentation/Configuration/ConfigurationException.cs index aee87e0a..dffdd284 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Configuration/ConfigurationException.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Configuration/ConfigurationException.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Configuration; +namespace Orleans.Testing.Simulation.Instrumentation.Configuration; /// /// Thrown when or rule-set content is malformed or fails diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Configuration/InstrumentationConfiguration.cs b/src/Orleans.Testing.Simulation.Instrumentation/Configuration/InstrumentationConfiguration.cs index c8fd9168..1d6b68c4 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Configuration/InstrumentationConfiguration.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Configuration/InstrumentationConfiguration.cs @@ -2,7 +2,7 @@ using System.Security.Cryptography; using System.Text; -namespace Clockwork.Instrumentation.Configuration; +namespace Orleans.Testing.Simulation.Instrumentation.Configuration; /// /// The declarative, serializable configuration that drives the build task and CLI: which rule-set diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Configuration/InstrumentationConfigurationLoader.cs b/src/Orleans.Testing.Simulation.Instrumentation/Configuration/InstrumentationConfigurationLoader.cs index 391a3226..376783ea 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Configuration/InstrumentationConfigurationLoader.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Configuration/InstrumentationConfigurationLoader.cs @@ -1,9 +1,9 @@ using System.Collections.Immutable; using System.Text.Json; -using Clockwork.Instrumentation.Orchestration; -using Clockwork.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Orchestration; +using Orleans.Testing.Simulation.Instrumentation.Rules; -namespace Clockwork.Instrumentation.Configuration; +namespace Orleans.Testing.Simulation.Instrumentation.Configuration; /// /// Loads and strictly validates an from a JSON document. diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Configuration/InstrumentationMode.cs b/src/Orleans.Testing.Simulation.Instrumentation/Configuration/InstrumentationMode.cs index 8a50bb29..ff180102 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Configuration/InstrumentationMode.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Configuration/InstrumentationMode.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Configuration; +namespace Orleans.Testing.Simulation.Instrumentation.Configuration; /// /// Selects the granularity of IL instrumentation applied to a controlled application closure. diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Configuration/InstrumentationPath.cs b/src/Orleans.Testing.Simulation.Instrumentation/Configuration/InstrumentationPath.cs index 4b05c18a..c3523d90 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Configuration/InstrumentationPath.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Configuration/InstrumentationPath.cs @@ -2,7 +2,7 @@ using System.Runtime.InteropServices; using Microsoft.Win32.SafeHandles; -namespace Clockwork.Instrumentation.Configuration; +namespace Orleans.Testing.Simulation.Instrumentation.Configuration; internal static class InstrumentationPath { diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Configuration/RuleSetJson.cs b/src/Orleans.Testing.Simulation.Instrumentation/Configuration/RuleSetJson.cs index 423e0500..84e2be47 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Configuration/RuleSetJson.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Configuration/RuleSetJson.cs @@ -1,11 +1,11 @@ using System.Collections.Immutable; using System.Text.Json; using System.Text.Json.Nodes; -using Clockwork.Instrumentation.Orchestration; -using Clockwork.Instrumentation.Rules; -using Clockwork.Runtime.Policy; +using Orleans.Testing.Simulation.Instrumentation.Orchestration; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Runtime.Policy; -namespace Clockwork.Instrumentation.Configuration; +namespace Orleans.Testing.Simulation.Instrumentation.Configuration; /// /// Reads and writes a as a strict, declarative JSON document. This is diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Configuration/RuleSetMerge.cs b/src/Orleans.Testing.Simulation.Instrumentation/Configuration/RuleSetMerge.cs index b3ef9925..72857b84 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Configuration/RuleSetMerge.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Configuration/RuleSetMerge.cs @@ -1,10 +1,10 @@ using System.Collections.Immutable; using System.Security.Cryptography; using System.Text; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; -namespace Clockwork.Instrumentation.Configuration; +namespace Orleans.Testing.Simulation.Instrumentation.Configuration; /// /// The outcome of merging several rule-set documents into one effective rule set, including the diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Diagnostics/RewriteDiagnostic.cs b/src/Orleans.Testing.Simulation.Instrumentation/Diagnostics/RewriteDiagnostic.cs index 02c38627..972af1ae 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Diagnostics/RewriteDiagnostic.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Diagnostics/RewriteDiagnostic.cs @@ -1,6 +1,6 @@ using System.Globalization; -namespace Clockwork.Instrumentation.Diagnostics; +namespace Orleans.Testing.Simulation.Instrumentation.Diagnostics; /// /// A single deterministic diagnostic produced while rewriting an assembly. Diagnostics carry a diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Diagnostics/RewriteDiagnosticIds.cs b/src/Orleans.Testing.Simulation.Instrumentation/Diagnostics/RewriteDiagnosticIds.cs index 4dac22f6..26798d49 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Diagnostics/RewriteDiagnosticIds.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Diagnostics/RewriteDiagnosticIds.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Diagnostics; +namespace Orleans.Testing.Simulation.Instrumentation.Diagnostics; /// /// Stable, machine-readable identifiers for the diagnostics the rewrite engine can emit. Kept as diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Diagnostics/RewriteDiagnosticSeverity.cs b/src/Orleans.Testing.Simulation.Instrumentation/Diagnostics/RewriteDiagnosticSeverity.cs index aa6acdb1..8b7c1176 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Diagnostics/RewriteDiagnosticSeverity.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Diagnostics/RewriteDiagnosticSeverity.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Diagnostics; +namespace Orleans.Testing.Simulation.Instrumentation.Diagnostics; /// /// The severity of a emitted by the rewrite engine. diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Imaging/AssemblyImageInfo.cs b/src/Orleans.Testing.Simulation.Instrumentation/Imaging/AssemblyImageInfo.cs index 3dcc96bb..62e4730a 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Imaging/AssemblyImageInfo.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Imaging/AssemblyImageInfo.cs @@ -1,6 +1,6 @@ using System.Reflection.PortableExecutable; -namespace Clockwork.Instrumentation.Imaging; +namespace Orleans.Testing.Simulation.Instrumentation.Imaging; /// /// A read-only description of a PE file's image shape, computed directly from the PE and CLI headers diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Imaging/ReadyToRunStripper.cs b/src/Orleans.Testing.Simulation.Instrumentation/Imaging/ReadyToRunStripper.cs index 0ff44017..4920b19e 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Imaging/ReadyToRunStripper.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Imaging/ReadyToRunStripper.cs @@ -1,6 +1,6 @@ using Mono.Cecil; -namespace Clockwork.Instrumentation.Imaging; +namespace Orleans.Testing.Simulation.Instrumentation.Imaging; /// /// Produces an IL-only assembly from a ReadyToRun (crossgen'd) input by round-tripping it through diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Inspection/AssemblyInspection.cs b/src/Orleans.Testing.Simulation.Instrumentation/Inspection/AssemblyInspection.cs index d57d9dad..05e75f09 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Inspection/AssemblyInspection.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Inspection/AssemblyInspection.cs @@ -1,7 +1,7 @@ -using Clockwork.Instrumentation.Imaging; -using Clockwork.Instrumentation.Signing; +using Orleans.Testing.Simulation.Instrumentation.Imaging; +using Orleans.Testing.Simulation.Instrumentation.Signing; -namespace Clockwork.Instrumentation.Inspection; +namespace Orleans.Testing.Simulation.Instrumentation.Inspection; /// /// The decoded idempotence metadata recorded on an assembly the engine has rewritten. @@ -41,7 +41,7 @@ public enum SymbolPresence /// The PE/CLI image shape (default when the file is not a valid PE image). /// The strong-name state ( when unmanaged). /// The debug-symbol form. -/// The idempotence marker, or if the assembly has not been rewritten by Clockwork. +/// The idempotence marker, or if the assembly has not been rewritten by Orleans.Testing.Simulation. public sealed record AssemblyInspection( string Path, bool IsManaged, diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Inspection/AssemblyInspector.cs b/src/Orleans.Testing.Simulation.Instrumentation/Inspection/AssemblyInspector.cs index b86ec501..adb94de5 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Inspection/AssemblyInspector.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Inspection/AssemblyInspector.cs @@ -1,10 +1,10 @@ using System.Reflection.PortableExecutable; -using Clockwork.Instrumentation.Attributes; -using Clockwork.Instrumentation.Imaging; -using Clockwork.Instrumentation.Signing; +using Orleans.Testing.Simulation.Instrumentation.Attributes; +using Orleans.Testing.Simulation.Instrumentation.Imaging; +using Orleans.Testing.Simulation.Instrumentation.Signing; using Mono.Cecil; -namespace Clockwork.Instrumentation.Inspection; +namespace Orleans.Testing.Simulation.Instrumentation.Inspection; /// /// Produces a read-only, deterministic description of a managed assembly's instrumentation-relevant diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Manifest/InstrumentationManifest.cs b/src/Orleans.Testing.Simulation.Instrumentation/Manifest/InstrumentationManifest.cs index fd5281cf..4b67b9ff 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Manifest/InstrumentationManifest.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Manifest/InstrumentationManifest.cs @@ -1,10 +1,10 @@ using System.Collections.Immutable; using System.Text.Json; using System.Text.Json.Nodes; -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Configuration; -namespace Clockwork.Instrumentation.Manifest; +namespace Orleans.Testing.Simulation.Instrumentation.Manifest; /// /// The identity of an assembly recorded in a manifest: its simple name, file name, content hash, and diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Manifest/ManifestTransformation.cs b/src/Orleans.Testing.Simulation.Instrumentation/Manifest/ManifestTransformation.cs index 59f8dff3..a7b99cd8 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Manifest/ManifestTransformation.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Manifest/ManifestTransformation.cs @@ -1,7 +1,7 @@ -using Clockwork.Instrumentation.Rules; -using Clockwork.Runtime.Policy; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Runtime.Policy; -namespace Clockwork.Instrumentation.Manifest; +namespace Orleans.Testing.Simulation.Instrumentation.Manifest; /// /// A single entry in the instrumentation manifest describing one site the engine acted on: the rule diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Manifest/TransformationOutcome.cs b/src/Orleans.Testing.Simulation.Instrumentation/Manifest/TransformationOutcome.cs index 6fc52e48..dcfbb4ef 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Manifest/TransformationOutcome.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Manifest/TransformationOutcome.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Manifest; +namespace Orleans.Testing.Simulation.Instrumentation.Manifest; /// /// The outcome recorded for a site the engine considered while applying a rule. diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/AssemblyInstrumentationResult.cs b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/AssemblyInstrumentationResult.cs index 4a8cb383..6783e3a5 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/AssemblyInstrumentationResult.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/AssemblyInstrumentationResult.cs @@ -1,8 +1,8 @@ using System.Collections.Immutable; -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Manifest; -namespace Clockwork.Instrumentation.Orchestration; +namespace Orleans.Testing.Simulation.Instrumentation.Orchestration; /// /// The per-assembly outcome of an instrumentation run: which closure-relative assembly was processed, diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/ClosureBindingValidator.cs b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/ClosureBindingValidator.cs index fd59506a..cf6c1aaf 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/ClosureBindingValidator.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/ClosureBindingValidator.cs @@ -1,10 +1,10 @@ -using Clockwork.Instrumentation.Closure; -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Closure; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; using Mono.Cecil; -namespace Clockwork.Instrumentation.Orchestration; +namespace Orleans.Testing.Simulation.Instrumentation.Orchestration; /// /// Checks, once every assembly of a closure is staged, that the code of each staged assembly still binds to its diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/ClosureManifest.cs b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/ClosureManifest.cs index 20733767..96923c63 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/ClosureManifest.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/ClosureManifest.cs @@ -2,9 +2,9 @@ using System.Text; using System.Text.Json; using System.Text.Json.Nodes; -using Clockwork.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Configuration; -namespace Clockwork.Instrumentation.Orchestration; +namespace Orleans.Testing.Simulation.Instrumentation.Orchestration; /// /// A single assembly's entry in a : its closure-relative path, what diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/ClosureManifestJson.cs b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/ClosureManifestJson.cs index ab00e3c2..7f3722bc 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/ClosureManifestJson.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/ClosureManifestJson.cs @@ -1,9 +1,9 @@ using System.Collections.Immutable; using System.Text.Json; using System.Text.Json.Serialization; -using Clockwork.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Configuration; -namespace Clockwork.Instrumentation.Orchestration; +namespace Orleans.Testing.Simulation.Instrumentation.Orchestration; /// Reads and validates bounded, versioned closure-manifest JSON. public static class ClosureManifestJson diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/ClosureManifestLimits.cs b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/ClosureManifestLimits.cs index 4e335f5d..be9df16e 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/ClosureManifestLimits.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/ClosureManifestLimits.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Orchestration; +namespace Orleans.Testing.Simulation.Instrumentation.Orchestration; /// Hard limits shared by closure-manifest readers, writers, and producers. public static class ClosureManifestLimits diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/IncrementalCacheRecord.cs b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/IncrementalCacheRecord.cs index aa64555d..56bd249e 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/IncrementalCacheRecord.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/IncrementalCacheRecord.cs @@ -2,7 +2,7 @@ using System.Text.Json; using System.Text.Json.Serialization; -namespace Clockwork.Instrumentation.Orchestration; +namespace Orleans.Testing.Simulation.Instrumentation.Orchestration; internal sealed record IncrementalCacheRecord(string IncrementalKey, string ManifestSha256) { diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/InstrumentationException.cs b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/InstrumentationException.cs index 30be71ca..466f1d0a 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/InstrumentationException.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/InstrumentationException.cs @@ -1,6 +1,6 @@ using System.Text; -namespace Clockwork.Instrumentation.Orchestration; +namespace Orleans.Testing.Simulation.Instrumentation.Orchestration; /// /// Thrown when an run fails and the caller opted into fail-fast diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/InstrumentationRequest.cs b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/InstrumentationRequest.cs index ab4c65b4..76574fd5 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/InstrumentationRequest.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/InstrumentationRequest.cs @@ -1,7 +1,7 @@ -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Rules; -namespace Clockwork.Instrumentation.Orchestration; +namespace Orleans.Testing.Simulation.Instrumentation.Orchestration; /// /// A request to instrument an application closure: the source directory to read from, the staging diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/InstrumentationResult.cs b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/InstrumentationResult.cs index 3e2e7b8b..82f84cd8 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/InstrumentationResult.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/InstrumentationResult.cs @@ -1,7 +1,7 @@ using System.Collections.Immutable; -using Clockwork.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; -namespace Clockwork.Instrumentation.Orchestration; +namespace Orleans.Testing.Simulation.Instrumentation.Orchestration; /// /// The outcome of an run over an application closure: whether it diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/InstrumentationRunner.cs b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/InstrumentationRunner.cs index e863d28c..3745c228 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/InstrumentationRunner.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/InstrumentationRunner.cs @@ -1,17 +1,17 @@ using System.Collections.Immutable; using System.Security.Cryptography; using System.Text; -using Clockwork.Instrumentation.Closure; -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Imaging; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Signing; +using Orleans.Testing.Simulation.Instrumentation.Closure; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Imaging; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Signing; using Mono.Cecil; -namespace Clockwork.Instrumentation.Orchestration; +namespace Orleans.Testing.Simulation.Instrumentation.Orchestration; /// /// The deterministic orchestrator that turns an application output/publish directory into an diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/StagedClosureAssemblyResolver.cs b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/StagedClosureAssemblyResolver.cs index dcd957a2..42e141b4 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/StagedClosureAssemblyResolver.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/StagedClosureAssemblyResolver.cs @@ -1,9 +1,9 @@ using System.Runtime.InteropServices; -using Clockwork.Instrumentation.Closure; -using Clockwork.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Closure; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; using Mono.Cecil; -namespace Clockwork.Instrumentation.Orchestration; +namespace Orleans.Testing.Simulation.Instrumentation.Orchestration; /// /// Resolves the assemblies a staged closure references the way the runtime binds them when the closure runs from its diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/StrictJsonStringEnumConverter.cs b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/StrictJsonStringEnumConverter.cs index 808b1ad0..f86384db 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/StrictJsonStringEnumConverter.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Orchestration/StrictJsonStringEnumConverter.cs @@ -1,7 +1,7 @@ using System.Text.Json; using System.Text.Json.Serialization; -namespace Clockwork.Instrumentation.Orchestration; +namespace Orleans.Testing.Simulation.Instrumentation.Orchestration; internal sealed class StrictJsonStringEnumConverter : JsonConverter where TEnum : struct, Enum diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Orleans.Testing.Simulation.Instrumentation.csproj b/src/Orleans.Testing.Simulation.Instrumentation/Orleans.Testing.Simulation.Instrumentation.csproj index c9404d12..9690402c 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Orleans.Testing.Simulation.Instrumentation.csproj +++ b/src/Orleans.Testing.Simulation.Instrumentation/Orleans.Testing.Simulation.Instrumentation.csproj @@ -2,7 +2,7 @@ Deterministic Mono.Cecil-based instrumentation engine with versioned rewrite rules, portable-PDB preservation, idempotence markers, deterministic manifests, and built-in BCL and concurrency rule sets. See docs/compatibility.md. - Clockwork.Instrumentation + Orleans.Testing.Simulation.Instrumentation Orleans.Testing.Simulation.Instrumentation Microsoft.Orleans.Testing.Simulation.Instrumentation net11.0 diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/AssemblyRewriteContext.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/AssemblyRewriteContext.cs index 6f03d28c..a700cd6e 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/AssemblyRewriteContext.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/AssemblyRewriteContext.cs @@ -12,13 +12,13 @@ // distinguishes portable vs. embedded vs. unsupported forms and reports absence explicitly; and // resolution failures surface as structured RewriteDiagnostic values instead of log lines. -using Clockwork.Instrumentation.Attributes; -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Attributes; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Rules; using Mono.Cecil; using Mono.Cecil.Cil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// Loads a single assembly for rewriting, exposes its Mono.Cecil , diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/CallSiteRewritingPass.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/CallSiteRewritingPass.cs index 9228c4b8..2c89e5e1 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/CallSiteRewritingPass.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/CallSiteRewritingPass.cs @@ -1,10 +1,10 @@ -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Manifest; -using Clockwork.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Rules; using Mono.Cecil; using Mono.Cecil.Cil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// Rewrites call/callvirt/newobj sites that match a member-operation rule: diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/CecilNames.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/CecilNames.cs index 072a0238..921ec41a 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/CecilNames.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/CecilNames.cs @@ -1,7 +1,7 @@ using System.Globalization; using Mono.Cecil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// Helpers for turning Mono.Cecil references into the stable, normalized names the rule model and diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/CollectionAccessRewritingPass.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/CollectionAccessRewritingPass.cs index 80d0de5a..36c86f73 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/CollectionAccessRewritingPass.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/CollectionAccessRewritingPass.cs @@ -7,14 +7,14 @@ // Clockwork preserves the concrete .NET 11 collection types and injects receiver-first access calls // at direct concrete member invocations instead of substituting wrapper subclasses. -using Clockwork.Instrumentation.Manifest; -using Clockwork.Instrumentation.Rules; -using Clockwork.Runtime.Policy; -using Clockwork.Runtime.Racing; +using Orleans.Testing.Simulation.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Runtime.Policy; +using Orleans.Testing.Simulation.Runtime.Racing; using Mono.Cecil; using Mono.Cecil.Cil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// Instruments direct accesses to supported mutable and concurrent collection types. internal sealed class CollectionAccessRewritingPass : RewritePass diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/CrossAssemblyTaskDetectionPass.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/CrossAssemblyTaskDetectionPass.cs index 4ac5a12a..b1a9f6e2 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/CrossAssemblyTaskDetectionPass.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/CrossAssemblyTaskDetectionPass.cs @@ -1,9 +1,9 @@ using System.Globalization; -using Clockwork.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; using Mono.Cecil; using Mono.Cecil.Cil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// Read-only rewriting pass that enforces cross-assembly task control. It flags every call site diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/ExceptionHardeningRewritingPass.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/ExceptionHardeningRewritingPass.cs index dd00c0d9..3a2c007d 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/ExceptionHardeningRewritingPass.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/ExceptionHardeningRewritingPass.cs @@ -11,14 +11,14 @@ // async-state-machine detection recognises Clockwork's substituted controlled builder types as well as the // BCL builders; and the pass records a manifest transformation for every hardened handler. -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Manifest; -using Clockwork.Instrumentation.Rules; -using Clockwork.Runtime.Policy; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Runtime.Policy; using Mono.Cecil; using Mono.Cecil.Cil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// Rewriting pass that hardens user exception handling so a rewritten assembly's broad @@ -31,7 +31,7 @@ namespace Clockwork.Instrumentation.Rewriting; /// internal sealed class ExceptionHardeningRewritingPass : RewritePass { - private const string GuardType = "Clockwork.Runtime.SimulationExceptionGuard"; + private const string GuardType = "Orleans.Testing.Simulation.Runtime.SimulationExceptionGuard"; private const string GuardMethod = "ThrowIfControlSignal"; private const string ObjectFullName = "System.Object"; diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/ForwarderCycleGuard.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/ForwarderCycleGuard.cs index 7485b910..95010735 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/ForwarderCycleGuard.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/ForwarderCycleGuard.cs @@ -1,6 +1,6 @@ using Mono.Cecil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// A metadata resolver that stops at a cycle of type forwarders. Cecil follows an exported type to the assembly it diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/MemberMapping.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/MemberMapping.cs index 68b637e5..5129fc39 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/MemberMapping.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/MemberMapping.cs @@ -1,6 +1,6 @@ using Mono.Cecil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// The outcome of projecting the type substitutions onto a method or field reference. internal enum MemberMappingKind diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/MemberSubstitutionMapper.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/MemberSubstitutionMapper.cs index d7da7dee..8b1161b7 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/MemberSubstitutionMapper.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/MemberSubstitutionMapper.cs @@ -1,7 +1,7 @@ -using Clockwork.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules; using Mono.Cecil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// A recursive Mono.Cecil reference mapper that projects a set of diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/MemberSubstitutionRewritingPass.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/MemberSubstitutionRewritingPass.cs index 2b50c849..87ff02f1 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/MemberSubstitutionRewritingPass.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/MemberSubstitutionRewritingPass.cs @@ -1,11 +1,11 @@ -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Manifest; -using Clockwork.Instrumentation.Rules; -using Clockwork.Runtime.Policy; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Runtime.Policy; using Mono.Cecil; using Mono.Cecil.Cil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// The member-aware half of : where diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RaceExplorationRewritingPass.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RaceExplorationRewritingPass.cs index c8d0807a..628bbd09 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RaceExplorationRewritingPass.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RaceExplorationRewritingPass.cs @@ -9,14 +9,14 @@ // exact source/IL metadata, stack-preserving receiver/index capture, manifest entries, async/iterator // state-machine handling, and exception-region/branch-target retargeting. -using Clockwork.Instrumentation.Manifest; -using Clockwork.Instrumentation.Rules; -using Clockwork.Runtime.Policy; -using Clockwork.Runtime.Racing; +using Orleans.Testing.Simulation.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Runtime.Policy; +using Orleans.Testing.Simulation.Runtime.Racing; using Mono.Cecil; using Mono.Cecil.Cil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// Injects opt-in scheduling points at supported memory and conditional branch instructions. internal sealed class RaceExplorationRewritingPass : RewritePass diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/ReplacementContractValidator.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/ReplacementContractValidator.cs index 2928bde4..b110d240 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/ReplacementContractValidator.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/ReplacementContractValidator.cs @@ -1,7 +1,7 @@ -using Clockwork.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules; using Mono.Cecil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// Validates replacement method stack contracts before call-site IL is edited. internal static class ReplacementContractValidator diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/ReplacementResolver.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/ReplacementResolver.cs index 542b4e59..a473bde9 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/ReplacementResolver.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/ReplacementResolver.cs @@ -1,7 +1,7 @@ -using Clockwork.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules; using Mono.Cecil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// Loads the replacement ("shim") assemblies referenced by a rule set and resolves a diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteEngine.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteEngine.cs index 482a7f17..d5c29ace 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteEngine.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteEngine.cs @@ -1,11 +1,11 @@ using System.Collections.Immutable; using System.Security.Cryptography; -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Manifest; -using Clockwork.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Rules; using Mono.Cecil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// @@ -31,7 +31,7 @@ public static class RewriteEngine /// /// The simple name of the shim assembly that declares the exception-hardening guard - /// (Clockwork.Runtime.SimulationExceptionGuard). The caller must include the Clockwork assembly in + /// (Orleans.Testing.Simulation.Runtime.SimulationExceptionGuard). The caller must include the Clockwork assembly in /// when /// is enabled. /// diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteException.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteException.cs index 6a8ae360..64282507 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteException.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteException.cs @@ -1,6 +1,6 @@ using System.Text; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// Thrown by when a rewrite produced error diagnostics. The diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteOptions.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteOptions.cs index c1f96e1e..68723967 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteOptions.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteOptions.cs @@ -2,7 +2,7 @@ using System.Security.Cryptography; using System.Text; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// Configures a single rewrite: where to resolve replacement ("shim") assemblies and additional @@ -52,7 +52,7 @@ public sealed record RewriteOptions /// start of every broad catch (Exception) / catch block and every exception filter /// so a rewritten assembly's user handlers cannot swallow the scheduler's internal control-flow signal. /// When enabled, the shim assembly declaring - /// Clockwork.Runtime.SimulationExceptionGuard.ThrowIfControlSignal must be supplied in + /// Orleans.Testing.Simulation.Runtime.SimulationExceptionGuard.ThrowIfControlSignal must be supplied in /// . Defaults to (the built-in /// controlled-task activation turns it on); narrow typed catches, finally blocks, rethrow-only /// handlers, and compiler-generated async-state-machine handlers are never instrumented, so normal diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewritePass.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewritePass.cs index 08aff316..aa0bb4e4 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewritePass.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewritePass.cs @@ -16,7 +16,7 @@ using Mono.Cecil.Cil; using Mono.Cecil.Rocks; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// Base class for a pass that traverses a module's IL using a visitor pattern and, where it applies diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteRequest.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteRequest.cs index 0f1d5ef8..d1b3d959 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteRequest.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteRequest.cs @@ -1,6 +1,6 @@ -using Clockwork.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// A single request to the : the assembly to read, where to write the diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteResult.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteResult.cs index 9f5a6af5..11dc8b4a 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteResult.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteResult.cs @@ -1,8 +1,8 @@ using System.Collections.Immutable; -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Manifest; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// The outcome of a single call: whether it diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteRuleMatcher.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteRuleMatcher.cs index ff9fddca..5ca92fd1 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteRuleMatcher.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteRuleMatcher.cs @@ -1,7 +1,7 @@ -using Clockwork.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules; using Mono.Cecil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// Indexes the rules of a that support one target runtime for fast, deterministic diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteSession.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteSession.cs index 9b16f97a..b13a4b31 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteSession.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteSession.cs @@ -1,10 +1,10 @@ using System.Collections.Immutable; -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Manifest; using Mono.Cecil; using Mono.Cecil.Cil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// Shared, mutable state threaded through every for a single rewrite of a diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteValidator.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteValidator.cs index 99d9461e..a42c4287 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteValidator.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RewriteValidator.cs @@ -1,8 +1,8 @@ -using Clockwork.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; using Mono.Cecil; using Mono.Cecil.Cil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// Post-rewrite validation. Reads the written assembly back with Mono.Cecil (proving it is diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RuntimeAsyncDetectionPass.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RuntimeAsyncDetectionPass.cs index 804e3dd0..3959bdbd 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RuntimeAsyncDetectionPass.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/RuntimeAsyncDetectionPass.cs @@ -1,7 +1,7 @@ -using Clockwork.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; using Mono.Cecil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// Read-only pass that fails the rewrite at every method compiled with runtime async. Such a method carries the diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/SignatureMentions.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/SignatureMentions.cs index 97302048..929525d4 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/SignatureMentions.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/SignatureMentions.cs @@ -1,6 +1,6 @@ using Mono.Cecil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// Finds which of a set of named types a member reference's signature mentions. internal static class SignatureMentions diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/SymbolKind.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/SymbolKind.cs index f6d74ccd..b481dda1 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/SymbolKind.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/SymbolKind.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// The form of debug symbols detected for an assembly being rewritten. Determines whether, and how, diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/TypeReferenceRewritingPass.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/TypeReferenceRewritingPass.cs index aefa687b..08bc139a 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/TypeReferenceRewritingPass.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/TypeReferenceRewritingPass.cs @@ -1,9 +1,9 @@ -using Clockwork.Instrumentation.Manifest; -using Clockwork.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Rules; using Mono.Cecil; using Mono.Cecil.Cil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// Rewrites type-reference operands in method bodies (newarr, castclass, isinst, diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/TypeReferenceStructure.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/TypeReferenceStructure.cs index b338d25d..7f89eaab 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/TypeReferenceStructure.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/TypeReferenceStructure.cs @@ -2,7 +2,7 @@ using System.Text; using Mono.Cecil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// Compares and inflates Cecil type graphs without assuming that they are acyclic. internal static class TypeReferenceStructure diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/TypeReshapes.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/TypeReshapes.cs index 9ae1aa14..ea08d589 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/TypeReshapes.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/TypeReshapes.cs @@ -1,7 +1,7 @@ using Mono.Cecil; using Mono.Cecil.Cil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// Finds the types and methods whose shape - a base type, an interface, or a generic parameter constraint - is composed diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/TypeShapeCheck.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/TypeShapeCheck.cs index 0b8747ed..a63572d1 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/TypeShapeCheck.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rewriting/TypeShapeCheck.cs @@ -1,8 +1,8 @@ using System.Text; -using Clockwork.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules; using Mono.Cecil; -namespace Clockwork.Instrumentation.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Rewriting; /// /// Finds a type's interface implementations and method overrides that no longer match the member they implement or diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/BuiltInRuleFamily.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/BuiltInRuleFamily.cs index 1e3b0784..0dfdf7d7 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/BuiltInRuleFamily.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/BuiltInRuleFamily.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Rules.BuiltIn; +namespace Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; /// /// The API family a built-in belongs to. Families are the unit of granular diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/BuiltInRuleSets.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/BuiltInRuleSets.cs index 46044a34..282bb87f 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/BuiltInRuleSets.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/BuiltInRuleSets.cs @@ -1,7 +1,7 @@ using System.Collections.Immutable; -using Clockwork.Runtime.Policy; +using Orleans.Testing.Simulation.Runtime.Policy; -namespace Clockwork.Instrumentation.Rules.BuiltIn; +namespace Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; /// /// The catalogue of Clockwork's built-in, versioned rewrite rule sets. These ship with the @@ -9,7 +9,7 @@ namespace Clockwork.Instrumentation.Rules.BuiltIn; /// hand-authoring JSON signatures. The only rule set today is /// - the built-in deterministic BCL shim set - which /// redirects the direct static time / identity / random surface to the runtime shims in the -/// Clockwork assembly (under the Clockwork.Shims namespace hierarchy). +/// Clockwork assembly (under the Orleans.Testing.Simulation.Shims namespace hierarchy). /// /// /// @@ -41,31 +41,31 @@ public static class BuiltInRuleSets /// The simple name of the assembly declaring every built-in shim. public const string ShimAssemblyName = "Orleans.Testing.Simulation"; - private const string DateTimeShim = "Clockwork.Shims.System.ControlledDateTime"; - private const string DateTimeOffsetShim = "Clockwork.Shims.System.ControlledDateTimeOffset"; - private const string StopwatchShim = "Clockwork.Shims.System.Diagnostics.ControlledStopwatch"; - private const string EnvironmentShim = "Clockwork.Shims.System.ControlledEnvironment"; - private const string GuidShim = "Clockwork.Shims.System.ControlledGuid"; - private const string RandomShim = "Clockwork.Shims.System.ControlledRandom"; - private const string CryptoShim = "Clockwork.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator"; - private const string TaskShim = "Clockwork.Shims.System.Threading.Tasks.ControlledTask"; - private const string TaskFactoryShim = "Clockwork.Shims.System.Threading.Tasks.ControlledTaskFactory"; - private const string ThreadShim = "Clockwork.Shims.System.Threading.ControlledThread"; - private const string ThreadPoolShim = "Clockwork.Shims.System.Threading.ControlledThreadPool"; - private const string ParallelShim = "Clockwork.Shims.System.Threading.Tasks.ControlledParallel"; - private const string PartitionerShim = "Clockwork.Shims.System.Collections.Concurrent.ControlledPartitioner"; - private const string MonitorShim = "Clockwork.Shims.System.Threading.ControlledMonitor"; - private const string SemaphoreSlimShim = "Clockwork.Shims.System.Threading.ControlledSemaphoreSlim"; - private const string InterlockedShim = "Clockwork.Shims.System.Threading.ControlledInterlocked"; - private const string VolatileShim = "Clockwork.Shims.System.Threading.ControlledVolatile"; - private const string ReaderWriterLockSlimShim = "Clockwork.Shims.System.Threading.ControlledReaderWriterLockSlim"; - private const string ManualResetEventSlimShim = "Clockwork.Shims.System.Threading.ControlledManualResetEventSlim"; - private const string MutexShim = "Clockwork.Shims.System.Threading.ControlledMutex"; - private const string KernelSemaphoreShim = "Clockwork.Shims.System.Threading.ControlledSemaphore"; - private const string ExecutionContextShim = "Clockwork.Shims.System.Threading.ControlledExecutionContext"; - private const string SynchronizationContextShim = "Clockwork.Shims.System.Threading.ControlledSynchronizationContext"; - private const string TimeProviderShim = "Clockwork.Shims.System.ControlledTimeProvider"; - private const string CancellationTokenSourceShim = "Clockwork.Shims.System.Threading.ControlledCancellationTokenSource"; + private const string DateTimeShim = "Orleans.Testing.Simulation.Shims.System.ControlledDateTime"; + private const string DateTimeOffsetShim = "Orleans.Testing.Simulation.Shims.System.ControlledDateTimeOffset"; + private const string StopwatchShim = "Orleans.Testing.Simulation.Shims.System.Diagnostics.ControlledStopwatch"; + private const string EnvironmentShim = "Orleans.Testing.Simulation.Shims.System.ControlledEnvironment"; + private const string GuidShim = "Orleans.Testing.Simulation.Shims.System.ControlledGuid"; + private const string RandomShim = "Orleans.Testing.Simulation.Shims.System.ControlledRandom"; + private const string CryptoShim = "Orleans.Testing.Simulation.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator"; + private const string TaskShim = "Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask"; + private const string TaskFactoryShim = "Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskFactory"; + private const string ThreadShim = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread"; + private const string ThreadPoolShim = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledThreadPool"; + private const string ParallelShim = "Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel"; + private const string PartitionerShim = "Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledPartitioner"; + private const string MonitorShim = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledMonitor"; + private const string SemaphoreSlimShim = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphoreSlim"; + private const string InterlockedShim = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledInterlocked"; + private const string VolatileShim = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledVolatile"; + private const string ReaderWriterLockSlimShim = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledReaderWriterLockSlim"; + private const string ManualResetEventSlimShim = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledManualResetEventSlim"; + private const string MutexShim = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledMutex"; + private const string KernelSemaphoreShim = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledSemaphore"; + private const string ExecutionContextShim = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledExecutionContext"; + private const string SynchronizationContextShim = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledSynchronizationContext"; + private const string TimeProviderShim = "Orleans.Testing.Simulation.Shims.System.ControlledTimeProvider"; + private const string CancellationTokenSourceShim = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledCancellationTokenSource"; // Cecil full names for the exact overload parameters (from the net11 reference assemblies). private const string Int32 = "System.Int32"; @@ -184,8 +184,8 @@ public static class BuiltInRuleSets // Cecil full names for the TaskCompletionSource completion members. The generic source's members are // non-generic members of the closed generic type (`!0` target), bound to the shim's TResult from the receiver. - private const string TaskCompletionSourceShim = "Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource"; - private const string ValueTaskSourceCoreShim = "Clockwork.Shims.System.Threading.Tasks.Sources.ControlledManualResetValueTaskSourceCore"; + private const string TaskCompletionSourceShim = "Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource"; + private const string ValueTaskSourceCoreShim = "Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Sources.ControlledManualResetValueTaskSourceCore"; private const string ValueTaskSourceCoreType = "System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1"; private const string ValueTaskSourceCoreRefDecl = "System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1&"; private const string TaskCompletionSourceType = "System.Threading.Tasks.TaskCompletionSource"; @@ -198,7 +198,7 @@ public static class BuiltInRuleSets private const string IEnumerableOfException = "System.Collections.Generic.IEnumerable`1"; // Cecil full names for the ValueTask conversions. The receiver is a value type, so each shim takes it by reference. - private const string ValueTaskShim = "Clockwork.Shims.System.Threading.Tasks.ControlledValueTask"; + private const string ValueTaskShim = "Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledValueTask"; private const string ValueTaskType = "System.Threading.Tasks.ValueTask"; private const string ValueTaskTType = "System.Threading.Tasks.ValueTask`1"; private const string ValueTaskRef = "System.Threading.Tasks.ValueTask&"; @@ -210,11 +210,11 @@ public static class BuiltInRuleSets // Cecil full names for the controlled System.Threading.Thread surface. private const string ThreadType = "System.Threading.Thread"; private const string TimerType = "System.Threading.Timer"; - private const string ControlledTimerType = "Clockwork.Shims.System.Threading.ControlledTimer"; + private const string ControlledTimerType = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledTimer"; private const string TimersTimerType = "System.Timers.Timer"; - private const string ControlledComponentTimerType = "Clockwork.Shims.System.Timers.ControlledTimer"; + private const string ControlledComponentTimerType = "Orleans.Testing.Simulation.Shims.System.Timers.ControlledTimer"; private const string PeriodicTimerType = "System.Threading.PeriodicTimer"; - private const string ControlledPeriodicTimerType = "Clockwork.Shims.System.Threading.ControlledPeriodicTimer"; + private const string ControlledPeriodicTimerType = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledPeriodicTimer"; private const string CancellationTokenSourceType = "System.Threading.CancellationTokenSource"; private const string ThreadStart = "System.Threading.ThreadStart"; private const string ParameterizedThreadStart = "System.Threading.ParameterizedThreadStart"; @@ -241,7 +241,7 @@ public static class BuiltInRuleSets // field / parameter and the Unregister instance member remap onto the controlled type, while the static // factories are redirected to shims returning it. private const string RegisteredWaitHandleType = "System.Threading.RegisteredWaitHandle"; - private const string ControlledRegisteredWaitHandleType = "Clockwork.Shims.System.Threading.ControlledRegisteredWaitHandle"; + private const string ControlledRegisteredWaitHandleType = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledRegisteredWaitHandle"; // Cecil full names shared by the registered-wait factory redirects. Each of // RegisterWaitForSingleObject and UnsafeRegisterWaitForSingleObject has four timeout overloads @@ -282,8 +282,8 @@ public static class BuiltInRuleSets // Cecil full names for the controlled System.Threading.Channels surface: virtual members of the open generic reader // and writer (`!0` target), redirected to receiver-first generic shims (`T` replacement). - private const string ChannelReaderShim = "Clockwork.Shims.System.Threading.Channels.ControlledChannelReader"; - private const string ChannelWriterShim = "Clockwork.Shims.System.Threading.Channels.ControlledChannelWriter"; + private const string ChannelReaderShim = "Orleans.Testing.Simulation.Shims.System.Threading.Channels.ControlledChannelReader"; + private const string ChannelWriterShim = "Orleans.Testing.Simulation.Shims.System.Threading.Channels.ControlledChannelWriter"; private const string ChannelReaderType = "System.Threading.Channels.ChannelReader`1"; private const string ChannelWriterType = "System.Threading.Channels.ChannelWriter`1"; private const string ChannelReaderTDecl = "System.Threading.Channels.ChannelReader`1"; @@ -291,37 +291,37 @@ public static class BuiltInRuleSets // Cecil full names for the PLINQ entry points, rejected at the call site. private const string ParallelEnumerableType = "System.Linq.ParallelEnumerable"; - private const string ParallelEnumerableShim = "Clockwork.Shims.System.Linq.ControlledParallelEnumerable"; + private const string ParallelEnumerableShim = "Orleans.Testing.Simulation.Shims.System.Linq.ControlledParallelEnumerable"; private const string NonGenericIEnumerable = "System.Collections.IEnumerable"; // Cecil full names for the background-work, TPL Dataflow, and WebSocket entry points, rejected at the call site. private const string BackgroundWorkerType = "System.ComponentModel.BackgroundWorker"; - private const string BackgroundWorkerShim = "Clockwork.Shims.System.ComponentModel.ControlledBackgroundWorker"; + private const string BackgroundWorkerShim = "Orleans.Testing.Simulation.Shims.System.ComponentModel.ControlledBackgroundWorker"; private const string BackgroundServiceType = "Microsoft.Extensions.Hosting.BackgroundService"; - private const string BackgroundServiceShim = "Clockwork.Shims.Microsoft.Extensions.Hosting.ControlledBackgroundService"; + private const string BackgroundServiceShim = "Orleans.Testing.Simulation.Shims.Microsoft.Extensions.Hosting.ControlledBackgroundService"; private const string DataflowNamespace = "System.Threading.Tasks.Dataflow."; - private const string DataflowShim = "Clockwork.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock"; + private const string DataflowShim = "Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Dataflow.ControlledDataflowBlock"; private const string WebSocketType = "System.Net.WebSockets.WebSocket"; - private const string WebSocketShim = "Clockwork.Shims.System.Net.WebSockets.ControlledWebSocket"; + private const string WebSocketShim = "Orleans.Testing.Simulation.Shims.System.Net.WebSockets.ControlledWebSocket"; private const string WebSocketStreamType = "System.Net.WebSockets.WebSocketStream"; - private const string WebSocketStreamShim = "Clockwork.Shims.System.Net.WebSockets.ControlledWebSocketStream"; + private const string WebSocketStreamShim = "Orleans.Testing.Simulation.Shims.System.Net.WebSockets.ControlledWebSocketStream"; private const string WebSocketMessageType = "System.Net.WebSockets.WebSocketMessageType"; // Cecil full names for the hosting extensions which block on the host's work or time out on a real timer. private const string HostExtensionsType = "Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions"; - private const string HostExtensionsShim = "Clockwork.Shims.Microsoft.Extensions.Hosting.ControlledHostingAbstractionsHostExtensions"; + private const string HostExtensionsShim = "Orleans.Testing.Simulation.Shims.Microsoft.Extensions.Hosting.ControlledHostingAbstractionsHostExtensions"; private const string IHostType = "Microsoft.Extensions.Hosting.IHost"; private const string HostBuilderExtensionsType = "Microsoft.Extensions.Hosting.HostingAbstractionsHostBuilderExtensions"; - private const string HostBuilderExtensionsShim = "Clockwork.Shims.Microsoft.Extensions.Hosting.ControlledHostingAbstractionsHostBuilderExtensions"; + private const string HostBuilderExtensionsShim = "Orleans.Testing.Simulation.Shims.Microsoft.Extensions.Hosting.ControlledHostingAbstractionsHostBuilderExtensions"; private const string IHostBuilderType = "Microsoft.Extensions.Hosting.IHostBuilder"; // Cecil full names for the members which send through an HttpClient, whose timeout runs on a real timer. private const string HttpClientType = "System.Net.Http.HttpClient"; - private const string HttpClientShim = "Clockwork.Shims.System.Net.Http.ControlledHttpClient"; + private const string HttpClientShim = "Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpClient"; private const string HttpMessageInvokerType = "System.Net.Http.HttpMessageInvoker"; - private const string HttpMessageInvokerShim = "Clockwork.Shims.System.Net.Http.ControlledHttpMessageInvoker"; + private const string HttpMessageInvokerShim = "Orleans.Testing.Simulation.Shims.System.Net.Http.ControlledHttpMessageInvoker"; private const string HttpClientJsonType = "System.Net.Http.Json.HttpClientJsonExtensions"; - private const string HttpClientJsonShim = "Clockwork.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions"; + private const string HttpClientJsonShim = "Orleans.Testing.Simulation.Shims.System.Net.Http.Json.ControlledHttpClientJsonExtensions"; private const string HttpRequestMessageType = "System.Net.Http.HttpRequestMessage"; private const string HttpCompletionOptionType = "System.Net.Http.HttpCompletionOption"; private const string HttpContentType = "System.Net.Http.HttpContent"; @@ -380,7 +380,7 @@ private static readonly (string Member, string Id)[] DataflowSchedulingHelpers = // Cecil full names for the controlled BlockingCollection surface: members of the open generic type (`!0` target), // redirected to generic shims (`T` replacement), receiver first for the instance members. private const string BlockingCollectionType = "System.Collections.Concurrent.BlockingCollection`1"; - private const string BlockingCollectionShim = "Clockwork.Shims.System.Collections.Concurrent.ControlledBlockingCollection"; + private const string BlockingCollectionShim = "Orleans.Testing.Simulation.Shims.System.Collections.Concurrent.ControlledBlockingCollection"; private const string BlockingCollectionTDecl = "System.Collections.Concurrent.BlockingCollection`1"; private const string BlockingCollectionArrayVar = "System.Collections.Concurrent.BlockingCollection`1[]"; private const string BlockingCollectionArrayDecl = "System.Collections.Concurrent.BlockingCollection`1[]"; @@ -392,9 +392,9 @@ private static readonly (string Member, string Id)[] DataflowSchedulingHelpers = private const string StreamType = "System.IO.Stream"; private const string TextReaderType = "System.IO.TextReader"; private const string TextWriterType = "System.IO.TextWriter"; - private const string StreamShim = "Clockwork.Shims.System.IO.ControlledStream"; - private const string TextReaderShim = "Clockwork.Shims.System.IO.ControlledTextReader"; - private const string TextWriterShim = "Clockwork.Shims.System.IO.ControlledTextWriter"; + private const string StreamShim = "Orleans.Testing.Simulation.Shims.System.IO.ControlledStream"; + private const string TextReaderShim = "Orleans.Testing.Simulation.Shims.System.IO.ControlledTextReader"; + private const string TextWriterShim = "Orleans.Testing.Simulation.Shims.System.IO.ControlledTextWriter"; private const string ByteArray = "System.Byte[]"; private const string CharArray = "System.Char[]"; private const string CharType = "System.Char"; @@ -443,7 +443,7 @@ private static readonly (string Member, string Id)[] DataflowSchedulingHelpers = private const string UnixProcessStarter = "System.Func`2"; private const string CancellationTokenType = "System.Threading.CancellationToken"; private const string ExceptionType = "System.Exception"; - private const string UncontrolledInvocationShim = "Clockwork.Runtime.UncontrolledInvocationGuard"; + private const string UncontrolledInvocationShim = "Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard"; // Cecil full names for the controlled monitor/lock/semaphore control synchronization surface. Monitor is entirely static, so // the shim signatures match the BCL targets exactly. `ref bool` renders as `System.Boolean&`. @@ -455,8 +455,8 @@ private static readonly (string Member, string Id)[] DataflowSchedulingHelpers = private const string BooleanRef = "System.Boolean&"; private const string LockType = "System.Threading.Lock"; private const string LockScopeType = "System.Threading.Lock/Scope"; - private const string ControlledLockType = "Clockwork.Shims.System.Threading.ControlledLock"; - private const string ControlledLockScopeType = "Clockwork.Shims.System.Threading.ControlledLock/Scope"; + private const string ControlledLockType = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledLock"; + private const string ControlledLockScopeType = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledLock/Scope"; private const string SemaphoreSlimType = "System.Threading.SemaphoreSlim"; // Cecil full names for the controlled wait-handle and atomic control Interlocked atomic surface. Every overload takes its @@ -501,7 +501,7 @@ private static readonly (string Member, string Id)[] DataflowSchedulingHelpers = // `default`, the instance members (Count, NextSpinWillYield, Reset, SpinOnce overloads) and the static // SpinUntil overloads remap onto the controlled struct. private const string SpinWaitType = "System.Threading.SpinWait"; - private const string ControlledSpinWaitType = "Clockwork.Shims.System.Threading.ControlledSpinWait"; + private const string ControlledSpinWaitType = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledSpinWait"; // Cecil full names for the controlled wait-handle and atomic control event / wait-handle surface. AutoResetEvent, // ManualResetEvent and EventWaitHandle are concrete sealed classes: the real objects are retained as @@ -520,8 +520,8 @@ private static readonly (string Member, string Id)[] DataflowSchedulingHelpers = private const string SafeWaitHandleType = "Microsoft.Win32.SafeHandles.SafeWaitHandle"; private const string EventWaitHandleRef = "System.Threading.EventWaitHandle&"; private const string WaitHandleArray = "System.Threading.WaitHandle[]"; - private const string WaitHandleShim = "Clockwork.Shims.System.Threading.ControlledWaitHandle"; - private const string EventWaitHandleShim = "Clockwork.Shims.System.Threading.ControlledEventWaitHandle"; + private const string WaitHandleShim = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledWaitHandle"; + private const string EventWaitHandleShim = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledEventWaitHandle"; // Cecil full names for the modern synchronization families. ReaderWriterLockSlim and // ManualResetEventSlim retain BCL identity objects and use receiver-first static shims. Mutex and the @@ -542,17 +542,17 @@ private static readonly (string Member, string Id)[] DataflowSchedulingHelpers = private const string SendOrPostCallbackType = "System.Threading.SendOrPostCallback"; private const string IntPtrArray = "System.IntPtr[]"; private const string BarrierType = "System.Threading.Barrier"; - private const string ControlledBarrierType = "Clockwork.Shims.System.Threading.ControlledBarrier"; + private const string ControlledBarrierType = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledBarrier"; private const string CountdownEventType = "System.Threading.CountdownEvent"; - private const string ControlledCountdownEventType = "Clockwork.Shims.System.Threading.ControlledCountdownEvent"; + private const string ControlledCountdownEventType = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledCountdownEvent"; private const string SpinLockType = "System.Threading.SpinLock"; - private const string ControlledSpinLockType = "Clockwork.Shims.System.Threading.ControlledSpinLock"; + private const string ControlledSpinLockType = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledSpinLock"; // Cecil full names for the compiler-generated async machinery (BCL) and their controlled substitutes. // Nested awaiter types use Cecil's '/' separator; generic arities carry the backtick. private const string CompilerNs = "System.Runtime.CompilerServices."; - private const string ControlledNs = "Clockwork.Shims.System.Runtime.CompilerServices."; + private const string ControlledNs = "Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices."; private const string BclBuilder = CompilerNs + "AsyncTaskMethodBuilder"; private const string BclBuilderT = CompilerNs + "AsyncTaskMethodBuilder`1"; private const string BclTaskAwaiter = CompilerNs + "TaskAwaiter"; @@ -596,7 +596,7 @@ private static readonly (string Member, string Id)[] DataflowSchedulingHelpers = private const string ControlledConfiguredAsyncEnumerable = ControlledNs + "ControlledConfiguredCancelableAsyncEnumerable`1"; private const string ControlledConfiguredAsyncEnumerator = ControlledNs + "ControlledConfiguredCancelableAsyncEnumerable`1/Enumerator"; private const string TaskAsyncEnumerableExtensionsType = "System.Threading.Tasks.TaskAsyncEnumerableExtensions"; - private const string AsyncEnumerableShim = "Clockwork.Shims.System.Threading.Tasks.ControlledTaskAsyncEnumerableExtensions"; + private const string AsyncEnumerableShim = "Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskAsyncEnumerableExtensions"; private const string AsyncDisposableType = "System.IAsyncDisposable"; private const string AsyncEnumerableT = "System.Collections.Generic.IAsyncEnumerable`1"; private const string AsyncEnumerableTDecl = "System.Collections.Generic.IAsyncEnumerable`1"; diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/ConcurrencyEscapeAudit.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/ConcurrencyEscapeAudit.cs index 590915b6..8fe92e50 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/ConcurrencyEscapeAudit.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/ConcurrencyEscapeAudit.cs @@ -1,6 +1,6 @@ using System.Collections.Immutable; -namespace Clockwork.Instrumentation.Rules.BuiltIn; +namespace Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; /// A framework member which reaches a concurrency escape and needs no rule, with the reason. /// The Cecil full name of the declaring type. diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/EscapeReason.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/EscapeReason.cs index b549d582..aac67ed2 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/EscapeReason.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/EscapeReason.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Rules.BuiltIn; +namespace Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; /// /// Why a framework member which reaches a concurrency escape needs no rule. Each value names one behavior that the diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/RuleInventoryDocument.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/RuleInventoryDocument.cs index c8d7751c..ebc05026 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/RuleInventoryDocument.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/RuleInventoryDocument.cs @@ -1,8 +1,8 @@ using System.Collections.Immutable; using System.Text; -using Clockwork.Runtime.Policy; +using Orleans.Testing.Simulation.Runtime.Policy; -namespace Clockwork.Instrumentation.Rules.BuiltIn; +namespace Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; /// /// Renders the built-in rule inventories ( and @@ -62,7 +62,7 @@ public static string Render() Line("# Built-in rewrite rule inventory"); Line(); - Line(""); Line(); Line( diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/UnrewrittenMembers.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/UnrewrittenMembers.cs index 8bf538c0..5d5f2c01 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/UnrewrittenMembers.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/UnrewrittenMembers.cs @@ -1,6 +1,6 @@ using System.Collections.Immutable; -namespace Clockwork.Instrumentation.Rules.BuiltIn; +namespace Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; /// A member of a type the built-in rules target that no built-in rule rewrites, with the reason it stays a BCL call. /// The Cecil full name of the declaring type. diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/UnrewrittenReason.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/UnrewrittenReason.cs index 64cc8edd..2adaaf7f 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/UnrewrittenReason.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rules/BuiltIn/UnrewrittenReason.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Rules.BuiltIn; +namespace Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; /// /// Why a public or protected member of a type the built-in rules target stays a BCL call. Each value names one diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rules/MemberSignature.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rules/MemberSignature.cs index e07be77d..71409a67 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rules/MemberSignature.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rules/MemberSignature.cs @@ -1,6 +1,6 @@ using System.Collections.Immutable; -namespace Clockwork.Instrumentation.Rules; +namespace Orleans.Testing.Simulation.Instrumentation.Rules; /// /// A stable, tooling-authored identifier for a member (or a whole type) targeted by a diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteOperationKind.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteOperationKind.cs index c35f27ea..2069452b 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteOperationKind.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteOperationKind.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Rules; +namespace Orleans.Testing.Simulation.Instrumentation.Rules; /// /// The kind of IL transformation a performs at a matched site. Each kind diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteReplacement.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteReplacement.cs index 10072894..ca9e8cd3 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteReplacement.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteReplacement.cs @@ -1,6 +1,6 @@ using System.Collections.Immutable; -namespace Clockwork.Instrumentation.Rules; +namespace Orleans.Testing.Simulation.Instrumentation.Rules; /// /// Identifies the replacement member (or type) a redirects a matched site diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteRule.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteRule.cs index fc2ffa06..9fbd0bd8 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteRule.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteRule.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Policy; +using Orleans.Testing.Simulation.Runtime.Policy; -namespace Clockwork.Instrumentation.Rules; +namespace Orleans.Testing.Simulation.Instrumentation.Rules; /// /// A single versioned instruction to the rewrite engine: at every site matching , diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteRuleSet.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteRuleSet.cs index f34e4902..583ce979 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteRuleSet.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteRuleSet.cs @@ -1,9 +1,9 @@ using System.Collections.Immutable; using System.Security.Cryptography; using System.Text; -using Clockwork.Instrumentation.Orchestration; +using Orleans.Testing.Simulation.Instrumentation.Orchestration; -namespace Clockwork.Instrumentation.Rules; +namespace Orleans.Testing.Simulation.Instrumentation.Rules; /// /// A versioned, immutable collection of values applied together by the diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteRuleSetBuilder.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteRuleSetBuilder.cs index a086dc11..1455d89c 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteRuleSetBuilder.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteRuleSetBuilder.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Rules; +namespace Orleans.Testing.Simulation.Instrumentation.Rules; /// /// A fluent builder for . Rules are added in order; the first rule that diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteSites.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteSites.cs index 7577d002..8056d4d8 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteSites.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rules/RewriteSites.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Rules; +namespace Orleans.Testing.Simulation.Instrumentation.Rules; /// The kinds of site a rewrites. [Flags] diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rules/RuleSetRuntimeSupport.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rules/RuleSetRuntimeSupport.cs index 020992df..bc6ec4bb 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rules/RuleSetRuntimeSupport.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rules/RuleSetRuntimeSupport.cs @@ -1,7 +1,7 @@ using System.Collections.Immutable; -using Clockwork.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; -namespace Clockwork.Instrumentation.Rules; +namespace Orleans.Testing.Simulation.Instrumentation.Rules; /// /// How a rule set's rules support one target runtime. A rule set supports a target when every rule supports it or has diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rules/RuntimeFeatureVersion.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rules/RuntimeFeatureVersion.cs index 361972b1..3ae3395f 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rules/RuntimeFeatureVersion.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rules/RuntimeFeatureVersion.cs @@ -1,6 +1,6 @@ using System.Diagnostics.CodeAnalysis; -namespace Clockwork.Instrumentation.Rules; +namespace Orleans.Testing.Simulation.Instrumentation.Rules; /// /// Parses .NET runtime feature versions: major.minor, such as 11.0. Rules are classified against a diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Rules/RuntimeVersionRange.cs b/src/Orleans.Testing.Simulation.Instrumentation/Rules/RuntimeVersionRange.cs index 23b51c07..332f0fda 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Rules/RuntimeVersionRange.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Rules/RuntimeVersionRange.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Rules; +namespace Orleans.Testing.Simulation.Instrumentation.Rules; /// /// An inclusive range of .NET runtime feature versions (see ) a diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Signing/SigningException.cs b/src/Orleans.Testing.Simulation.Instrumentation/Signing/SigningException.cs index dbbdccaa..e9c81fe6 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Signing/SigningException.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Signing/SigningException.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Signing; +namespace Orleans.Testing.Simulation.Instrumentation.Signing; /// /// The exception thrown when a strong-name key cannot be loaded or is unusable for the requested diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameInfo.cs b/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameInfo.cs index b65fea50..ae6e6352 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameInfo.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameInfo.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Signing; +namespace Orleans.Testing.Simulation.Instrumentation.Signing; /// /// The strong-name identity of an assembly: whether it is signed/delay-signed/unsigned and, if it diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameInspector.cs b/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameInspector.cs index 5e6188a9..ae979c82 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameInspector.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameInspector.cs @@ -1,6 +1,6 @@ using Mono.Cecil; -namespace Clockwork.Instrumentation.Signing; +namespace Orleans.Testing.Simulation.Instrumentation.Signing; /// /// Detects the strong-name state of an assembly from its Mono.Cecil metadata and CLI header: diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameKey.cs b/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameKey.cs index 02041e1b..3bb04c35 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameKey.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameKey.cs @@ -2,7 +2,7 @@ using System.Numerics; using System.Security.Cryptography; -namespace Clockwork.Instrumentation.Signing; +namespace Orleans.Testing.Simulation.Instrumentation.Signing; /// /// A strong-name key loaded from an .snk file. The file is expected to hold a Microsoft diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameKeyLoader.cs b/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameKeyLoader.cs index 8a0b5719..e7cb0792 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameKeyLoader.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameKeyLoader.cs @@ -1,7 +1,7 @@ -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Configuration; -namespace Clockwork.Instrumentation.Signing; +namespace Orleans.Testing.Simulation.Instrumentation.Signing; /// Loads an optional configured strong-name key and produces a blocking diagnostic on failure. public static class StrongNameKeyLoader diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameSigner.cs b/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameSigner.cs index 704a69a5..c189a656 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameSigner.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameSigner.cs @@ -1,6 +1,6 @@ -using Clockwork.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; -namespace Clockwork.Instrumentation.Signing; +namespace Orleans.Testing.Simulation.Instrumentation.Signing; /// /// (Re-)signs a rewritten assembly with a supplied strong-name key. Mono.Cecil drops an assembly's diff --git a/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameStatus.cs b/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameStatus.cs index c8c8887a..9e7fa90a 100644 --- a/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameStatus.cs +++ b/src/Orleans.Testing.Simulation.Instrumentation/Signing/StrongNameStatus.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Signing; +namespace Orleans.Testing.Simulation.Instrumentation.Signing; /// /// The strong-name state of an assembly, as observed from its metadata and CLI header. diff --git a/src/Orleans.Testing.Simulation.Testing/ClockworkProgressCommandLineOptionsProvider.cs b/src/Orleans.Testing.Simulation.Testing/ClockworkProgressCommandLineOptionsProvider.cs index a4a2c727..61286b2b 100644 --- a/src/Orleans.Testing.Simulation.Testing/ClockworkProgressCommandLineOptionsProvider.cs +++ b/src/Orleans.Testing.Simulation.Testing/ClockworkProgressCommandLineOptionsProvider.cs @@ -10,7 +10,7 @@ using Microsoft.Testing.Platform.OutputDevice; using Microsoft.Testing.Platform.Services; -namespace Clockwork.Testing; +namespace Orleans.Testing.Simulation.Testing; /// Registers Clockwork's Microsoft Testing Platform command-line options. public static class TestingPlatformBuilderHook diff --git a/src/Orleans.Testing.Simulation.Testing/InMemoryLoggerProvider.cs b/src/Orleans.Testing.Simulation.Testing/InMemoryLoggerProvider.cs index 94341e04..c2a223be 100644 --- a/src/Orleans.Testing.Simulation.Testing/InMemoryLoggerProvider.cs +++ b/src/Orleans.Testing.Simulation.Testing/InMemoryLoggerProvider.cs @@ -4,7 +4,7 @@ using System.Text; using Microsoft.Extensions.Logging; -namespace Clockwork.Testing; +namespace Orleans.Testing.Simulation.Testing; /// /// Provides an in-memory log buffer shared by loggers created by an diff --git a/src/Orleans.Testing.Simulation.Testing/Orleans.Testing.Simulation.Testing.csproj b/src/Orleans.Testing.Simulation.Testing/Orleans.Testing.Simulation.Testing.csproj index f5f15f00..ff335b59 100644 --- a/src/Orleans.Testing.Simulation.Testing/Orleans.Testing.Simulation.Testing.csproj +++ b/src/Orleans.Testing.Simulation.Testing/Orleans.Testing.Simulation.Testing.csproj @@ -2,7 +2,7 @@ Test helpers and Microsoft Testing Platform integration for deterministic Clockwork scenarios, including live progress, in-memory log capture, stable test identity seeds, failure artifacts, and environment-driven replay. - Clockwork.Testing + Orleans.Testing.Simulation.Testing Orleans.Testing.Simulation.Testing Microsoft.Orleans.Testing.Simulation.Testing net11.0 diff --git a/src/Orleans.Testing.Simulation.Testing/ReplayTestFixture.cs b/src/Orleans.Testing.Simulation.Testing/ReplayTestFixture.cs index 762d0b12..5537e42f 100644 --- a/src/Orleans.Testing.Simulation.Testing/ReplayTestFixture.cs +++ b/src/Orleans.Testing.Simulation.Testing/ReplayTestFixture.cs @@ -1,12 +1,12 @@ using System.Globalization; using System.Text; -using Clockwork.Runtime.Exploration; -using Clockwork.Runtime.Random; -using Clockwork.Runtime.Replay; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Exploration; +using Orleans.Testing.Simulation.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Replay; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Testing; +namespace Orleans.Testing.Simulation.Testing; /// Environment variable names understood by replay-aware test fixtures. public static class ReplayTestEnvironment diff --git a/src/Orleans.Testing.Simulation.Testing/buildTransitive/Microsoft.Orleans.Testing.Simulation.Testing.props b/src/Orleans.Testing.Simulation.Testing/buildTransitive/Microsoft.Orleans.Testing.Simulation.Testing.props index 21310217..f7561236 100644 --- a/src/Orleans.Testing.Simulation.Testing/buildTransitive/Microsoft.Orleans.Testing.Simulation.Testing.props +++ b/src/Orleans.Testing.Simulation.Testing/buildTransitive/Microsoft.Orleans.Testing.Simulation.Testing.props @@ -2,7 +2,7 @@ Clockwork.Simulation.Testing - Clockwork.Testing.TestingPlatformBuilderHook + Orleans.Testing.Simulation.Testing.TestingPlatformBuilderHook diff --git a/src/Orleans.Testing.Simulation.Tool/ArgumentReader.cs b/src/Orleans.Testing.Simulation.Tool/ArgumentReader.cs index 651ce362..3d81dfeb 100644 --- a/src/Orleans.Testing.Simulation.Tool/ArgumentReader.cs +++ b/src/Orleans.Testing.Simulation.Tool/ArgumentReader.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Tool; +namespace Orleans.Testing.Simulation.Tool; /// /// A minimal, dependency-free command-line reader for a single command's arguments. It parses diff --git a/src/Orleans.Testing.Simulation.Tool/ConfigurationFactory.cs b/src/Orleans.Testing.Simulation.Tool/ConfigurationFactory.cs index ab226718..d2670e18 100644 --- a/src/Orleans.Testing.Simulation.Tool/ConfigurationFactory.cs +++ b/src/Orleans.Testing.Simulation.Tool/ConfigurationFactory.cs @@ -1,9 +1,9 @@ using System.Collections.Immutable; -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; -namespace Clockwork.Tool; +namespace Orleans.Testing.Simulation.Tool; /// /// Builds an from command-line options, optionally layered diff --git a/src/Orleans.Testing.Simulation.Tool/ExitCode.cs b/src/Orleans.Testing.Simulation.Tool/ExitCode.cs index 3802f8a5..8064e75b 100644 --- a/src/Orleans.Testing.Simulation.Tool/ExitCode.cs +++ b/src/Orleans.Testing.Simulation.Tool/ExitCode.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Tool; +namespace Orleans.Testing.Simulation.Tool; /// /// Process exit codes, grouped by failure class so that callers and CI can branch on the kind of diff --git a/src/Orleans.Testing.Simulation.Tool/InspectCommand.cs b/src/Orleans.Testing.Simulation.Tool/InspectCommand.cs index 77b36013..20b22224 100644 --- a/src/Orleans.Testing.Simulation.Tool/InspectCommand.cs +++ b/src/Orleans.Testing.Simulation.Tool/InspectCommand.cs @@ -1,11 +1,11 @@ using System.Text.Json; using System.Text.Json.Nodes; -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Inspection; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Signing; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Inspection; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Signing; -namespace Clockwork.Tool; +namespace Orleans.Testing.Simulation.Tool; /// /// The inspect command: reports the managed / ReadyToRun / mixed-mode shape, strong-name state, diff --git a/src/Orleans.Testing.Simulation.Tool/InstrumentCommand.cs b/src/Orleans.Testing.Simulation.Tool/InstrumentCommand.cs index 6f4bd8ac..e67610fc 100644 --- a/src/Orleans.Testing.Simulation.Tool/InstrumentCommand.cs +++ b/src/Orleans.Testing.Simulation.Tool/InstrumentCommand.cs @@ -1,15 +1,15 @@ using System.Collections.Immutable; using System.Text.Json; using System.Text.Json.Nodes; -using Clockwork.Instrumentation.Closure; -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Imaging; -using Clockwork.Instrumentation.Orchestration; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Signing; - -namespace Clockwork.Tool; +using Orleans.Testing.Simulation.Instrumentation.Closure; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Imaging; +using Orleans.Testing.Simulation.Instrumentation.Orchestration; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Signing; + +namespace Orleans.Testing.Simulation.Tool; /// /// The instrument command: instruments an application closure from an explicit source directory diff --git a/src/Orleans.Testing.Simulation.Tool/Orleans.Testing.Simulation.Tool.csproj b/src/Orleans.Testing.Simulation.Tool/Orleans.Testing.Simulation.Tool.csproj index d3b907d3..686cb74c 100644 --- a/src/Orleans.Testing.Simulation.Tool/Orleans.Testing.Simulation.Tool.csproj +++ b/src/Orleans.Testing.Simulation.Tool/Orleans.Testing.Simulation.Tool.csproj @@ -2,7 +2,7 @@ The Clockwork command-line tool for deterministic IL instrumentation, explicit scenario recording, exact replay, bounded schedule exploration, trace minimization, and diagnostics. Requires the .NET 11 runtime. - Clockwork.Tool + Orleans.Testing.Simulation.Tool Exe Orleans.Testing.Simulation.Tool net11.0 diff --git a/src/Orleans.Testing.Simulation.Tool/Program.cs b/src/Orleans.Testing.Simulation.Tool/Program.cs index 17b8772e..9fbd8a83 100644 --- a/src/Orleans.Testing.Simulation.Tool/Program.cs +++ b/src/Orleans.Testing.Simulation.Tool/Program.cs @@ -1,10 +1,10 @@ -using Clockwork.Instrumentation.Closure; -using Clockwork.Instrumentation.Configuration; -using Clockwork.Runtime.Decisions; -using Clockwork.Runtime.Exploration; -using Clockwork.Runtime.Replay; +using Orleans.Testing.Simulation.Instrumentation.Closure; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Runtime.Decisions; +using Orleans.Testing.Simulation.Runtime.Exploration; +using Orleans.Testing.Simulation.Runtime.Replay; -namespace Clockwork.Tool; +namespace Orleans.Testing.Simulation.Tool; /// /// Entry point for the clockwork CLI. It dispatches to a command, maps every failure class to a diff --git a/src/Orleans.Testing.Simulation.Tool/ReplayCommands.cs b/src/Orleans.Testing.Simulation.Tool/ReplayCommands.cs index 83a57ef3..851fd154 100644 --- a/src/Orleans.Testing.Simulation.Tool/ReplayCommands.cs +++ b/src/Orleans.Testing.Simulation.Tool/ReplayCommands.cs @@ -3,12 +3,12 @@ using System.Runtime.Loader; using System.Security.Cryptography; using System.Text.Json.Nodes; -using Clockwork.Instrumentation.Orchestration; -using Clockwork.Runtime.Exploration; -using Clockwork.Runtime.Replay; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Instrumentation.Orchestration; +using Orleans.Testing.Simulation.Runtime.Exploration; +using Orleans.Testing.Simulation.Runtime.Replay; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Tool; +namespace Orleans.Testing.Simulation.Tool; internal static class ReplayCommands { diff --git a/src/Orleans.Testing.Simulation/Cluster/ChaosInjector.cs b/src/Orleans.Testing.Simulation/Cluster/ChaosInjector.cs index 2f7b8d47..22c795c4 100644 --- a/src/Orleans.Testing.Simulation/Cluster/ChaosInjector.cs +++ b/src/Orleans.Testing.Simulation/Cluster/ChaosInjector.cs @@ -1,4 +1,4 @@ -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// Generic chaos injector for injecting random faults into simulations. diff --git a/src/Orleans.Testing.Simulation/Cluster/SimulationCluster.Adaptive.cs b/src/Orleans.Testing.Simulation/Cluster/SimulationCluster.Adaptive.cs index 8b1f270d..937b1171 100644 --- a/src/Orleans.Testing.Simulation/Cluster/SimulationCluster.Adaptive.cs +++ b/src/Orleans.Testing.Simulation/Cluster/SimulationCluster.Adaptive.cs @@ -1,4 +1,4 @@ -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// Adaptive execution-budget overloads for that spare callers from diff --git a/src/Orleans.Testing.Simulation/Cluster/SimulationCluster.cs b/src/Orleans.Testing.Simulation/Cluster/SimulationCluster.cs index 5bec881e..27d11680 100644 --- a/src/Orleans.Testing.Simulation/Cluster/SimulationCluster.cs +++ b/src/Orleans.Testing.Simulation/Cluster/SimulationCluster.cs @@ -1,13 +1,13 @@ using System.Diagnostics; using System.Globalization; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Random; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Shims; using Microsoft.Extensions.Logging; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// A directly constructible deterministic simulation cluster. The cluster owns the scheduler, @@ -17,7 +17,7 @@ namespace Clockwork; [DebuggerDisplay("{DebuggerDisplay,nq}")] public sealed partial class SimulationCluster : IAsyncDisposable { - private const string TeardownApi = "Clockwork.SimulationCluster.TeardownCancellationToken"; + private const string TeardownApi = "Orleans.Testing.Simulation.SimulationCluster.TeardownCancellationToken"; private const int DisposalMaxIterations = 1_000_000; @@ -51,7 +51,7 @@ public sealed partial class SimulationCluster : IAsyncDisposable /// method (RunUntil, RunUntilIdle, RunFor, RunToCompletion) cancels /// . /// - /// + /// /// A loaded assembly rewritten by Clockwork does not support the runtime this process runs. /// public SimulationCluster( @@ -130,7 +130,7 @@ internal SimulationCluster( /// /// Gets this cluster's runtime identity - a process-unique id (plus the seed and this /// cluster's concrete type name, for diagnostics) that becomes ambient (see - /// ) around every piece of + /// ) around every piece of /// work this cluster or its nodes execute through an ambient-integrated queue. /// /// @@ -143,7 +143,7 @@ internal SimulationCluster( /// /// Gets the root deterministic seed/decision authority for this cluster, exposing independent /// named seed domains (scheduler, network, application, identity, Buggify, model - see - /// ) plus stable per-node/per-site + /// ) plus stable per-node/per-site /// child derivation, all as pure functions of - never of registration or /// fork order. /// diff --git a/src/Orleans.Testing.Simulation/Execution/AdaptiveExecutionBudget.cs b/src/Orleans.Testing.Simulation/Execution/AdaptiveExecutionBudget.cs index 3ae621cc..9709c409 100644 --- a/src/Orleans.Testing.Simulation/Execution/AdaptiveExecutionBudget.cs +++ b/src/Orleans.Testing.Simulation/Execution/AdaptiveExecutionBudget.cs @@ -1,6 +1,6 @@ using System.Globalization; -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// diff --git a/src/Orleans.Testing.Simulation/Execution/SimulationDriveLoop.cs b/src/Orleans.Testing.Simulation/Execution/SimulationDriveLoop.cs index 3858ed43..3059a024 100644 --- a/src/Orleans.Testing.Simulation/Execution/SimulationDriveLoop.cs +++ b/src/Orleans.Testing.Simulation/Execution/SimulationDriveLoop.cs @@ -1,4 +1,4 @@ -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// Options for a single execution of . diff --git a/src/Orleans.Testing.Simulation/Execution/SimulationExecutionLimits.cs b/src/Orleans.Testing.Simulation/Execution/SimulationExecutionLimits.cs index d87900f9..7ce9b41d 100644 --- a/src/Orleans.Testing.Simulation/Execution/SimulationExecutionLimits.cs +++ b/src/Orleans.Testing.Simulation/Execution/SimulationExecutionLimits.cs @@ -1,6 +1,6 @@ using System.Globalization; -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// The configured limits that were in effect for a single drive-loop execution, captured diff --git a/src/Orleans.Testing.Simulation/Execution/SimulationExecutionReason.cs b/src/Orleans.Testing.Simulation/Execution/SimulationExecutionReason.cs index a596b6c6..7e0d1b9c 100644 --- a/src/Orleans.Testing.Simulation/Execution/SimulationExecutionReason.cs +++ b/src/Orleans.Testing.Simulation/Execution/SimulationExecutionReason.cs @@ -1,4 +1,4 @@ -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// Describes why a drive-loop execution diff --git a/src/Orleans.Testing.Simulation/Execution/SimulationExecutionResult.cs b/src/Orleans.Testing.Simulation/Execution/SimulationExecutionResult.cs index 08fb7b44..c9591411 100644 --- a/src/Orleans.Testing.Simulation/Execution/SimulationExecutionResult.cs +++ b/src/Orleans.Testing.Simulation/Execution/SimulationExecutionResult.cs @@ -1,6 +1,6 @@ using System.Globalization; -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// diff --git a/src/Orleans.Testing.Simulation/Execution/SimulationPendingWorkSummary.cs b/src/Orleans.Testing.Simulation/Execution/SimulationPendingWorkSummary.cs index 2021f194..a438d52d 100644 --- a/src/Orleans.Testing.Simulation/Execution/SimulationPendingWorkSummary.cs +++ b/src/Orleans.Testing.Simulation/Execution/SimulationPendingWorkSummary.cs @@ -1,7 +1,7 @@ using System.Globalization; using System.Text; -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// diff --git a/src/Orleans.Testing.Simulation/Execution/SimulationProgressEnvironment.cs b/src/Orleans.Testing.Simulation/Execution/SimulationProgressEnvironment.cs index d171b862..a6b8907d 100644 --- a/src/Orleans.Testing.Simulation/Execution/SimulationProgressEnvironment.cs +++ b/src/Orleans.Testing.Simulation/Execution/SimulationProgressEnvironment.cs @@ -1,6 +1,6 @@ using System.Globalization; -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// Environment variables which control periodic simulation progress reporting. public static class SimulationProgressEnvironment diff --git a/src/Orleans.Testing.Simulation/Execution/SimulationProgressReporter.cs b/src/Orleans.Testing.Simulation/Execution/SimulationProgressReporter.cs index 683a3362..ea0b405c 100644 --- a/src/Orleans.Testing.Simulation/Execution/SimulationProgressReporter.cs +++ b/src/Orleans.Testing.Simulation/Execution/SimulationProgressReporter.cs @@ -1,7 +1,7 @@ using System.Globalization; -using Clockwork.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Execution; -namespace Clockwork; +namespace Orleans.Testing.Simulation; internal readonly record struct SimulationProgressSnapshot( int Iterations, diff --git a/src/Orleans.Testing.Simulation/Execution/SimulationScheduledItemDiagnostic.cs b/src/Orleans.Testing.Simulation/Execution/SimulationScheduledItemDiagnostic.cs index 4b51d9c9..3c567364 100644 --- a/src/Orleans.Testing.Simulation/Execution/SimulationScheduledItemDiagnostic.cs +++ b/src/Orleans.Testing.Simulation/Execution/SimulationScheduledItemDiagnostic.cs @@ -1,6 +1,6 @@ using System.Globalization; -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// Diagnostic information about a single scheduled item found in a cluster or node queue while diff --git a/src/Orleans.Testing.Simulation/Networking/SimulationNetwork.cs b/src/Orleans.Testing.Simulation/Networking/SimulationNetwork.cs index 99f425fa..df5aad29 100644 --- a/src/Orleans.Testing.Simulation/Networking/SimulationNetwork.cs +++ b/src/Orleans.Testing.Simulation/Networking/SimulationNetwork.cs @@ -4,7 +4,7 @@ using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// Result of checking whether a message can be delivered. diff --git a/src/Orleans.Testing.Simulation/Nodes/SimulationNode.cs b/src/Orleans.Testing.Simulation/Nodes/SimulationNode.cs index 84ee72cb..daff04f5 100644 --- a/src/Orleans.Testing.Simulation/Nodes/SimulationNode.cs +++ b/src/Orleans.Testing.Simulation/Nodes/SimulationNode.cs @@ -1,6 +1,6 @@ using System.Diagnostics.CodeAnalysis; -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// Abstract base class for simulated nodes in a distributed system simulation. diff --git a/src/Orleans.Testing.Simulation/Nodes/SimulationNodeContext.cs b/src/Orleans.Testing.Simulation/Nodes/SimulationNodeContext.cs index fea27bd5..073b7b46 100644 --- a/src/Orleans.Testing.Simulation/Nodes/SimulationNodeContext.cs +++ b/src/Orleans.Testing.Simulation/Nodes/SimulationNodeContext.cs @@ -1,10 +1,10 @@ using System.Diagnostics; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Scheduling; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// Represents the execution state of a simulated node. diff --git a/src/Orleans.Testing.Simulation/Orleans.Testing.Simulation.csproj b/src/Orleans.Testing.Simulation/Orleans.Testing.Simulation.csproj index 191707eb..a60e4996 100644 --- a/src/Orleans.Testing.Simulation/Orleans.Testing.Simulation.csproj +++ b/src/Orleans.Testing.Simulation/Orleans.Testing.Simulation.csproj @@ -2,7 +2,7 @@ A deterministic simulation testing framework for distributed systems. - Clockwork + Orleans.Testing.Simulation Orleans.Testing.Simulation Microsoft.Orleans.Testing.Simulation net11.0 diff --git a/src/Orleans.Testing.Simulation/Randomness/SimulationRandom.cs b/src/Orleans.Testing.Simulation/Randomness/SimulationRandom.cs index 785a4599..3298d995 100644 --- a/src/Orleans.Testing.Simulation/Randomness/SimulationRandom.cs +++ b/src/Orleans.Testing.Simulation/Randomness/SimulationRandom.cs @@ -1,4 +1,4 @@ -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// A seeded random number generator for deterministic simulation testing. diff --git a/src/Orleans.Testing.Simulation/Randomness/SimulationSeed.cs b/src/Orleans.Testing.Simulation/Randomness/SimulationSeed.cs index 8e28f753..09f9c12c 100644 --- a/src/Orleans.Testing.Simulation/Randomness/SimulationSeed.cs +++ b/src/Orleans.Testing.Simulation/Randomness/SimulationSeed.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Random; -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// @@ -20,7 +20,7 @@ namespace Clockwork; /// Instead, the seed is derived by SHA-256 hashing the UTF-8 bytes of the input and interpreting /// the first four bytes of the digest as a big-endian, signed - see /// , the shared primitive this type delegates to (also used by -/// 's per-domain derivation, so +/// 's per-domain derivation, so /// "derive a stable seed from a string" has exactly one implementation across the codebase). /// SHA-256 is a fixed, versioned algorithm with no process- or platform-specific behavior, and /// UTF-8 encoding is likewise fixed and unambiguous, so the same string always produces the same diff --git a/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionId.cs b/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionId.cs index 4e9df5d3..740afbb3 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionId.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionId.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Decisions; +namespace Orleans.Testing.Simulation.Runtime.Decisions; /// /// A monotonically increasing identifier assigned by to each diff --git a/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionKind.cs b/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionKind.cs index b8622dcc..81f7b8aa 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionKind.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionKind.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Decisions; +namespace Orleans.Testing.Simulation.Runtime.Decisions; /// /// Broad categories of deterministic decision recorded via . diff --git a/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionLog.cs b/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionLog.cs index bc641e96..319e1037 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionLog.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionLog.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Decisions; +namespace Orleans.Testing.Simulation.Runtime.Decisions; /// /// Records deterministic decisions in a monotonically ordered, append-only log. Scheduling and diff --git a/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionRecord.cs b/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionRecord.cs index dc76ad4d..e6a2dda1 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionRecord.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionRecord.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Random; -namespace Clockwork.Runtime.Decisions; +namespace Orleans.Testing.Simulation.Runtime.Decisions; /// /// The information a caller supplies to to record one @@ -47,7 +47,7 @@ public readonly record struct SimulationDecisionRequest( /// are taken from the ambient /// at the call site. This is the intended way to /// record a decision from inside controlled work (for example a running - /// , which installs its logical + /// , which installs its logical /// execution identity into the ambient context): the correct runtime/node/logical identity is /// captured automatically instead of being threaded through by hand. It is purely additive - the /// primary constructor remains available for callers that already hold the identity values. diff --git a/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionReplayReader.cs b/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionReplayReader.cs index 779199d7..fb1fdd1a 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionReplayReader.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionReplayReader.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Decisions; +namespace Orleans.Testing.Simulation.Runtime.Decisions; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionReplayValidator.cs b/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionReplayValidator.cs index 77b39b01..1d399481 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionReplayValidator.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Decisions/SimulationDecisionReplayValidator.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Decisions; +namespace Orleans.Testing.Simulation.Runtime.Decisions; /// /// Thrown by at the first decision whose content diff --git a/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationExecutionContext.cs b/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationExecutionContext.cs index 64a1d4f0..92e2d4c1 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationExecutionContext.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationExecutionContext.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Execution; +namespace Orleans.Testing.Simulation.Runtime.Execution; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationExecutionSnapshot.cs b/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationExecutionSnapshot.cs index d42fe247..cb5dca08 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationExecutionSnapshot.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationExecutionSnapshot.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Execution; +namespace Orleans.Testing.Simulation.Runtime.Execution; /// /// An immutable snapshot of the ambient simulation execution context observed at a point in time - diff --git a/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationExternalEntryGuard.cs b/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationExternalEntryGuard.cs index eeb07763..5a591f90 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationExternalEntryGuard.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationExternalEntryGuard.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Execution; +namespace Orleans.Testing.Simulation.Runtime.Execution; /// /// Thrown by when a callback is about to execute inside diff --git a/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationFlowSuppressionDiagnostics.cs b/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationFlowSuppressionDiagnostics.cs index fa4725f7..87b2af8d 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationFlowSuppressionDiagnostics.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationFlowSuppressionDiagnostics.cs @@ -1,6 +1,6 @@ using System.Collections.Concurrent; -namespace Clockwork.Runtime.Execution; +namespace Orleans.Testing.Simulation.Runtime.Execution; /// /// A single recorded call to . diff --git a/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationLogicalExecutionId.cs b/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationLogicalExecutionId.cs index a3049f2d..314bc822 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationLogicalExecutionId.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationLogicalExecutionId.cs @@ -1,11 +1,11 @@ -namespace Clockwork.Runtime.Execution; +namespace Orleans.Testing.Simulation.Runtime.Execution; /// /// /// Identifies one independently interleavable strand of simulated work (roughly one simulated /// fiber/task chain). Controlled schedulers install it in , /// and the decision-log model records it in -/// . +/// . /// /// /// is the value observed outside any explicitly-entered logical execution scope. diff --git a/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationNodeIdentity.cs b/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationNodeIdentity.cs index 6fdfb3c3..9bdcc3c5 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationNodeIdentity.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationNodeIdentity.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Execution; +namespace Orleans.Testing.Simulation.Runtime.Execution; /// /// Identifies one simulated node's identity/context for the ambient diff --git a/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationRuntimeIdentity.cs b/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationRuntimeIdentity.cs index 7bfd9335..650b4296 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationRuntimeIdentity.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Execution/SimulationRuntimeIdentity.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Runtime.Execution; +namespace Orleans.Testing.Simulation.Runtime.Execution; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Exploration/ReplayTraceMinimizer.cs b/src/Orleans.Testing.Simulation/Runtime/Exploration/ReplayTraceMinimizer.cs index b6d2ce4e..7d1a0bbe 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Exploration/ReplayTraceMinimizer.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Exploration/ReplayTraceMinimizer.cs @@ -1,10 +1,10 @@ using System.Diagnostics; using System.Globalization; -using Clockwork.Runtime.Decisions; -using Clockwork.Runtime.Replay; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Decisions; +using Orleans.Testing.Simulation.Runtime.Replay; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Runtime.Exploration; +namespace Orleans.Testing.Simulation.Runtime.Exploration; /// Configures bounded deterministic replay trace minimization. public sealed record ReplayMinimizationOptions diff --git a/src/Orleans.Testing.Simulation/Runtime/Exploration/ScheduleExplorer.cs b/src/Orleans.Testing.Simulation/Runtime/Exploration/ScheduleExplorer.cs index 56a1b617..c671029d 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Exploration/ScheduleExplorer.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Exploration/ScheduleExplorer.cs @@ -2,10 +2,10 @@ using System.Globalization; using System.Security.Cryptography; using System.Text; -using Clockwork.Runtime.Replay; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Replay; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Runtime.Exploration; +namespace Orleans.Testing.Simulation.Runtime.Exploration; /// Exploration stop reason. public enum ExplorationTerminationReason diff --git a/src/Orleans.Testing.Simulation/Runtime/GlobalUsings.Shims.cs b/src/Orleans.Testing.Simulation/Runtime/GlobalUsings.Shims.cs index d734f78b..22e54607 100644 --- a/src/Orleans.Testing.Simulation/Runtime/GlobalUsings.Shims.cs +++ b/src/Orleans.Testing.Simulation/Runtime/GlobalUsings.Shims.cs @@ -1,10 +1,10 @@ -global using Clockwork.Runtime; -global using Clockwork.Runtime.Shims; -global using Clockwork.Runtime.Tasks; -global using Clockwork.Runtime.Threading; -global using Clockwork.Shims.System; -global using Clockwork.Shims.System.Diagnostics; -global using Clockwork.Shims.System.Runtime.CompilerServices; -global using Clockwork.Shims.System.Security.Cryptography; -global using Clockwork.Shims.System.Threading; -global using Clockwork.Shims.System.Threading.Tasks; +global using Orleans.Testing.Simulation.Runtime; +global using Orleans.Testing.Simulation.Runtime.Shims; +global using Orleans.Testing.Simulation.Runtime.Tasks; +global using Orleans.Testing.Simulation.Runtime.Threading; +global using Orleans.Testing.Simulation.Shims.System; +global using Orleans.Testing.Simulation.Shims.System.Diagnostics; +global using Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; +global using Orleans.Testing.Simulation.Shims.System.Security.Cryptography; +global using Orleans.Testing.Simulation.Shims.System.Threading; +global using Orleans.Testing.Simulation.Shims.System.Threading.Tasks; diff --git a/src/Orleans.Testing.Simulation/Runtime/Policy/SimulationApiPolicy.cs b/src/Orleans.Testing.Simulation/Runtime/Policy/SimulationApiPolicy.cs index 47354213..5c5649ff 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Policy/SimulationApiPolicy.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Policy/SimulationApiPolicy.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Policy; +namespace Orleans.Testing.Simulation.Runtime.Policy; /// /// Classifies how a rewrite rule treats a targeted API. Rules are the sole source of API policy; diff --git a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceAccessKind.cs b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceAccessKind.cs index 28d047c3..fc3091db 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceAccessKind.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceAccessKind.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Racing; +namespace Orleans.Testing.Simulation.Runtime.Racing; /// Classifies an instrumented race-exploration scheduling point. public enum RaceAccessKind diff --git a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceAccessRecord.cs b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceAccessRecord.cs index f722ef02..4f4053f8 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceAccessRecord.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceAccessRecord.cs @@ -1,7 +1,7 @@ using System.Collections.Immutable; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Runtime.Racing; +namespace Orleans.Testing.Simulation.Runtime.Racing; /// One operation's read or write of a logical memory location. /// The accessing controlled operation. diff --git a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceInstrumentation.cs b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceInstrumentation.cs index c20852c7..734b52c9 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceInstrumentation.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceInstrumentation.cs @@ -1,7 +1,7 @@ using System.ComponentModel; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Runtime.Racing; +namespace Orleans.Testing.Simulation.Runtime.Racing; /// /// Runtime targets for race-exploration IL instrumentation. Calls are no-ops unless they execute diff --git a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceMemoryLocation.cs b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceMemoryLocation.cs index 5f5ac431..6dd281ba 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceMemoryLocation.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceMemoryLocation.cs @@ -1,6 +1,6 @@ using System.Globalization; -namespace Clockwork.Runtime.Racing; +namespace Orleans.Testing.Simulation.Runtime.Racing; /// Classifies a logical memory location tracked during race exploration. public enum RaceMemoryLocationKind diff --git a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceReport.cs b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceReport.cs index b07cd78f..a722dc0d 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceReport.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceReport.cs @@ -1,7 +1,7 @@ using System.Collections.Immutable; using System.Text; -namespace Clockwork.Runtime.Racing; +namespace Orleans.Testing.Simulation.Runtime.Racing; /// A deterministic report of the first conflicting unordered access in a run. public sealed record RaceReport diff --git a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceSchedulingPoint.cs b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceSchedulingPoint.cs index 9b2786c9..f3b4ac69 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceSchedulingPoint.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceSchedulingPoint.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Runtime.Racing; +namespace Orleans.Testing.Simulation.Runtime.Racing; /// A deterministic trace entry emitted by one injected scheduling point. /// The scheduler-local, monotonically increasing trace sequence. diff --git a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceSchedulingTrace.cs b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceSchedulingTrace.cs index 047a87f7..25dd2b51 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceSchedulingTrace.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceSchedulingTrace.cs @@ -1,6 +1,6 @@ using System.Collections; -namespace Clockwork.Runtime.Racing; +namespace Orleans.Testing.Simulation.Runtime.Racing; /// /// The most recent race scheduling points, oldest first. Points before the newest are dropped, diff --git a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceSourceLocation.cs b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceSourceLocation.cs index b6f3f75b..be8bef37 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceSourceLocation.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceSourceLocation.cs @@ -1,6 +1,6 @@ using System.Globalization; -namespace Clockwork.Runtime.Racing; +namespace Orleans.Testing.Simulation.Runtime.Racing; /// Exact IL and source metadata for an injected race-exploration scheduling point. /// The Cecil full name of the containing method. diff --git a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceSynchronization.cs b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceSynchronization.cs index b77f8725..9126ad37 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceSynchronization.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceSynchronization.cs @@ -1,7 +1,7 @@ using System.ComponentModel; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Runtime.Racing; +namespace Orleans.Testing.Simulation.Runtime.Racing; /// /// Bridges controlled synchronization transitions into the race detector's happens-before and diff --git a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceTaskDependencies.cs b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceTaskDependencies.cs index 9f5880c7..7fade964 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceTaskDependencies.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceTaskDependencies.cs @@ -1,6 +1,6 @@ using System.Runtime.CompilerServices; -namespace Clockwork.Runtime.Racing; +namespace Orleans.Testing.Simulation.Runtime.Racing; /// Weakly associates task proxies with the antecedents whose completion they represent. internal static class RaceTaskDependencies diff --git a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceTracker.cs b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceTracker.cs index e154e69b..ad7237a3 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Racing/RaceTracker.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Racing/RaceTracker.cs @@ -1,9 +1,9 @@ using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Runtime.Racing; +namespace Orleans.Testing.Simulation.Runtime.Racing; /// Scheduler-owned vector-clock race detector. /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Random/SimulationSeedAuthority.cs b/src/Orleans.Testing.Simulation/Runtime/Random/SimulationSeedAuthority.cs index 302dca9c..a5627129 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Random/SimulationSeedAuthority.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Random/SimulationSeedAuthority.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Random; +namespace Orleans.Testing.Simulation.Runtime.Random; /// /// @@ -29,7 +29,7 @@ namespace Clockwork.Runtime.Random; /// /// /// This service deals only in seeds, not instances: -/// callers (e.g. the Clockwork.Simulation package) wrap a returned seed in whatever random +/// callers (e.g. the Orleans.Testing.Simulation.Simulation package) wrap a returned seed in whatever random /// type is appropriate for their layer (SimulationRandom today). /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Random/SimulationSeedDomain.cs b/src/Orleans.Testing.Simulation/Runtime/Random/SimulationSeedDomain.cs index 346ce42a..add0a088 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Random/SimulationSeedDomain.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Random/SimulationSeedDomain.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Random; +namespace Orleans.Testing.Simulation.Runtime.Random; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Random/SimulationStableHash.cs b/src/Orleans.Testing.Simulation/Runtime/Random/SimulationStableHash.cs index 317529ca..4d7b1253 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Random/SimulationStableHash.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Random/SimulationStableHash.cs @@ -2,12 +2,12 @@ using System.Security.Cryptography; using System.Text; -namespace Clockwork.Runtime.Random; +namespace Orleans.Testing.Simulation.Runtime.Random; /// /// /// The stable, cross-process-safe string-hashing primitive shared by every deterministic seed -/// derivation in Clockwork: the SimulationSeed type (in the Clockwork.Simulation +/// derivation in Clockwork: the SimulationSeed type (in the Orleans.Testing.Simulation.Simulation /// package) delegates to this exact algorithm, and builds /// its per-domain/per-site derivation on top of it, so "derive a stable seed from a string" has /// exactly one implementation across the codebase. diff --git a/src/Orleans.Testing.Simulation/Runtime/Replay/IReplayScenario.cs b/src/Orleans.Testing.Simulation/Runtime/Replay/IReplayScenario.cs index dc0658ed..43f96506 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Replay/IReplayScenario.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Replay/IReplayScenario.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Runtime.Replay; +namespace Orleans.Testing.Simulation.Runtime.Replay; /// /// Explicit scenario harness contract used by replay tooling. Implementations register controlled diff --git a/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayArtifact.cs b/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayArtifact.cs index 3771f43e..8f79a121 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayArtifact.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayArtifact.cs @@ -1,10 +1,10 @@ -using Clockwork.Runtime.Decisions; -using Clockwork.Runtime.Random; -using Clockwork.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Decisions; +using Orleans.Testing.Simulation.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Racing; using System.Text.Json.Serialization; -namespace Clockwork.Runtime.Replay; +namespace Orleans.Testing.Simulation.Runtime.Replay; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayArtifactLimits.cs b/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayArtifactLimits.cs index 5f8cfe45..58c675fa 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayArtifactLimits.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayArtifactLimits.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Replay; +namespace Orleans.Testing.Simulation.Runtime.Replay; /// Hard parser and recorder limits for replay artifacts. public static class ReplayArtifactLimits diff --git a/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayArtifactSerializer.cs b/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayArtifactSerializer.cs index a544e352..e6753550 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayArtifactSerializer.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayArtifactSerializer.cs @@ -2,11 +2,11 @@ using System.Text; using System.Text.Json; using System.Text.Json.Serialization; -using Clockwork.Runtime.Decisions; -using Clockwork.Runtime.Random; -using Clockwork.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Decisions; +using Orleans.Testing.Simulation.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Racing; -namespace Clockwork.Runtime.Replay; +namespace Orleans.Testing.Simulation.Runtime.Replay; /// Reads and writes bounded replay artifacts using stable canonical UTF-8 JSON. public static class ReplayArtifactSerializer diff --git a/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayCompatibility.cs b/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayCompatibility.cs index fb67b252..73f3c8b9 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayCompatibility.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayCompatibility.cs @@ -2,7 +2,7 @@ using System.Reflection; using System.Runtime.InteropServices; -namespace Clockwork.Runtime.Replay; +namespace Orleans.Testing.Simulation.Runtime.Replay; /// Describes the expected runtime and instrumentation identity for a replay. public sealed record ReplayCompatibilityRequirements diff --git a/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayDiagnostics.cs b/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayDiagnostics.cs index 1a185b9a..74e537a0 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayDiagnostics.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayDiagnostics.cs @@ -1,10 +1,10 @@ using System.Globalization; using System.Text; using System.Text.Json.Serialization; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Runtime.Replay; +namespace Orleans.Testing.Simulation.Runtime.Replay; /// A stable operation status in replay diagnostics. public sealed record ReplayOperationDiagnostic diff --git a/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayRunner.cs b/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayRunner.cs index 98cfaaf4..2dba7dcf 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayRunner.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Replay/ReplayRunner.cs @@ -1,16 +1,16 @@ using System.Globalization; using System.Security.Cryptography; using System.Text; -using Clockwork.Runtime.Decisions; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Random; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Scheduling.Resources; -using Clockwork.Runtime.Scheduling.Strategies; -using Clockwork.Runtime.Shims; - -namespace Clockwork.Runtime.Replay; +using Orleans.Testing.Simulation.Runtime.Decisions; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling.Resources; +using Orleans.Testing.Simulation.Runtime.Scheduling.Strategies; +using Orleans.Testing.Simulation.Runtime.Shims; + +namespace Orleans.Testing.Simulation.Runtime.Replay; /// Supported deterministic scheduling policies for recorded execution. public enum ReplaySchedulingPolicy diff --git a/src/Orleans.Testing.Simulation/Runtime/Replay/StrictJsonStringEnumConverter.cs b/src/Orleans.Testing.Simulation/Runtime/Replay/StrictJsonStringEnumConverter.cs index e76f831d..d72df651 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Replay/StrictJsonStringEnumConverter.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Replay/StrictJsonStringEnumConverter.cs @@ -1,7 +1,7 @@ using System.Text.Json; using System.Text.Json.Serialization; -namespace Clockwork.Runtime.Replay; +namespace Orleans.Testing.Simulation.Runtime.Replay; internal sealed class StrictJsonStringEnumConverter : JsonConverter where TEnum : struct, Enum diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/ISimulationOperationListener.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/ISimulationOperationListener.cs index dc402024..409d0c98 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/ISimulationOperationListener.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/ISimulationOperationListener.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Scheduling; +namespace Orleans.Testing.Simulation.Runtime.Scheduling; /// /// An optional observer of lifecycle transitions within a diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationDeadlockReport.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationDeadlockReport.cs index e9d4cd3f..a9fb2962 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationDeadlockReport.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationDeadlockReport.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Scheduling.Resources; +namespace Orleans.Testing.Simulation.Runtime.Scheduling.Resources; /// /// The scheduler's deterministic classification of whether outstanding work can still make progress. diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationResource.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationResource.cs index 3f911c10..0f994755 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationResource.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationResource.cs @@ -1,7 +1,7 @@ using System.Diagnostics; using System.Globalization; -namespace Clockwork.Runtime.Scheduling.Resources; +namespace Orleans.Testing.Simulation.Runtime.Scheduling.Resources; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationResourceId.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationResourceId.cs index 82ab5607..7e3f253a 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationResourceId.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationResourceId.cs @@ -1,6 +1,6 @@ using System.Globalization; -namespace Clockwork.Runtime.Scheduling.Resources; +namespace Orleans.Testing.Simulation.Runtime.Scheduling.Resources; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationResourceKind.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationResourceKind.cs index d5a10ae6..346a1f51 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationResourceKind.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationResourceKind.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Scheduling.Resources; +namespace Orleans.Testing.Simulation.Runtime.Scheduling.Resources; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationResourceWaiter.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationResourceWaiter.cs index fec8ebd4..8ba1d272 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationResourceWaiter.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationResourceWaiter.cs @@ -1,6 +1,6 @@ using System.Globalization; -namespace Clockwork.Runtime.Scheduling.Resources; +namespace Orleans.Testing.Simulation.Runtime.Scheduling.Resources; /// /// One waiter parked on a : the pairing of a paused diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationTimerQueue.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationTimerQueue.cs index 5938cdc4..63961a5e 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationTimerQueue.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationTimerQueue.cs @@ -1,7 +1,7 @@ using System.Globalization; -using Clockwork.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Execution; -namespace Clockwork.Runtime.Scheduling.Resources; +namespace Orleans.Testing.Simulation.Runtime.Scheduling.Resources; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationTimerRegistration.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationTimerRegistration.cs index a2a49af8..cdea5a27 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationTimerRegistration.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationTimerRegistration.cs @@ -1,8 +1,8 @@ using System.Globalization; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Runtime.Scheduling.Resources; +namespace Orleans.Testing.Simulation.Runtime.Scheduling.Resources; internal interface ISimulationTimerEntry { diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationWaitOutcome.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationWaitOutcome.cs index c533cf72..9ca6ca29 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationWaitOutcome.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Resources/SimulationWaitOutcome.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Scheduling.Resources; +namespace Orleans.Testing.Simulation.Runtime.Scheduling.Resources; /// /// The terminal reason a controlled resource wait ended, returned by diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationOperation.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationOperation.cs index 441563a5..24d3b1fd 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationOperation.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationOperation.cs @@ -1,8 +1,8 @@ using System.Diagnostics; using System.Globalization; -using Clockwork.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Execution; -namespace Clockwork.Runtime.Scheduling; +namespace Orleans.Testing.Simulation.Runtime.Scheduling; /// /// @@ -104,7 +104,7 @@ internal SimulationOperation( /// /// Gets this operation's scheduling priority. Higher values are preferred by the /// the priority strategy created by - /// ; it has no + /// ; it has no /// effect under the other strategies. Defaults to 0. This is a crisp, caller-supplied /// integer (not a BCL ): the scheduler never infers /// or mutates it, so priority-ordered schedules stay reproducible. diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationOperationId.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationOperationId.cs index 7fabe54f..27805646 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationOperationId.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationOperationId.cs @@ -1,6 +1,6 @@ using System.Globalization; -namespace Clockwork.Runtime.Scheduling; +namespace Orleans.Testing.Simulation.Runtime.Scheduling; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationOperationPauseReason.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationOperationPauseReason.cs index bcca154c..1e09f6d2 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationOperationPauseReason.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationOperationPauseReason.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Scheduling; +namespace Orleans.Testing.Simulation.Runtime.Scheduling; /// /// A coarse classification of why a released the diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationOperationState.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationOperationState.cs index 1e97cf7a..ef55509d 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationOperationState.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationOperationState.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Scheduling; +namespace Orleans.Testing.Simulation.Runtime.Scheduling; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationScheduler.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationScheduler.cs index 1c72ad9d..0594e0a4 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationScheduler.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationScheduler.cs @@ -4,16 +4,16 @@ using System.Globalization; using System.Runtime.ExceptionServices; using System.Text; -using Clockwork.Runtime.Decisions; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Random; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Scheduling.Resources; -using Clockwork.Runtime.Scheduling.Strategies; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Decisions; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Scheduling.Resources; +using Orleans.Testing.Simulation.Runtime.Scheduling.Strategies; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Runtime.Scheduling; +namespace Orleans.Testing.Simulation.Runtime.Scheduling; /// /// @@ -653,7 +653,7 @@ internal bool RunOne(CancellationToken cancellationToken) } internal void DrainUntil(Func completed, CancellationToken cancellationToken) => - DrainUntil(completed, "Clockwork.Runtime.Tasks synchronous wait", cancellationToken); + DrainUntil(completed, "Orleans.Testing.Simulation.Runtime.Tasks synchronous wait", cancellationToken); internal ISimulationTimer RegisterTimer( SimulationNodeIdentity? node, diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationSchedulerExceptions.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationSchedulerExceptions.cs index d7452455..b5376c94 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationSchedulerExceptions.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/SimulationSchedulerExceptions.cs @@ -1,6 +1,6 @@ using System.Globalization; -namespace Clockwork.Runtime.Scheduling; +namespace Orleans.Testing.Simulation.Runtime.Scheduling; /// /// Base class for exceptions that report misuse of the controlled-operation kernel (for example an diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/FifoSchedulingStrategy.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/FifoSchedulingStrategy.cs index 9a24248a..23629aee 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/FifoSchedulingStrategy.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/FifoSchedulingStrategy.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Scheduling.Strategies; +namespace Orleans.Testing.Simulation.Runtime.Scheduling.Strategies; /// /// The legacy/compatibility policy: always run the runnable operation with the smallest id. Because diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/ISimulationSchedulingStrategy.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/ISimulationSchedulingStrategy.cs index 928aea4d..fa8bfc29 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/ISimulationSchedulingStrategy.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/ISimulationSchedulingStrategy.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Scheduling.Strategies; +namespace Orleans.Testing.Simulation.Runtime.Scheduling.Strategies; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/PrioritySchedulingStrategy.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/PrioritySchedulingStrategy.cs index 2df8416e..36293cfd 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/PrioritySchedulingStrategy.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/PrioritySchedulingStrategy.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Scheduling.Strategies; +namespace Orleans.Testing.Simulation.Runtime.Scheduling.Strategies; /// /// Runs the runnable operation with the highest , breaking diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/ReplaySchedulingStrategy.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/ReplaySchedulingStrategy.cs index 1c2188a4..b56fccf7 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/ReplaySchedulingStrategy.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/ReplaySchedulingStrategy.cs @@ -1,8 +1,8 @@ using System.Globalization; -using Clockwork.Runtime.Decisions; -using Clockwork.Runtime.Scheduling.Resources; +using Orleans.Testing.Simulation.Runtime.Decisions; +using Orleans.Testing.Simulation.Runtime.Scheduling.Resources; -namespace Clockwork.Runtime.Scheduling.Strategies; +namespace Orleans.Testing.Simulation.Runtime.Scheduling.Strategies; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/RoundRobinSchedulingStrategy.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/RoundRobinSchedulingStrategy.cs index 4020edfb..e0552a3d 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/RoundRobinSchedulingStrategy.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/RoundRobinSchedulingStrategy.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Scheduling.Strategies; +namespace Orleans.Testing.Simulation.Runtime.Scheduling.Strategies; /// /// The default policy, identical to the controlled-operation scheduler: run the runnable operation whose id is diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/SeededRandomSchedulingStrategy.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/SeededRandomSchedulingStrategy.cs index c61dcd1a..9bf36711 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/SeededRandomSchedulingStrategy.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/SeededRandomSchedulingStrategy.cs @@ -1,8 +1,8 @@ -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Random; -using Clockwork.Runtime.Scheduling.Resources; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Scheduling.Resources; -namespace Clockwork.Runtime.Scheduling.Strategies; +namespace Orleans.Testing.Simulation.Runtime.Scheduling.Strategies; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/SimulationSchedulingContext.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/SimulationSchedulingContext.cs index 139eae5c..a0e75974 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/SimulationSchedulingContext.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/SimulationSchedulingContext.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Scheduling.Strategies; +namespace Orleans.Testing.Simulation.Runtime.Scheduling.Strategies; /// /// The immutable input an reasons over when picking the diff --git a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/SimulationSchedulingStrategies.cs b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/SimulationSchedulingStrategies.cs index f018507d..81616ea1 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/SimulationSchedulingStrategies.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Scheduling/Strategies/SimulationSchedulingStrategies.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime.Decisions; -using Clockwork.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Decisions; +using Orleans.Testing.Simulation.Runtime.Execution; -namespace Clockwork.Runtime.Scheduling.Strategies; +namespace Orleans.Testing.Simulation.Runtime.Scheduling.Strategies; /// /// Creates the built-in simulation scheduling strategies. diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/ISimulationRuntimeEnvironment.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/ISimulationRuntimeEnvironment.cs index 505f74dc..5078d0a3 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/ISimulationRuntimeEnvironment.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/ISimulationRuntimeEnvironment.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Execution; -namespace Clockwork.Runtime.Shims; +namespace Orleans.Testing.Simulation.Runtime.Shims; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/Microsoft/Extensions/Hosting/ControlledBackgroundService.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/Microsoft/Extensions/Hosting/ControlledBackgroundService.cs index 39be6127..81573fb1 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/Microsoft/Extensions/Hosting/ControlledBackgroundService.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/Microsoft/Extensions/Hosting/ControlledBackgroundService.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.Microsoft.Extensions.Hosting; +namespace Orleans.Testing.Simulation.Shims.Microsoft.Extensions.Hosting; /// /// Rejection of where rewritten code calls diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/Microsoft/Extensions/Hosting/ControlledHostingAbstractionsHostBuilderExtensions.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/Microsoft/Extensions/Hosting/ControlledHostingAbstractionsHostBuilderExtensions.cs index 024ece29..d6c388de 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/Microsoft/Extensions/Hosting/ControlledHostingAbstractionsHostBuilderExtensions.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/Microsoft/Extensions/Hosting/ControlledHostingAbstractionsHostBuilderExtensions.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Shims; using Microsoft.Extensions.Hosting; -namespace Clockwork.Shims.Microsoft.Extensions.Hosting; +namespace Orleans.Testing.Simulation.Shims.Microsoft.Extensions.Hosting; /// /// Controlled . The BCL's StartAsync builds the host and diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/Microsoft/Extensions/Hosting/ControlledHostingAbstractionsHostExtensions.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/Microsoft/Extensions/Hosting/ControlledHostingAbstractionsHostExtensions.cs index 826d1b11..78ca9acf 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/Microsoft/Extensions/Hosting/ControlledHostingAbstractionsHostExtensions.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/Microsoft/Extensions/Hosting/ControlledHostingAbstractionsHostExtensions.cs @@ -1,13 +1,13 @@ -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; -using Clockwork.Shims.System.Runtime.CompilerServices; -using Clockwork.Shims.System.Threading; -using Clockwork.Shims.System.Threading.Tasks; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; +using Orleans.Testing.Simulation.Shims.System.Threading; +using Orleans.Testing.Simulation.Shims.System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; -namespace Clockwork.Shims.Microsoft.Extensions.Hosting; +namespace Orleans.Testing.Simulation.Shims.Microsoft.Extensions.Hosting; /// /// Controlled . The BCL's members await the host's work in framework code, diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/SimulationNotActiveException.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/SimulationNotActiveException.cs index 3c15c8e4..2e9fb671 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/SimulationNotActiveException.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/SimulationNotActiveException.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Shims; +namespace Orleans.Testing.Simulation.Runtime.Shims; /// Thrown when a controlled rewrite target is invoked without an active simulation. public sealed class SimulationNotActiveException : InvalidOperationException diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/SimulationRuntimeDispatch.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/SimulationRuntimeDispatch.cs index 5858dca7..bd9a012a 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/SimulationRuntimeDispatch.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/SimulationRuntimeDispatch.cs @@ -1,8 +1,8 @@ using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; -using Clockwork.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Execution; -namespace Clockwork.Runtime.Shims; +namespace Orleans.Testing.Simulation.Runtime.Shims; /// Centralizes active-simulation assertion and runtime-environment access for rewrite targets. public static class SimulationRuntimeDispatch diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/SimulationRuntimeEnvironment.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/SimulationRuntimeEnvironment.cs index 5b3295f7..b6944775 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/SimulationRuntimeEnvironment.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/SimulationRuntimeEnvironment.cs @@ -1,8 +1,8 @@ using System.Collections.Concurrent; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Random; -namespace Clockwork.Runtime.Shims; +namespace Orleans.Testing.Simulation.Runtime.Shims; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/SimulationShimException.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/SimulationShimException.cs index e0e1e1be..4e0da744 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/SimulationShimException.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/SimulationShimException.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Shims; +namespace Orleans.Testing.Simulation.Runtime.Shims; /// /// The base type for failures reported by a deterministic BCL shim while a simulation is active, diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/SimulationThreadAffinityException.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/SimulationThreadAffinityException.cs index a296f30d..79c87fb8 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/SimulationThreadAffinityException.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/SimulationThreadAffinityException.cs @@ -1,7 +1,7 @@ using System.Globalization; -using Clockwork.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Execution; -namespace Clockwork.Runtime.Shims; +namespace Orleans.Testing.Simulation.Runtime.Shims; /// /// Thrown when a controlled rewrite target runs with a simulation's ambient context on a thread other than that diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Collections/Concurrent/ControlledBlockingCollection.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Collections/Concurrent/ControlledBlockingCollection.cs index 779046fd..dc10efc6 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Collections/Concurrent/ControlledBlockingCollection.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Collections/Concurrent/ControlledBlockingCollection.cs @@ -1,11 +1,11 @@ using System.Collections.Concurrent; using System.Diagnostics.CodeAnalysis; using System.Threading; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.Collections.Concurrent; +namespace Orleans.Testing.Simulation.Shims.System.Collections.Concurrent; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Collections/Concurrent/ControlledPartitioner.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Collections/Concurrent/ControlledPartitioner.cs index d29bd88c..9cd62f59 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Collections/Concurrent/ControlledPartitioner.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Collections/Concurrent/ControlledPartitioner.cs @@ -1,8 +1,8 @@ using System.Collections.Concurrent; using System.ComponentModel; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Collections.Concurrent; +namespace Orleans.Testing.Simulation.Shims.System.Collections.Concurrent; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/ComponentModel/ControlledBackgroundWorker.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/ComponentModel/ControlledBackgroundWorker.cs index f68c2940..436d59ba 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/ComponentModel/ControlledBackgroundWorker.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/ComponentModel/ControlledBackgroundWorker.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.ComponentModel; +namespace Orleans.Testing.Simulation.Shims.System.ComponentModel; /// /// Rejection of and its overload with an diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledDateTime.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledDateTime.cs index 92fef11b..acf9ef4d 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledDateTime.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledDateTime.cs @@ -1,7 +1,7 @@ using System.ComponentModel; -using Clockwork.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Execution; -namespace Clockwork.Shims.System; +namespace Orleans.Testing.Simulation.Shims.System; /// Controlled rewrite targets for clock properties. [EditorBrowsable(EditorBrowsableState.Never)] diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledDateTimeOffset.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledDateTimeOffset.cs index 1d29bdf5..3f405fde 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledDateTimeOffset.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledDateTimeOffset.cs @@ -1,7 +1,7 @@ using System.ComponentModel; -using Clockwork.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Execution; -namespace Clockwork.Shims.System; +namespace Orleans.Testing.Simulation.Shims.System; /// Controlled rewrite targets for clock properties. [EditorBrowsable(EditorBrowsableState.Never)] diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledEnvironment.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledEnvironment.cs index c86d48ef..1ee39d56 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledEnvironment.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledEnvironment.cs @@ -1,6 +1,6 @@ using System.ComponentModel; -namespace Clockwork.Shims.System; +namespace Orleans.Testing.Simulation.Shims.System; /// Controlled rewrite targets for APIs. [EditorBrowsable(EditorBrowsableState.Never)] @@ -11,7 +11,7 @@ public static class ControlledEnvironment public static int GetCurrentManagedThreadId() { _ = SimulationRuntimeDispatch.RequireEnvironment("System.Environment.CurrentManagedThreadId"); - return Clockwork.Runtime.Scheduling.SimulationScheduler.SimulationLogicalThreadOwnerId; + return Orleans.Testing.Simulation.Runtime.Scheduling.SimulationScheduler.SimulationLogicalThreadOwnerId; } /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledGuid.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledGuid.cs index 2b8d19ed..9ecab126 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledGuid.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledGuid.cs @@ -1,6 +1,6 @@ using System.ComponentModel; -namespace Clockwork.Shims.System; +namespace Orleans.Testing.Simulation.Shims.System; /// /// @@ -61,7 +61,7 @@ public static Guid CreateVersion7(DateTimeOffset timestamp) private static Guid BuildVersion7( DateTimeOffset timestamp, ISimulationRuntimeEnvironment environment, - Clockwork.Runtime.Execution.SimulationNodeIdentity? node) + Orleans.Testing.Simulation.Runtime.Execution.SimulationNodeIdentity? node) { ArgumentOutOfRangeException.ThrowIfLessThan(timestamp, DateTimeOffset.UnixEpoch); diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledRandom.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledRandom.cs index 1694f853..7b644242 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledRandom.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledRandom.cs @@ -1,6 +1,6 @@ using System.ComponentModel; -namespace Clockwork.Shims.System; +namespace Orleans.Testing.Simulation.Shims.System; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledTimeProvider.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledTimeProvider.cs index 7f3fda7b..d02d203d 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledTimeProvider.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/ControlledTimeProvider.cs @@ -1,8 +1,8 @@ -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System; +namespace Orleans.Testing.Simulation.Shims.System; /// Controlled replacement entry points for timer creation. public sealed class ControlledTimeProvider : TimeProvider @@ -82,6 +82,6 @@ internal static void ValidateProvider(TimeProvider provider, string apiName) throw new SimulationApiException( SimulationApiCategory.Timer, apiName, - $"the TimeProvider implementation '{provider.GetType().FullName}' is not registered with Clockwork."); + $"the TimeProvider implementation '{provider.GetType().FullName}' is not registered with Orleans.Testing.Simulation."); } } diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Diagnostics/ControlledStopwatch.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Diagnostics/ControlledStopwatch.cs index 20dd18c0..79332f56 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Diagnostics/ControlledStopwatch.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Diagnostics/ControlledStopwatch.cs @@ -1,7 +1,7 @@ using System.ComponentModel; using System.Diagnostics; -namespace Clockwork.Shims.System.Diagnostics; +namespace Orleans.Testing.Simulation.Shims.System.Diagnostics; /// Controlled rewrite targets for timestamp APIs. [EditorBrowsable(EditorBrowsableState.Never)] diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/IO/ControlledStream.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/IO/ControlledStream.cs index 3144434e..01e3972e 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/IO/ControlledStream.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/IO/ControlledStream.cs @@ -5,13 +5,13 @@ using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; -using Clockwork.Shims.System.Runtime.CompilerServices; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; -namespace Clockwork.Shims.System.IO; +namespace Orleans.Testing.Simulation.Shims.System.IO; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/IO/ControlledTextReader.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/IO/ControlledTextReader.cs index dd00abbc..17976fd8 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/IO/ControlledTextReader.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/IO/ControlledTextReader.cs @@ -5,10 +5,10 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -using Clockwork.Runtime.Shims; -using Clockwork.Shims.System.Runtime.CompilerServices; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; -namespace Clockwork.Shims.System.IO; +namespace Orleans.Testing.Simulation.Shims.System.IO; /// /// Controlled asynchronous members of . The BCL's base implementations, which a reader that does diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/IO/ControlledTextWriter.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/IO/ControlledTextWriter.cs index 9115df9a..32a69bd8 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/IO/ControlledTextWriter.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/IO/ControlledTextWriter.cs @@ -4,10 +4,10 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -using Clockwork.Runtime.Shims; -using Clockwork.Shims.System.Runtime.CompilerServices; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; -namespace Clockwork.Shims.System.IO; +namespace Orleans.Testing.Simulation.Shims.System.IO; /// /// Controlled asynchronous members of . The BCL's base implementations, which a writer that does diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/IO/IoWorker.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/IO/IoWorker.cs index c51f9c03..7717b947 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/IO/IoWorker.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/IO/IoWorker.cs @@ -1,11 +1,11 @@ using System.Threading; using System.Threading.Tasks; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.IO; +namespace Orleans.Testing.Simulation.Shims.System.IO; /// /// The controlled stand-in for Task.Factory.StartNew(body, state, cancellationToken, diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Linq/ControlledParallelEnumerable.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Linq/ControlledParallelEnumerable.cs index fdf5aaf9..777be3c0 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Linq/ControlledParallelEnumerable.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Linq/ControlledParallelEnumerable.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Linq; +namespace Orleans.Testing.Simulation.Shims.System.Linq; /// /// Rejection of the PLINQ entry points of : every AsParallel diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/Http/ControlledHttpClient.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/Http/ControlledHttpClient.cs index b2f38c40..58d5cab8 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/Http/ControlledHttpClient.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/Http/ControlledHttpClient.cs @@ -1,9 +1,9 @@ using System.Collections.Concurrent; using System.Net.Http; -using Clockwork.Runtime; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Net.Http; +namespace Orleans.Testing.Simulation.Shims.System.Net.Http; /// /// Controlled sending members. The BCL bounds every request with the client's diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/Http/ControlledHttpMessageInvoker.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/Http/ControlledHttpMessageInvoker.cs index d8b43414..b641447a 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/Http/ControlledHttpMessageInvoker.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/Http/ControlledHttpMessageInvoker.cs @@ -1,7 +1,7 @@ using System.Net.Http; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Net.Http; +namespace Orleans.Testing.Simulation.Shims.System.Net.Http; /// /// Controlled Send and SendAsync. A call through an diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/Http/Json/ControlledHttpClientJsonExtensions.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/Http/Json/ControlledHttpClientJsonExtensions.cs index fef0aff1..0df5800f 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/Http/Json/ControlledHttpClientJsonExtensions.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/Http/Json/ControlledHttpClientJsonExtensions.cs @@ -3,9 +3,9 @@ using System.Text.Json; using System.Text.Json.Serialization; using System.Text.Json.Serialization.Metadata; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Net.Http.Json; +namespace Orleans.Testing.Simulation.Shims.System.Net.Http.Json; /// /// Controlled members. Each sends its request through the given diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/Http/NonVirtualCall.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/Http/NonVirtualCall.cs index cc9cda04..1a6edcd4 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/Http/NonVirtualCall.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/Http/NonVirtualCall.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Reflection.Emit; -namespace Clockwork.Shims.System.Net.Http; +namespace Orleans.Testing.Simulation.Shims.System.Net.Http; /// /// Builds a delegate which calls a virtual instance method without virtual dispatch, as an override's base call does. A diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/WebSockets/ControlledWebSocket.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/WebSockets/ControlledWebSocket.cs index bea09a24..229b9714 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/WebSockets/ControlledWebSocket.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/WebSockets/ControlledWebSocket.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Net.WebSockets; +namespace Orleans.Testing.Simulation.Shims.System.Net.WebSockets; /// /// Rejection of the factories over a stream: diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/WebSockets/ControlledWebSocketStream.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/WebSockets/ControlledWebSocketStream.cs index 83438e2c..cd783768 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/WebSockets/ControlledWebSocketStream.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Net/WebSockets/ControlledWebSocketStream.cs @@ -1,9 +1,9 @@ using System.Diagnostics.CodeAnalysis; using System.Net.WebSockets; -using Clockwork.Runtime; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Net.WebSockets; +namespace Orleans.Testing.Simulation.Shims.System.Net.WebSockets; /// /// Controlled factories which may make the stream own its . A diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledAsyncHelpers.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledAsyncHelpers.cs index b4608948..50f5c952 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledAsyncHelpers.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledAsyncHelpers.cs @@ -1,6 +1,6 @@ using System.Diagnostics; -namespace Clockwork.Shims.System.Runtime.CompilerServices; +namespace Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; /// /// Controlled System.Runtime.CompilerServices.AsyncHelpers members. The Await overloads that take a diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledAsyncTaskMethodBuilder.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledAsyncTaskMethodBuilder.cs index ac1f4aa3..66742cc7 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledAsyncTaskMethodBuilder.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledAsyncTaskMethodBuilder.cs @@ -1,10 +1,10 @@ using System.Runtime.CompilerServices; using System.Threading.Tasks; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Runtime.CompilerServices; +namespace Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; /// /// The controlled substitute for diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledAsyncValueTaskMethodBuilder.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledAsyncValueTaskMethodBuilder.cs index 303ab631..cfa2ab5c 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledAsyncValueTaskMethodBuilder.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledAsyncValueTaskMethodBuilder.cs @@ -1,10 +1,10 @@ using System.Runtime.CompilerServices; using System.Threading.Tasks; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Shims; -using Clockwork.Shims.System.Threading.Tasks; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Shims.System.Threading.Tasks; -namespace Clockwork.Shims.System.Runtime.CompilerServices; +namespace Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; /// /// The controlled substitute for diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledConfiguredAsyncDisposable.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledConfiguredAsyncDisposable.cs index 8a755803..682dce29 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledConfiguredAsyncDisposable.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledConfiguredAsyncDisposable.cs @@ -1,7 +1,7 @@ using System.Runtime.InteropServices; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Runtime.CompilerServices; +namespace Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; /// /// The controlled substitute for - the diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledConfiguredCancelableAsyncEnumerable.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledConfiguredCancelableAsyncEnumerable.cs index 3ee33c16..1743bd7d 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledConfiguredCancelableAsyncEnumerable.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledConfiguredCancelableAsyncEnumerable.cs @@ -1,8 +1,8 @@ using System.Runtime.InteropServices; using System.Threading; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Runtime.CompilerServices; +namespace Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; /// /// The controlled substitute for diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledConfiguredTaskAwaitable.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledConfiguredTaskAwaitable.cs index 7b0d193e..b3f87b0e 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledConfiguredTaskAwaitable.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledConfiguredTaskAwaitable.cs @@ -1,10 +1,10 @@ using System.Diagnostics; using System.Runtime.CompilerServices; using System.Threading.Tasks; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Runtime.CompilerServices; +namespace Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; /// /// The controlled substitute for diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledConfiguredValueTaskAwaitable.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledConfiguredValueTaskAwaitable.cs index 377b6296..3d73b4b4 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledConfiguredValueTaskAwaitable.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledConfiguredValueTaskAwaitable.cs @@ -1,10 +1,10 @@ using System.Diagnostics; using System.Runtime.CompilerServices; using System.Threading.Tasks; -using Clockwork.Runtime.Shims; -using Clockwork.Shims.System.Threading.Tasks; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Shims.System.Threading.Tasks; -namespace Clockwork.Shims.System.Runtime.CompilerServices; +namespace Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; /// /// The controlled substitute for diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledTaskAwaiter.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledTaskAwaiter.cs index d4ec5adb..a8b157aa 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledTaskAwaiter.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledTaskAwaiter.cs @@ -1,10 +1,10 @@ using System.Diagnostics; using System.Runtime.CompilerServices; using System.Threading.Tasks; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Runtime.CompilerServices; +namespace Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; /// /// The controlled substitute for . A rewritten diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledValueTaskAwaiter.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledValueTaskAwaiter.cs index 35fbe4e2..fa04d930 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledValueTaskAwaiter.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledValueTaskAwaiter.cs @@ -1,10 +1,10 @@ using System.Diagnostics; using System.Runtime.CompilerServices; using System.Threading.Tasks; -using Clockwork.Runtime.Shims; -using Clockwork.Shims.System.Threading.Tasks; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Shims.System.Threading.Tasks; -namespace Clockwork.Shims.System.Runtime.CompilerServices; +namespace Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; /// /// The controlled substitute for . Like diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledYieldAwaitable.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledYieldAwaitable.cs index 87bfea7d..6b87e54f 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledYieldAwaitable.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/ControlledYieldAwaitable.cs @@ -1,7 +1,7 @@ using System.Runtime.CompilerServices; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Runtime.CompilerServices; +namespace Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; /// /// The controlled substitute for - the diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/CoordinatedValueTaskAwaitable.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/CoordinatedValueTaskAwaitable.cs index 56e7accb..eeea6359 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/CoordinatedValueTaskAwaitable.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Runtime/CompilerServices/CoordinatedValueTaskAwaitable.cs @@ -1,6 +1,6 @@ using System.Threading.Tasks; -namespace Clockwork.Shims.System.Runtime.CompilerServices; +namespace Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; /// /// Awaits a through , so an async method in Clockwork diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Security/Cryptography/ControlledRandomNumberGenerator.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Security/Cryptography/ControlledRandomNumberGenerator.cs index a1d0ff8d..2689074e 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Security/Cryptography/ControlledRandomNumberGenerator.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Security/Cryptography/ControlledRandomNumberGenerator.cs @@ -1,8 +1,8 @@ using System.ComponentModel; using System.Security.Cryptography; -using Clockwork.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Execution; -namespace Clockwork.Shims.System.Security.Cryptography; +namespace Orleans.Testing.Simulation.Shims.System.Security.Cryptography; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Security/Cryptography/SimulationRandomNumberGenerator.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Security/Cryptography/SimulationRandomNumberGenerator.cs index 646f0514..f64f843e 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Security/Cryptography/SimulationRandomNumberGenerator.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Security/Cryptography/SimulationRandomNumberGenerator.cs @@ -1,8 +1,8 @@ using System.ComponentModel; using System.Security.Cryptography; -using Clockwork.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Execution; -namespace Clockwork.Shims.System.Security.Cryptography; +namespace Orleans.Testing.Simulation.Shims.System.Security.Cryptography; /// /// A that produces deterministic, non-cryptographic bytes from a diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Channels/ControlledChannelReader.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Channels/ControlledChannelReader.cs index 1823d6ea..570d2af2 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Channels/ControlledChannelReader.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Channels/ControlledChannelReader.cs @@ -4,12 +4,12 @@ using System.Threading.Channels; using System.Threading.Tasks; using System.Threading.Tasks.Sources; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; -using Clockwork.Shims.System.Runtime.CompilerServices; -using Clockwork.Shims.System.Threading.Tasks; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; +using Orleans.Testing.Simulation.Shims.System.Threading.Tasks; -namespace Clockwork.Shims.System.Threading.Channels; +namespace Orleans.Testing.Simulation.Shims.System.Threading.Channels; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Channels/ControlledChannelWriter.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Channels/ControlledChannelWriter.cs index d1e20b2c..bfc09c55 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Channels/ControlledChannelWriter.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Channels/ControlledChannelWriter.cs @@ -2,10 +2,10 @@ using System.Threading; using System.Threading.Channels; using System.Threading.Tasks; -using Clockwork.Runtime.Shims; -using Clockwork.Shims.System.Runtime.CompilerServices; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; -namespace Clockwork.Shims.System.Threading.Channels; +namespace Orleans.Testing.Simulation.Shims.System.Threading.Channels; /// /// Controlled . The base implementation, which a writer that does not override diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledBarrier.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledBarrier.cs index 2af34187..d2d532ab 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledBarrier.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledBarrier.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// A fully controlled replacement for . public sealed class ControlledBarrier : IDisposable diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledCancellationTokenSource.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledCancellationTokenSource.cs index afb08567..2cdab3ae 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledCancellationTokenSource.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledCancellationTokenSource.cs @@ -1,9 +1,9 @@ using System.Runtime.CompilerServices; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// /// Controlled constructor and instance shims for timer-driven diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledCountdownEvent.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledCountdownEvent.cs index 970797a7..a41557af 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledCountdownEvent.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledCountdownEvent.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// A fully controlled replacement for . public sealed class ControlledCountdownEvent : IDisposable diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledEventWaitHandle.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledEventWaitHandle.cs index 6df30fe2..c62537e1 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledEventWaitHandle.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledEventWaitHandle.cs @@ -1,9 +1,9 @@ using System; using System.Threading; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledExecutionContext.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledExecutionContext.cs index 1e5bdfcc..ffbce0e0 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledExecutionContext.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledExecutionContext.cs @@ -1,9 +1,9 @@ using System.Runtime.Serialization; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// Controlled rewrite targets for the public surface. public static class ControlledExecutionContext diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledInterlocked.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledInterlocked.cs index 4a9e3953..513d46da 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledInterlocked.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledInterlocked.cs @@ -1,8 +1,8 @@ using System; using System.Threading; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledLock.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledLock.cs index 060a580d..0238bf31 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledLock.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledLock.cs @@ -1,8 +1,8 @@ using System.Threading; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledManualResetEventSlim.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledManualResetEventSlim.cs index 47b583af..7e12d87b 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledManualResetEventSlim.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledManualResetEventSlim.cs @@ -1,9 +1,9 @@ using System.Runtime.CompilerServices; using System.Threading; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// /// Controlled receiver-first shims for . The real event is retained only diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledMonitor.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledMonitor.cs index 3b9072cd..3a47a134 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledMonitor.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledMonitor.cs @@ -1,10 +1,10 @@ using System.Runtime.CompilerServices; using System.Threading; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Racing; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledMutex.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledMutex.cs index 4cb3b2d8..e7ac3e60 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledMutex.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledMutex.cs @@ -1,7 +1,7 @@ using System.Threading; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// /// Static shims for . The returned unnamed is only an identity diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledPeriodicTimer.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledPeriodicTimer.cs index af623036..2adc77f7 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledPeriodicTimer.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledPeriodicTimer.cs @@ -1,9 +1,9 @@ using System.Threading.Tasks.Sources; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// Deterministic virtual-time replacement for . public sealed class ControlledPeriodicTimer : IDisposable diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledReaderWriterLockSlim.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledReaderWriterLockSlim.cs index b61c616f..ab740e06 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledReaderWriterLockSlim.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledReaderWriterLockSlim.cs @@ -1,10 +1,10 @@ using System.Runtime.CompilerServices; using System.Threading; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Racing; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// /// Controlled receiver-first shims for . The real lock is retained only diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledRegisteredWaitHandle.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledRegisteredWaitHandle.cs index 665be57d..870c2b5a 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledRegisteredWaitHandle.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledRegisteredWaitHandle.cs @@ -1,9 +1,9 @@ using System.Threading; using System.Threading.Tasks; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledSemaphore.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledSemaphore.cs index 8b03bf94..d6ee23fa 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledSemaphore.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledSemaphore.cs @@ -1,7 +1,7 @@ using System.Threading; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// /// Static shims for the kernel surface. The returned unnamed semaphore is an diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledSemaphoreSlim.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledSemaphoreSlim.cs index 3de11415..ea0eb787 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledSemaphoreSlim.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledSemaphoreSlim.cs @@ -1,10 +1,10 @@ using System.Runtime.CompilerServices; using System.Threading; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Racing; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledSpinLock.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledSpinLock.cs index f1cb11ae..0c555854 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledSpinLock.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledSpinLock.cs @@ -1,8 +1,8 @@ using System.Threading; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// /// A cooperative, value-type replacement for . Its state is held directly in the diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledSpinWait.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledSpinWait.cs index 3f0a4cd6..d3e2f62e 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledSpinWait.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledSpinWait.cs @@ -1,9 +1,9 @@ using System; using System.Threading; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledSynchronizationContext.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledSynchronizationContext.cs index fe019755..7850c5ee 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledSynchronizationContext.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledSynchronizationContext.cs @@ -1,10 +1,10 @@ using System.Collections.Generic; using System.Runtime.CompilerServices; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// /// Controlled rewrite targets for . diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledThread.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledThread.cs index 1abf41ab..fadb43dd 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledThread.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledThread.cs @@ -1,10 +1,10 @@ using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledThreadPool.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledThreadPool.cs index c57d8f2d..191f1031 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledThreadPool.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledThreadPool.cs @@ -1,9 +1,9 @@ using System.Threading; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledTimer.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledTimer.cs index 402f42f4..665052b3 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledTimer.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledTimer.cs @@ -1,10 +1,10 @@ using System.Collections.Concurrent; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// /// Deterministic replacement for . Rewritten timer references are substituted with diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledVolatile.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledVolatile.cs index ed9ce74e..12fdf268 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledVolatile.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledVolatile.cs @@ -1,8 +1,8 @@ using System; using System.Threading; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledWaitHandle.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledWaitHandle.cs index 300c2e7f..c12dceab 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledWaitHandle.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/ControlledWaitHandle.cs @@ -2,11 +2,11 @@ using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Threading; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; using Microsoft.Win32.SafeHandles; -namespace Clockwork.Shims.System.Threading; +namespace Orleans.Testing.Simulation.Shims.System.Threading; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledParallel.Loop.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledParallel.Loop.cs index 32a255da..672fc7b6 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledParallel.Loop.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledParallel.Loop.cs @@ -4,12 +4,12 @@ using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Tasks; -using Clockwork.Shims.System.Runtime.CompilerServices; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; -namespace Clockwork.Shims.System.Threading.Tasks; +namespace Orleans.Testing.Simulation.Shims.System.Threading.Tasks; public static partial class ControlledParallel { diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledParallel.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledParallel.cs index 1371c3e5..121cf08e 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledParallel.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledParallel.cs @@ -3,12 +3,12 @@ using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.Threading.Tasks; +namespace Orleans.Testing.Simulation.Shims.System.Threading.Tasks; /// /// Static shims for the surface, which the rewriter redirects the supported static call sites to. diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.Combinators.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.Combinators.cs index f1e63703..75f78e9c 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.Combinators.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.Combinators.cs @@ -1,9 +1,9 @@ using System.Runtime.InteropServices; using System.Threading.Tasks; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Threading.Tasks; +namespace Orleans.Testing.Simulation.Shims.System.Threading.Tasks; /// /// Controlled task combinators. The BCL combinators register completion actions on their antecedents, and those diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.Construction.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.Construction.cs index 6b1d06a1..9b5a7863 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.Construction.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.Construction.cs @@ -1,9 +1,9 @@ using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Threading.Tasks; +namespace Orleans.Testing.Simulation.Shims.System.Threading.Tasks; /// /// Controlled and constructors. A task constructed with new Task(...) diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.Continuations.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.Continuations.cs index 16e69e03..337f8d00 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.Continuations.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.Continuations.cs @@ -1,11 +1,11 @@ using System.Threading; using System.Threading.Tasks; -using Clockwork.Runtime; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Threading.Tasks; +namespace Orleans.Testing.Simulation.Shims.System.Threading.Tasks; #pragma warning disable CA1068 // CancellationToken parameters mirror the BCL ContinueWith overload order. diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.Waits.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.Waits.cs index ee54a208..b1b49525 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.Waits.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.Waits.cs @@ -1,10 +1,10 @@ using System.Threading; using System.Threading.Tasks; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.Threading.Tasks; +namespace Orleans.Testing.Simulation.Shims.System.Threading.Tasks; public static partial class ControlledTask { diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.WhenEach.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.WhenEach.cs index 52ab8162..47ed6be3 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.WhenEach.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.WhenEach.cs @@ -1,11 +1,11 @@ using System.Threading; using System.Threading.Tasks; using System.Threading.Tasks.Sources; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.Threading.Tasks; +namespace Orleans.Testing.Simulation.Shims.System.Threading.Tasks; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.cs index 6d7ba8a0..8bf4b65d 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTask.cs @@ -1,12 +1,12 @@ using System.Threading; using System.Threading.Tasks; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Shims; -using Clockwork.Shims.System.Runtime.CompilerServices; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Shims.System.Threading.Tasks; +namespace Orleans.Testing.Simulation.Shims.System.Threading.Tasks; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTaskAsyncEnumerableExtensions.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTaskAsyncEnumerableExtensions.cs index e8764efc..8a832e16 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTaskAsyncEnumerableExtensions.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTaskAsyncEnumerableExtensions.cs @@ -1,8 +1,8 @@ using System.Threading; -using Clockwork.Runtime.Shims; -using Clockwork.Shims.System.Runtime.CompilerServices; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; -namespace Clockwork.Shims.System.Threading.Tasks; +namespace Orleans.Testing.Simulation.Shims.System.Threading.Tasks; /// /// Controlled . The rewriter redirects the diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTaskCompletionSource.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTaskCompletionSource.cs index ae263a9e..9f2926a7 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTaskCompletionSource.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTaskCompletionSource.cs @@ -1,12 +1,12 @@ using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.Threading.Tasks; +namespace Orleans.Testing.Simulation.Shims.System.Threading.Tasks; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTaskFactory.Continuations.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTaskFactory.Continuations.cs index 3df8969e..5e477734 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTaskFactory.Continuations.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTaskFactory.Continuations.cs @@ -1,11 +1,11 @@ using System.Threading; using System.Threading.Tasks; -using Clockwork.Runtime; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Threading.Tasks; +namespace Orleans.Testing.Simulation.Shims.System.Threading.Tasks; #pragma warning disable CA1068 // CancellationToken parameters mirror the BCL ContinueWhenAll/ContinueWhenAny overload order. diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTaskFactory.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTaskFactory.cs index d8f540f6..31ee15ba 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTaskFactory.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTaskFactory.cs @@ -1,10 +1,10 @@ using System.Threading; using System.Threading.Tasks; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Racing; -namespace Clockwork.Shims.System.Threading.Tasks; +namespace Orleans.Testing.Simulation.Shims.System.Threading.Tasks; #pragma warning disable CA1068 // Signatures intentionally mirror the BCL TaskFactory overload order. diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTaskScheduler.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTaskScheduler.cs index 6e093d32..f1953dc8 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTaskScheduler.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledTaskScheduler.cs @@ -1,11 +1,11 @@ using System.Diagnostics; using System.Threading.Tasks; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Shims.System.Threading.Tasks; +namespace Orleans.Testing.Simulation.Shims.System.Threading.Tasks; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledValueTask.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledValueTask.cs index 97d32f8e..af86f6d1 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledValueTask.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/ControlledValueTask.cs @@ -1,10 +1,10 @@ using System.Runtime.CompilerServices; using System.Threading.Tasks; using System.Threading.Tasks.Sources; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Threading.Tasks; +namespace Orleans.Testing.Simulation.Shims.System.Threading.Tasks; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/Dataflow/ControlledDataflowBlock.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/Dataflow/ControlledDataflowBlock.cs index 09611d1f..9e0d6ddc 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/Dataflow/ControlledDataflowBlock.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/Dataflow/ControlledDataflowBlock.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Threading.Tasks.Dataflow; +namespace Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Dataflow; /// /// Rejection of the TPL Dataflow entry points: the constructor of every block, and the diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/Sources/ControlledManualResetValueTaskSourceCore.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/Sources/ControlledManualResetValueTaskSourceCore.cs index 35a2b9eb..c2adb5d1 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/Sources/ControlledManualResetValueTaskSourceCore.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Threading/Tasks/Sources/ControlledManualResetValueTaskSourceCore.cs @@ -1,8 +1,8 @@ using System.Threading.Tasks.Sources; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Shims.System.Threading.Tasks.Sources; +namespace Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Sources; /// /// Controlled completion members of . Each completes the core diff --git a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Timers/ControlledTimer.cs b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Timers/ControlledTimer.cs index 3e224041..4272ec19 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Shims/System/Timers/ControlledTimer.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Shims/System/Timers/ControlledTimer.cs @@ -1,8 +1,8 @@ using System.ComponentModel; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Shims.System.Timers; +namespace Orleans.Testing.Simulation.Shims.System.Timers; /// Deterministic virtual-time replacement for . [DefaultProperty(nameof(Interval))] diff --git a/src/Orleans.Testing.Simulation/Runtime/SimulationApiException.cs b/src/Orleans.Testing.Simulation/Runtime/SimulationApiException.cs index bbe6876c..fab74916 100644 --- a/src/Orleans.Testing.Simulation/Runtime/SimulationApiException.cs +++ b/src/Orleans.Testing.Simulation/Runtime/SimulationApiException.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime; +namespace Orleans.Testing.Simulation.Runtime; /// Identifies the controlled API surface that rejected an unsupported operation. public enum SimulationApiCategory diff --git a/src/Orleans.Testing.Simulation/Runtime/SimulationExceptionGuard.cs b/src/Orleans.Testing.Simulation/Runtime/SimulationExceptionGuard.cs index d0cf0783..e46f2c16 100644 --- a/src/Orleans.Testing.Simulation/Runtime/SimulationExceptionGuard.cs +++ b/src/Orleans.Testing.Simulation/Runtime/SimulationExceptionGuard.cs @@ -1,9 +1,9 @@ using System.Runtime.ExceptionServices; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Runtime; +namespace Orleans.Testing.Simulation.Runtime; /// /// The runtime half of Clockwork's exception-handler hardening. The instrumentation's @@ -33,7 +33,7 @@ public static void ThrowIfControlSignal(object? exception) { if (!SimulationExecutionContext.IsActive) { - throw new SimulationNotActiveException("Clockwork.Runtime.SimulationExceptionGuard.ThrowIfControlSignal"); + throw new SimulationNotActiveException("Orleans.Testing.Simulation.Runtime.SimulationExceptionGuard.ThrowIfControlSignal"); } if (exception is SimulationOperationAbortSignal signal) diff --git a/src/Orleans.Testing.Simulation/Runtime/SupportedRuntimesMarker.cs b/src/Orleans.Testing.Simulation/Runtime/SupportedRuntimesMarker.cs index a0a30634..6de0bf4b 100644 --- a/src/Orleans.Testing.Simulation/Runtime/SupportedRuntimesMarker.cs +++ b/src/Orleans.Testing.Simulation/Runtime/SupportedRuntimesMarker.cs @@ -2,7 +2,7 @@ using System.Reflection.Metadata; using System.Runtime.CompilerServices; -namespace Clockwork.Runtime; +namespace Orleans.Testing.Simulation.Runtime; /// /// Records on each assembly Clockwork rewrites the .NET runtimes it supports, and checks that the process runs one of @@ -109,7 +109,7 @@ internal static void Verify(string assemblyName, string? marker, Version runtime { throw new InvalidOperationException( $"Assembly '{assemblyName}' carries the Clockwork marker '{Key}' with the unreadable value '{marker}'. " + - "Instrument it again with this version of Clockwork."); + "Instrument it again with this version of Orleans.Testing.Simulation."); } if ((minimum is not null && runtime < minimum) || (maximum is not null && runtime > maximum)) diff --git a/src/Orleans.Testing.Simulation/Runtime/Tasks/CompletionCallbackAttribute.cs b/src/Orleans.Testing.Simulation/Runtime/Tasks/CompletionCallbackAttribute.cs index d9092eac..751a89f9 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Tasks/CompletionCallbackAttribute.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Tasks/CompletionCallbackAttribute.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Tasks; +namespace Orleans.Testing.Simulation.Runtime.Tasks; /// /// Marks a delegate parameter whose argument runs only through . Clockwork's analyzer diff --git a/src/Orleans.Testing.Simulation/Runtime/Tasks/ISimulationTimeout.cs b/src/Orleans.Testing.Simulation/Runtime/Tasks/ISimulationTimeout.cs index 5d202aa1..74a3b44b 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Tasks/ISimulationTimeout.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Tasks/ISimulationTimeout.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Tasks; +namespace Orleans.Testing.Simulation.Runtime.Tasks; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Tasks/ISimulationWorkRegistration.cs b/src/Orleans.Testing.Simulation/Runtime/Tasks/ISimulationWorkRegistration.cs index 8f2484dd..e9b82337 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Tasks/ISimulationWorkRegistration.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Tasks/ISimulationWorkRegistration.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Tasks; +namespace Orleans.Testing.Simulation.Runtime.Tasks; /// A cancellable registration for readiness-gated controlled work. public interface ISimulationWorkRegistration diff --git a/src/Orleans.Testing.Simulation/Runtime/Tasks/SimulationCompletion.cs b/src/Orleans.Testing.Simulation/Runtime/Tasks/SimulationCompletion.cs index 706c54f0..6ead1317 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Tasks/SimulationCompletion.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Tasks/SimulationCompletion.cs @@ -1,10 +1,10 @@ using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; -using Clockwork.Runtime.Execution; -using Clockwork.Shims.System.Threading.Tasks; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Shims.System.Threading.Tasks; -namespace Clockwork.Runtime.Tasks; +namespace Orleans.Testing.Simulation.Runtime.Tasks; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Tasks/SimulationTaskCompletionRace.cs b/src/Orleans.Testing.Simulation/Runtime/Tasks/SimulationTaskCompletionRace.cs index 3ca97359..db9e0113 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Tasks/SimulationTaskCompletionRace.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Tasks/SimulationTaskCompletionRace.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Tasks; +namespace Orleans.Testing.Simulation.Runtime.Tasks; internal sealed class SimulationDelayPromise { diff --git a/src/Orleans.Testing.Simulation/Runtime/Tasks/SimulationTaskExceptions.cs b/src/Orleans.Testing.Simulation/Runtime/Tasks/SimulationTaskExceptions.cs index 97c35133..490ed3b3 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Tasks/SimulationTaskExceptions.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Tasks/SimulationTaskExceptions.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Tasks; +namespace Orleans.Testing.Simulation.Runtime.Tasks; /// /// The base type for every exception the controlled async/task machinery raises. Distinguishes a diff --git a/src/Orleans.Testing.Simulation/Runtime/Tasks/SimulationTaskRuntime.cs b/src/Orleans.Testing.Simulation/Runtime/Tasks/SimulationTaskRuntime.cs index 8d4a043d..70d9aff4 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Tasks/SimulationTaskRuntime.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Tasks/SimulationTaskRuntime.cs @@ -1,10 +1,10 @@ -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Runtime.Tasks; +namespace Orleans.Testing.Simulation.Runtime.Tasks; /// Bridges controlled async/task rewrite targets to the active simulation coordinator. public static class SimulationTaskRuntime @@ -148,7 +148,7 @@ public static void QueueWork(Action work, string apiName, bool flowExecutionCont ExecutionContext? context = flowExecutionContext ? ExecutionContext.Capture() : null; scheduler.Schedule( node, - () => Clockwork.Runtime.Threading.SimulationSynchronizationFlow.RunAsNewStrand( + () => Orleans.Testing.Simulation.Runtime.Threading.SimulationSynchronizationFlow.RunAsNewStrand( () => RunScheduledWork(snapshot, context, work))); } diff --git a/src/Orleans.Testing.Simulation/Runtime/Tasks/SimulationWaiter.cs b/src/Orleans.Testing.Simulation/Runtime/Tasks/SimulationWaiter.cs index b2730210..3cddbac6 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Tasks/SimulationWaiter.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Tasks/SimulationWaiter.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Execution; -namespace Clockwork.Runtime.Tasks; +namespace Orleans.Testing.Simulation.Runtime.Tasks; /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/Threading/SimulationSynchronizationFlow.cs b/src/Orleans.Testing.Simulation/Runtime/Threading/SimulationSynchronizationFlow.cs index 454f1bb6..e389f202 100644 --- a/src/Orleans.Testing.Simulation/Runtime/Threading/SimulationSynchronizationFlow.cs +++ b/src/Orleans.Testing.Simulation/Runtime/Threading/SimulationSynchronizationFlow.cs @@ -1,6 +1,6 @@ using System.Threading; -namespace Clockwork.Runtime.Threading; +namespace Orleans.Testing.Simulation.Runtime.Threading; /// /// @@ -13,13 +13,13 @@ namespace Clockwork.Runtime.Threading; /// /// /// A fresh, process-unique id is assigned at the single point where a new controlled strand begins - -/// - via , +/// - via , /// and restored when /// that synchronous run segment returns. Because every Monitor/Lock operation is synchronous, the id /// only has to be stable across a synchronous run segment (between cooperative yield points), which the /// save/restore guarantees even when a strand blocks and re-entrantly pumps the loop (a nested strand /// sets and restores its own id around its run). Strands scheduled directly onto a node's work queue -/// (rather than through ) observe +/// (rather than through ) observe /// the root id . /// /// diff --git a/src/Orleans.Testing.Simulation/Runtime/UncontrolledInvocation.cs b/src/Orleans.Testing.Simulation/Runtime/UncontrolledInvocation.cs index 60dc6d91..989995ab 100644 --- a/src/Orleans.Testing.Simulation/Runtime/UncontrolledInvocation.cs +++ b/src/Orleans.Testing.Simulation/Runtime/UncontrolledInvocation.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime; +namespace Orleans.Testing.Simulation.Runtime; /// /// Thrown at a rewritten call site that invokes an uncontrolled process-control or abrupt diff --git a/src/Orleans.Testing.Simulation/Runtime/UnsupportedRuntimeException.cs b/src/Orleans.Testing.Simulation/Runtime/UnsupportedRuntimeException.cs index b80f6f20..45bd1121 100644 --- a/src/Orleans.Testing.Simulation/Runtime/UnsupportedRuntimeException.cs +++ b/src/Orleans.Testing.Simulation/Runtime/UnsupportedRuntimeException.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime; +namespace Orleans.Testing.Simulation.Runtime; /// /// Thrown when a simulation runs in a process whose .NET runtime is outside the range an assembly rewritten by diff --git a/src/Orleans.Testing.Simulation/Scheduling/ScheduledActionItem.cs b/src/Orleans.Testing.Simulation/Scheduling/ScheduledActionItem.cs index 596bda55..671206d4 100644 --- a/src/Orleans.Testing.Simulation/Scheduling/ScheduledActionItem.cs +++ b/src/Orleans.Testing.Simulation/Scheduling/ScheduledActionItem.cs @@ -1,4 +1,4 @@ -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// A simple scheduled item that wraps an Action callback. diff --git a/src/Orleans.Testing.Simulation/Scheduling/ScheduledItem.cs b/src/Orleans.Testing.Simulation/Scheduling/ScheduledItem.cs index 7eca661a..4b29ec49 100644 --- a/src/Orleans.Testing.Simulation/Scheduling/ScheduledItem.cs +++ b/src/Orleans.Testing.Simulation/Scheduling/ScheduledItem.cs @@ -1,7 +1,7 @@ using System.Diagnostics; using System.Globalization; -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// Base class for scheduled lane work. diff --git a/src/Orleans.Testing.Simulation/Scheduling/SimulationSchedulerLane.cs b/src/Orleans.Testing.Simulation/Scheduling/SimulationSchedulerLane.cs index d655caea..720c2eaa 100644 --- a/src/Orleans.Testing.Simulation/Scheduling/SimulationSchedulerLane.cs +++ b/src/Orleans.Testing.Simulation/Scheduling/SimulationSchedulerLane.cs @@ -1,9 +1,9 @@ using System.Diagnostics; using System.Globalization; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// A node-scoped facade for scheduling callbacks on a . diff --git a/src/Orleans.Testing.Simulation/Scheduling/SimulationSchedulerLaneExtensions.cs b/src/Orleans.Testing.Simulation/Scheduling/SimulationSchedulerLaneExtensions.cs index 0573a763..5d77d348 100644 --- a/src/Orleans.Testing.Simulation/Scheduling/SimulationSchedulerLaneExtensions.cs +++ b/src/Orleans.Testing.Simulation/Scheduling/SimulationSchedulerLaneExtensions.cs @@ -1,4 +1,4 @@ -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// Extension members for providing query functionality diff --git a/src/Orleans.Testing.Simulation/Scheduling/SimulationSynchronizationContext.cs b/src/Orleans.Testing.Simulation/Scheduling/SimulationSynchronizationContext.cs index 3a77a426..e6276da6 100644 --- a/src/Orleans.Testing.Simulation/Scheduling/SimulationSynchronizationContext.cs +++ b/src/Orleans.Testing.Simulation/Scheduling/SimulationSynchronizationContext.cs @@ -1,9 +1,9 @@ using System.Globalization; using System.Runtime.ExceptionServices; -using Clockwork.Runtime; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// A synchronization context that routes all continuations through a . diff --git a/src/Orleans.Testing.Simulation/Scheduling/SimulationTaskScheduler.cs b/src/Orleans.Testing.Simulation/Scheduling/SimulationTaskScheduler.cs index d00f5326..53e90f91 100644 --- a/src/Orleans.Testing.Simulation/Scheduling/SimulationTaskScheduler.cs +++ b/src/Orleans.Testing.Simulation/Scheduling/SimulationTaskScheduler.cs @@ -1,4 +1,4 @@ -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// A deterministic task scheduler that queues tasks through a diff --git a/src/Orleans.Testing.Simulation/Scheduling/SingleThreadedGuard.cs b/src/Orleans.Testing.Simulation/Scheduling/SingleThreadedGuard.cs index 7b52ddd7..e1ee2611 100644 --- a/src/Orleans.Testing.Simulation/Scheduling/SingleThreadedGuard.cs +++ b/src/Orleans.Testing.Simulation/Scheduling/SingleThreadedGuard.cs @@ -1,7 +1,7 @@ using System.Diagnostics; using System.Globalization; -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// A debug guard that detects accidental concurrent access in single-threaded code. diff --git a/src/Orleans.Testing.Simulation/Scheduling/SynchronizationContextScope.cs b/src/Orleans.Testing.Simulation/Scheduling/SynchronizationContextScope.cs index cd65bbaa..f0d98516 100644 --- a/src/Orleans.Testing.Simulation/Scheduling/SynchronizationContextScope.cs +++ b/src/Orleans.Testing.Simulation/Scheduling/SynchronizationContextScope.cs @@ -1,4 +1,4 @@ -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// A disposable scope that restores the previous synchronization context, and the lane the thread was executing, when diff --git a/src/Orleans.Testing.Simulation/Synchronization/SimulationBarrier.cs b/src/Orleans.Testing.Simulation/Synchronization/SimulationBarrier.cs index 000ba3c4..bcf49190 100644 --- a/src/Orleans.Testing.Simulation/Synchronization/SimulationBarrier.cs +++ b/src/Orleans.Testing.Simulation/Synchronization/SimulationBarrier.cs @@ -1,7 +1,7 @@ using System.Diagnostics; using System.Globalization; -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// diff --git a/src/Orleans.Testing.Simulation/Synchronization/SimulationGate.cs b/src/Orleans.Testing.Simulation/Synchronization/SimulationGate.cs index 2874473c..d8342034 100644 --- a/src/Orleans.Testing.Simulation/Synchronization/SimulationGate.cs +++ b/src/Orleans.Testing.Simulation/Synchronization/SimulationGate.cs @@ -1,6 +1,6 @@ using System.Diagnostics; -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// diff --git a/src/Orleans.Testing.Simulation/Synchronization/SimulationLatch.cs b/src/Orleans.Testing.Simulation/Synchronization/SimulationLatch.cs index 2e522b32..574ca6e1 100644 --- a/src/Orleans.Testing.Simulation/Synchronization/SimulationLatch.cs +++ b/src/Orleans.Testing.Simulation/Synchronization/SimulationLatch.cs @@ -1,7 +1,7 @@ using System.Diagnostics; using System.Globalization; -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// diff --git a/src/Orleans.Testing.Simulation/Synchronization/SimulationRendezvousSupport.cs b/src/Orleans.Testing.Simulation/Synchronization/SimulationRendezvousSupport.cs index 258de718..87ce6acf 100644 --- a/src/Orleans.Testing.Simulation/Synchronization/SimulationRendezvousSupport.cs +++ b/src/Orleans.Testing.Simulation/Synchronization/SimulationRendezvousSupport.cs @@ -1,4 +1,4 @@ -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// Shared waiter bookkeeping for the rendezvous primitives (, @@ -6,7 +6,7 @@ namespace Clockwork; /// internal static class SimulationRendezvousSupport { - private const string RendezvousApi = "Clockwork.SimulationRendezvous"; + private const string RendezvousApi = "Orleans.Testing.Simulation.SimulationRendezvous"; /// /// Adds a waiter while the owning primitive's lock is held. diff --git a/src/Orleans.Testing.Simulation/Time/SimulationTimeProvider.cs b/src/Orleans.Testing.Simulation/Time/SimulationTimeProvider.cs index 111bd5b2..1dcb4a9d 100644 --- a/src/Orleans.Testing.Simulation/Time/SimulationTimeProvider.cs +++ b/src/Orleans.Testing.Simulation/Time/SimulationTimeProvider.cs @@ -1,6 +1,6 @@ using System.Globalization; -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// diff --git a/src/Orleans.Testing.Simulation/Time/SimulationTimer.cs b/src/Orleans.Testing.Simulation/Time/SimulationTimer.cs index b49d52a0..5b4ee69e 100644 --- a/src/Orleans.Testing.Simulation/Time/SimulationTimer.cs +++ b/src/Orleans.Testing.Simulation/Time/SimulationTimer.cs @@ -1,4 +1,4 @@ -namespace Clockwork; +namespace Orleans.Testing.Simulation; /// /// A timer implementation for the simulation time provider. diff --git a/tests/Clockwork.Analyzers.Tests/Compatibility/CompatibilityIdentityBaselineTests.cs b/tests/Clockwork.Analyzers.Tests/Compatibility/CompatibilityIdentityBaselineTests.cs index beffcce4..52e8e45b 100644 --- a/tests/Clockwork.Analyzers.Tests/Compatibility/CompatibilityIdentityBaselineTests.cs +++ b/tests/Clockwork.Analyzers.Tests/Compatibility/CompatibilityIdentityBaselineTests.cs @@ -3,15 +3,15 @@ using System.Text; using System.Text.Json; using System.Text.Json.Serialization; -using Clockwork.Analyzers; -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Manifest; -using Clockwork.Instrumentation.Orchestration; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Runtime.Replay; +using Orleans.Testing.Simulation.Analyzers; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Orchestration; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Runtime.Replay; -namespace Clockwork.Analyzers.Tests.Compatibility; +namespace Orleans.Testing.Simulation.Analyzers.Tests.Compatibility; /// /// Pins the external identities which must survive the later package, assembly, namespace, and build @@ -54,6 +54,10 @@ public void ExistingReplayManifestRuleAndDiagnosticIdentitiesMatchGolden() instrumentationEngineName = CreateInstrumentationManifest().EngineName, closureEngineName = CreateClosureManifest().EngineName, rewriteSignatureMetadataKey = GetRewriteSignatureMetadataKey(), + supportedRuntimesMetadataKey = GetConstant( + typeof(ReplayArtifact).Assembly, + "Orleans.Testing.Simulation.Runtime.SupportedRuntimesMarker", + "Key"), }, ruleSets = new { @@ -81,6 +85,11 @@ public void ExistingReplayManifestRuleAndDiagnosticIdentitiesMatchGolden() }, diagnostics = new { + categories = new[] + { + CompletionAuthorityAnalyzer.CompletionOutsideAuthority.Category, + DeterminismDiagnostics.ControlledApi.Category, + }.Distinct(StringComparer.Ordinal).Order(StringComparer.Ordinal).ToArray(), analyzerIds = new[] { DeterminismDiagnostics.ControlledApi.Id, @@ -99,6 +108,13 @@ public void ExistingReplayManifestRuleAndDiagnosticIdentitiesMatchGolden() .ThenBy(static item => item.name, StringComparer.Ordinal) .ToArray(), }, + integration = new + { + progressOutputAppContextKey = GetConstant( + typeof(ReplayArtifact).Assembly, + "Orleans.Testing.Simulation.SimulationProgressOutput", + "AppContextKey"), + }, }; private static InstrumentationManifest CreateInstrumentationManifest() => new() @@ -123,12 +139,20 @@ public void ExistingReplayManifestRuleAndDiagnosticIdentitiesMatchGolden() private static string GetRewriteSignatureMetadataKey() { Type type = typeof(InstrumentationManifest).Assembly.GetType( - "Clockwork.Instrumentation.Attributes.RewriteSignatureMetadata", + "Orleans.Testing.Simulation.Instrumentation.Attributes.RewriteSignatureMetadata", throwOnError: true)!; return (string)type.GetField("Key", BindingFlags.Public | BindingFlags.Static)! .GetRawConstantValue()!; } + private static string GetConstant(Assembly assembly, string typeName, string fieldName) + { + Type type = assembly.GetType(typeName, throwOnError: true)!; + return (string)type.GetField( + fieldName, + BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static)!.GetRawConstantValue()!; + } + private static string HashIds(IEnumerable ids) => Convert.ToHexStringLower(SHA256.HashData(Encoding.UTF8.GetBytes(string.Join('\n', ids)))); diff --git a/tests/Clockwork.Analyzers.Tests/Compatibility/clockwork-identities.json b/tests/Clockwork.Analyzers.Tests/Compatibility/clockwork-identities.json index 84122d0f..f0e20d08 100644 --- a/tests/Clockwork.Analyzers.Tests/Compatibility/clockwork-identities.json +++ b/tests/Clockwork.Analyzers.Tests/Compatibility/clockwork-identities.json @@ -11,7 +11,8 @@ "ruleSetSchemaVersion": 2, "instrumentationEngineName": "Clockwork.Instrumentation", "closureEngineName": "Clockwork.Instrumentation", - "rewriteSignatureMetadataKey": "Clockwork.RewriteSignature" + "rewriteSignatureMetadataKey": "Clockwork.RewriteSignature", + "supportedRuntimesMetadataKey": "Clockwork.SupportedRuntimes" }, "ruleSets": { "mergedId": "clockwork.merged", @@ -29,6 +30,10 @@ } }, "diagnostics": { + "categories": [ + "Clockwork.Determinism", + "Clockwork.Runtime" + ], "analyzerIds": [ "CW1001", "CW1003", @@ -112,5 +117,8 @@ "id": "CWR0201" } ] + }, + "integration": { + "progressOutputAppContextKey": "Clockwork.SimulationProgressOutput" } } diff --git a/tests/Clockwork.Analyzers.Tests/CompletionAuthorityAnalyzerTests.cs b/tests/Clockwork.Analyzers.Tests/CompletionAuthorityAnalyzerTests.cs index b71d4348..68b2af60 100644 --- a/tests/Clockwork.Analyzers.Tests/CompletionAuthorityAnalyzerTests.cs +++ b/tests/Clockwork.Analyzers.Tests/CompletionAuthorityAnalyzerTests.cs @@ -1,11 +1,11 @@ using System.Collections.Immutable; using System.Linq; -using Clockwork.Analyzers; +using Orleans.Testing.Simulation.Analyzers; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Diagnostics; -namespace Clockwork.Analyzers.Tests; +namespace Orleans.Testing.Simulation.Analyzers.Tests; public sealed class CompletionAuthorityAnalyzerTests { @@ -16,7 +16,7 @@ public sealed class CompletionAuthorityAnalyzerTests using System.Threading.Tasks; using System.Threading.Tasks.Sources; - namespace Clockwork.Runtime.Tasks + namespace Orleans.Testing.Simulation.Runtime.Tasks { [AttributeUsage(AttributeTargets.Parameter)] internal sealed class CompletionCallbackAttribute : Attribute; @@ -102,7 +102,7 @@ public async Task ACallbackParameterPassedToAnotherCallbackParameterIsAllowed() namespace Probe { using System; - using Clockwork.Runtime.Tasks; + using Orleans.Testing.Simulation.Runtime.Tasks; internal static class Probe { @@ -122,7 +122,7 @@ public async Task ACallbackParameterWhichFlowsElsewhereIsReported(string body) namespace Probe { using System; - using Clockwork.Runtime.Tasks; + using Orleans.Testing.Simulation.Runtime.Tasks; internal static class Probe { @@ -155,7 +155,7 @@ namespace Probe using System.Threading; using System.Threading.Tasks; using System.Threading.Tasks.Sources; - using Clockwork.Runtime.Tasks; + using Orleans.Testing.Simulation.Runtime.Tasks; internal static class Probe { diff --git a/tests/Clockwork.Analyzers.Tests/NondeterministicApiAnalyzerTests.cs b/tests/Clockwork.Analyzers.Tests/NondeterministicApiAnalyzerTests.cs index 1a67eb9d..55fa7dba 100644 --- a/tests/Clockwork.Analyzers.Tests/NondeterministicApiAnalyzerTests.cs +++ b/tests/Clockwork.Analyzers.Tests/NondeterministicApiAnalyzerTests.cs @@ -1,12 +1,12 @@ using System.Collections.Immutable; using System.Linq; -using Clockwork.Analyzers; -using Clockwork.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Analyzers; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Diagnostics; -namespace Clockwork.Analyzers.Tests; +namespace Orleans.Testing.Simulation.Analyzers.Tests; /// /// Verifies that reports the same controlled @@ -292,7 +292,7 @@ public void InventoryCoversEveryShippedTaskAndSynchronizationRuleMember() BuiltInRuleFamily.CountdownEvent, ]; - foreach ((BuiltInRuleFamily family, Clockwork.Instrumentation.Rules.RewriteRule rule) in + foreach ((BuiltInRuleFamily family, Orleans.Testing.Simulation.Instrumentation.Rules.RewriteRule rule) in BuiltInRuleSets.ControlledTasksInventory.Where(entry => analyzerFamilies.Contains(entry.Family))) { string typeName = rule.Target.DeclaringTypeFullName.Replace('/', '+'); diff --git a/tests/Clockwork.Conformance.Tests/AsyncEnumerableConformanceTests.cs b/tests/Clockwork.Conformance.Tests/AsyncEnumerableConformanceTests.cs index 7a9bf45b..a5642d1c 100644 --- a/tests/Clockwork.Conformance.Tests/AsyncEnumerableConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/AsyncEnumerableConformanceTests.cs @@ -1,6 +1,6 @@ using System.Collections.Concurrent; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// Conformance for the framework's System.Linq.AsyncEnumerable operators over rewritten sources, which Clockwork diff --git a/tests/Clockwork.Conformance.Tests/AsyncMachineryConformanceTests.cs b/tests/Clockwork.Conformance.Tests/AsyncMachineryConformanceTests.cs index aad63610..9600bdaf 100644 --- a/tests/Clockwork.Conformance.Tests/AsyncMachineryConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/AsyncMachineryConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end semantic conformance for the controlled async machinery: ordinary diff --git a/tests/Clockwork.Conformance.Tests/AsyncStressConformanceTests.cs b/tests/Clockwork.Conformance.Tests/AsyncStressConformanceTests.cs index e161b3a9..5534569a 100644 --- a/tests/Clockwork.Conformance.Tests/AsyncStressConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/AsyncStressConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// Focused stress conformance for the controlled async machinery: many controlled async operations diff --git a/tests/Clockwork.Conformance.Tests/BlockingCollectionConformanceTests.cs b/tests/Clockwork.Conformance.Tests/BlockingCollectionConformanceTests.cs index 9847ea51..9c1874cc 100644 --- a/tests/Clockwork.Conformance.Tests/BlockingCollectionConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/BlockingCollectionConformanceTests.cs @@ -1,7 +1,7 @@ using System.Collections.Concurrent; using System.Reflection; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the controlled BlockingCollection<T>. The BCL blocks a taker on an empty diff --git a/tests/Clockwork.Conformance.Tests/BlockingEnumerableConformanceTests.cs b/tests/Clockwork.Conformance.Tests/BlockingEnumerableConformanceTests.cs index f25c1f32..ee390b3c 100644 --- a/tests/Clockwork.Conformance.Tests/BlockingEnumerableConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/BlockingEnumerableConformanceTests.cs @@ -1,6 +1,6 @@ using System.Reflection; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for TaskAsyncEnumerableExtensions.ToBlockingEnumerable in rewritten code. The BCL diff --git a/tests/Clockwork.Conformance.Tests/ChannelConformanceTests.cs b/tests/Clockwork.Conformance.Tests/ChannelConformanceTests.cs index 96ca21b5..bf2968b1 100644 --- a/tests/Clockwork.Conformance.Tests/ChannelConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/ChannelConformanceTests.cs @@ -4,10 +4,10 @@ using System.Reflection; using System.Runtime.CompilerServices; using System.Threading.Tasks; -using Clockwork.Runtime; -using Clockwork.Runtime.Replay; +using Orleans.Testing.Simulation.Runtime; +using Orleans.Testing.Simulation.Runtime.Replay; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the controlled ChannelReader<T>.ReadAllAsync, ReadAsync, and diff --git a/tests/Clockwork.Conformance.Tests/CompletionEscapeConformanceTests.cs b/tests/Clockwork.Conformance.Tests/CompletionEscapeConformanceTests.cs index 7a1263ce..3f99bb9d 100644 --- a/tests/Clockwork.Conformance.Tests/CompletionEscapeConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/CompletionEscapeConformanceTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// Pins the completions which still send a framework continuation to the real thread pool, and checks that diff --git a/tests/Clockwork.Conformance.Tests/ConfigureAwaitOptionsConformanceTests.cs b/tests/Clockwork.Conformance.Tests/ConfigureAwaitOptionsConformanceTests.cs index 6568af26..3a812161 100644 --- a/tests/Clockwork.Conformance.Tests/ConfigureAwaitOptionsConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/ConfigureAwaitOptionsConformanceTests.cs @@ -2,7 +2,7 @@ using System.Runtime.CompilerServices; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for Task.ConfigureAwait and Task<TResult>.ConfigureAwait in diff --git a/tests/Clockwork.Conformance.Tests/ConfiguredAsyncStreamConformanceTests.cs b/tests/Clockwork.Conformance.Tests/ConfiguredAsyncStreamConformanceTests.cs index 537a5a65..4803c784 100644 --- a/tests/Clockwork.Conformance.Tests/ConfiguredAsyncStreamConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/ConfiguredAsyncStreamConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for await using (x.ConfigureAwait(bool)) and diff --git a/tests/Clockwork.Conformance.Tests/ControlledAwaiterConformanceTests.cs b/tests/Clockwork.Conformance.Tests/ControlledAwaiterConformanceTests.cs index 12fa8781..f890db1b 100644 --- a/tests/Clockwork.Conformance.Tests/ControlledAwaiterConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/ControlledAwaiterConformanceTests.cs @@ -2,7 +2,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// Conformance of the controlled task and value-task awaiters outside the compiler's await pattern: a diff --git a/tests/Clockwork.Conformance.Tests/ControlledBclConformanceTests.cs b/tests/Clockwork.Conformance.Tests/ControlledBclConformanceTests.cs index 0cf31bfc..d8b06b79 100644 --- a/tests/Clockwork.Conformance.Tests/ControlledBclConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/ControlledBclConformanceTests.cs @@ -1,8 +1,8 @@ using System.Reflection; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end semantic conformance for the built-in controlled BCL rule set: ordinary source is @@ -237,8 +237,8 @@ public void RewriteIsIdempotent() StagedProbe probe = _fixture.Stage("Conf.Idem", "Conf.ClockProbe", ClockSource, [BuiltInRuleFamily.Clock]); // Rewriting the already-rewritten staged assembly with the same rule set is a verified no-op. - var second = Clockwork.Instrumentation.Rewriting.RewriteEngine.Rewrite( - new Clockwork.Instrumentation.Rewriting.RewriteRequest( + var second = Orleans.Testing.Simulation.Instrumentation.Rewriting.RewriteEngine.Rewrite( + new Orleans.Testing.Simulation.Instrumentation.Rewriting.RewriteRequest( probe.StagedDll, probe.StagedDll, probe.RuleSet, probe.Options)); Assert.True(second.Succeeded); @@ -316,7 +316,7 @@ public void NamedCryptoFactoryHonorsKnownAndUnknownNames() { const string KnownName = "RandomNumberGenerator"; const string UnknownName = - "Clockwork.Tests.Unknown.RandomNumberGenerator.7f9c7706-3f19-42a8-b8f2-20af41a52d68"; + "Orleans.Testing.Simulation.Tests.Unknown.RandomNumberGenerator.7f9c7706-3f19-42a8-b8f2-20af41a52d68"; StagedProbe probe = _fixture.Stage( "Conf.NamedCryptoContracts", "Conf.CryptoContractProbe", diff --git a/tests/Clockwork.Conformance.Tests/DocumentedDeviationConformanceTests.cs b/tests/Clockwork.Conformance.Tests/DocumentedDeviationConformanceTests.cs index d91678f9..b2d02b87 100644 --- a/tests/Clockwork.Conformance.Tests/DocumentedDeviationConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/DocumentedDeviationConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// Pins the documented deviations from the BCL, with Clockwork as the oracle; each assertion's comment gives the BCL's diff --git a/tests/Clockwork.Conformance.Tests/EscapedCompletionConformanceTests.cs b/tests/Clockwork.Conformance.Tests/EscapedCompletionConformanceTests.cs index 03bc7b2e..3988604d 100644 --- a/tests/Clockwork.Conformance.Tests/EscapedCompletionConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/EscapedCompletionConformanceTests.cs @@ -2,9 +2,9 @@ using System.Reflection; using System.Runtime.CompilerServices; using System.Threading.Tasks; -using Clockwork.Runtime.Replay; +using Orleans.Testing.Simulation.Runtime.Replay; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the producers whose completions used to escape the coordinator. A task or value-task diff --git a/tests/Clockwork.Conformance.Tests/EventWaitHandleConformanceTests.cs b/tests/Clockwork.Conformance.Tests/EventWaitHandleConformanceTests.cs index a5a931d4..aff8e4e3 100644 --- a/tests/Clockwork.Conformance.Tests/EventWaitHandleConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/EventWaitHandleConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the controlled event / wait-handle surface. The rule set redirects @@ -120,7 +120,7 @@ public static Task NamedEventRejected() } catch (Exception ex) { - return Task.FromResult(ex.GetType().FullName == "Clockwork.Runtime.SimulationApiException"); + return Task.FromResult(ex.GetType().FullName == "Orleans.Testing.Simulation.Runtime.SimulationApiException"); } } diff --git a/tests/Clockwork.Conformance.Tests/ExceptionHardeningConformanceTests.cs b/tests/Clockwork.Conformance.Tests/ExceptionHardeningConformanceTests.cs index 929189ef..23233746 100644 --- a/tests/Clockwork.Conformance.Tests/ExceptionHardeningConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/ExceptionHardeningConformanceTests.cs @@ -1,6 +1,6 @@ using System.Reflection; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for exception-handler hardening. Every fixture in this suite is diff --git a/tests/Clockwork.Conformance.Tests/ExcludedTypeConformanceTests.cs b/tests/Clockwork.Conformance.Tests/ExcludedTypeConformanceTests.cs index 2e8b49c9..4b94f422 100644 --- a/tests/Clockwork.Conformance.Tests/ExcludedTypeConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/ExcludedTypeConformanceTests.cs @@ -1,6 +1,6 @@ using System.Reflection; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// A type marked [DoNotRewrite] is excluded from rewriting together with the compiler-generated types nested in @@ -17,7 +17,7 @@ public sealed class ExcludedTypeConformanceTests : IDisposable using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; - namespace Clockwork.Instrumentation.Attributes + namespace Orleans.Testing.Simulation.Instrumentation.Attributes { [AttributeUsage(AttributeTargets.Class)] public sealed class DoNotRewriteAttribute(string reason) : Attribute @@ -26,7 +26,7 @@ public sealed class DoNotRewriteAttribute(string reason) : Attribute } } namespace Conf { - [Clockwork.Instrumentation.Attributes.DoNotRewrite("Runs outside the simulation.")] + [Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite("Runs outside the simulation.")] public static class LegacyProbe { // The BCL awaiters resume on thread-pool threads, and Task.Delay waits on a real timer. diff --git a/tests/Clockwork.Conformance.Tests/FrameworkTimeoutConformanceTests.cs b/tests/Clockwork.Conformance.Tests/FrameworkTimeoutConformanceTests.cs index 20a77022..dfc19a65 100644 --- a/tests/Clockwork.Conformance.Tests/FrameworkTimeoutConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/FrameworkTimeoutConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; -using Clockwork.Runtime; +using Orleans.Testing.Simulation.Runtime; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the framework members whose BCL implementations time out on a real timer or block the diff --git a/tests/Clockwork.Conformance.Tests/GenericTaskConformanceTests.cs b/tests/Clockwork.Conformance.Tests/GenericTaskConformanceTests.cs index cccf6208..9378abb5 100644 --- a/tests/Clockwork.Conformance.Tests/GenericTaskConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/GenericTaskConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the generic surface that the controlled-task diff --git a/tests/Clockwork.Conformance.Tests/GlobalUsings.Shims.cs b/tests/Clockwork.Conformance.Tests/GlobalUsings.Shims.cs index 914e368f..ba5f223a 100644 --- a/tests/Clockwork.Conformance.Tests/GlobalUsings.Shims.cs +++ b/tests/Clockwork.Conformance.Tests/GlobalUsings.Shims.cs @@ -1,6 +1,6 @@ -global using Clockwork.Shims.System; -global using Clockwork.Shims.System.Diagnostics; -global using Clockwork.Shims.System.Runtime.CompilerServices; -global using Clockwork.Shims.System.Security.Cryptography; -global using Clockwork.Shims.System.Threading; -global using Clockwork.Shims.System.Threading.Tasks; +global using Orleans.Testing.Simulation.Shims.System; +global using Orleans.Testing.Simulation.Shims.System.Diagnostics; +global using Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; +global using Orleans.Testing.Simulation.Shims.System.Security.Cryptography; +global using Orleans.Testing.Simulation.Shims.System.Threading; +global using Orleans.Testing.Simulation.Shims.System.Threading.Tasks; diff --git a/tests/Clockwork.Conformance.Tests/InterlockedConformanceTests.cs b/tests/Clockwork.Conformance.Tests/InterlockedConformanceTests.cs index 987548db..25051c6f 100644 --- a/tests/Clockwork.Conformance.Tests/InterlockedConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/InterlockedConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the controlled surface. The diff --git a/tests/Clockwork.Conformance.Tests/LockConformanceTests.cs b/tests/Clockwork.Conformance.Tests/LockConformanceTests.cs index c34affbc..114fc1c1 100644 --- a/tests/Clockwork.Conformance.Tests/LockConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/LockConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the controlled surface. The diff --git a/tests/Clockwork.Conformance.Tests/ModernSynchronizationConformanceTests.cs b/tests/Clockwork.Conformance.Tests/ModernSynchronizationConformanceTests.cs index 4b4547cc..f29c8e0a 100644 --- a/tests/Clockwork.Conformance.Tests/ModernSynchronizationConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/ModernSynchronizationConformanceTests.cs @@ -1,9 +1,9 @@ -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Runtime; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Runtime; +using Orleans.Testing.Simulation.Runtime.Threading; using Mono.Cecil; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; public sealed class ModernSynchronizationConformanceTests : IDisposable { @@ -204,7 +204,7 @@ public void RewrittenThirdPartyClosureUsesModernPrimitiveInsideSimulation(bool o Assert.Contains( closure.Methods.SelectMany(method => method.HasBody ? method.Body.Instructions : []), instruction => instruction.Operand is MethodReference reference - && reference.DeclaringType.FullName == "Clockwork.Shims.System.Threading.ControlledManualResetEventSlim" + && reference.DeclaringType.FullName == "Orleans.Testing.Simulation.Shims.System.Threading.ControlledManualResetEventSlim" && reference.Name == "Set"); } diff --git a/tests/Clockwork.Conformance.Tests/MonitorConformanceTests.cs b/tests/Clockwork.Conformance.Tests/MonitorConformanceTests.cs index ba035e2e..f7105cdb 100644 --- a/tests/Clockwork.Conformance.Tests/MonitorConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/MonitorConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the controlled surface and therefore diff --git a/tests/Clockwork.Conformance.Tests/MultiTaskConformanceTests.cs b/tests/Clockwork.Conformance.Tests/MultiTaskConformanceTests.cs index bd336693..5f17fd28 100644 --- a/tests/Clockwork.Conformance.Tests/MultiTaskConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/MultiTaskConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the multi-task surfaces, with the BCL as the oracle: every Task.WhenEach overload, diff --git a/tests/Clockwork.Conformance.Tests/ParallelConformanceTests.cs b/tests/Clockwork.Conformance.Tests/ParallelConformanceTests.cs index 7398550d..52e5a907 100644 --- a/tests/Clockwork.Conformance.Tests/ParallelConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/ParallelConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the controlled surface. @@ -128,12 +128,12 @@ long[] Run() using var host = new SimulationHost(Start); return Result((Task)host.Invoke( Method("IdentityAndTrace", optimize), - (Func)(() => Clockwork.Runtime.Threading.SimulationSynchronizationFlow.CurrentId))!); + (Func)(() => Orleans.Testing.Simulation.Runtime.Threading.SimulationSynchronizationFlow.CurrentId))!); } long[] first = Run(); long[] second = Run(); - Assert.NotEqual(Clockwork.Runtime.Threading.SimulationSynchronizationFlow.None, first[1]); + Assert.NotEqual(Orleans.Testing.Simulation.Runtime.Threading.SimulationSynchronizationFlow.None, first[1]); Assert.Equal(123, first[8]); Assert.Equal(first[8], second[8]); @@ -143,7 +143,7 @@ long[] Run() for (int i = 0; i < 3; i++) { Assert.Equal(first[0], first[2 + i * 2]); - Assert.NotEqual(Clockwork.Runtime.Threading.SimulationSynchronizationFlow.None, first[3 + i * 2]); + Assert.NotEqual(Orleans.Testing.Simulation.Runtime.Threading.SimulationSynchronizationFlow.None, first[3 + i * 2]); } // The caller's worker takes the first iteration, as the caller's strand, as the BCL's root replica runs on the @@ -191,7 +191,7 @@ public void ForLoopStateOverloadIsRejected() var ex = Assert.ThrowsAny(() => host.Invoke(Method("ForLoopStateIsRejected"))); var unsupported = Unwrap(ex); Assert.Equal( - "Clockwork.Runtime.SimulationApiException", + "Orleans.Testing.Simulation.Runtime.SimulationApiException", unsupported.GetType().FullName); } diff --git a/tests/Clockwork.Conformance.Tests/ParallelLoopConformanceTests.cs b/tests/Clockwork.Conformance.Tests/ParallelLoopConformanceTests.cs index f3f3b428..13f7507e 100644 --- a/tests/Clockwork.Conformance.Tests/ParallelLoopConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/ParallelLoopConformanceTests.cs @@ -2,12 +2,12 @@ using System.Reflection; using System.Runtime.CompilerServices; using System.Threading.Tasks; -using Clockwork.Runtime; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Replay; +using Orleans.Testing.Simulation.Runtime; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Replay; using LoopOutcome = (System.Threading.Tasks.TaskStatus Status, string[] Faults, string[] Trace, int MaxInFlight); -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the controlled loops: every ForEachAsync and ForAsync diff --git a/tests/Clockwork.Conformance.Tests/PlinqConformanceTests.cs b/tests/Clockwork.Conformance.Tests/PlinqConformanceTests.cs index 1e0f8bad..fcc00a48 100644 --- a/tests/Clockwork.Conformance.Tests/PlinqConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/PlinqConformanceTests.cs @@ -1,8 +1,8 @@ using System.Collections.Concurrent; using System.Reflection; -using Clockwork.Runtime; +using Orleans.Testing.Simulation.Runtime; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the rejected PLINQ entry points. PLINQ runs a query on worker tasks of diff --git a/tests/Clockwork.Conformance.Tests/PreviewUnionConformanceTests.cs b/tests/Clockwork.Conformance.Tests/PreviewUnionConformanceTests.cs index 9785f3f7..845856a2 100644 --- a/tests/Clockwork.Conformance.Tests/PreviewUnionConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/PreviewUnionConformanceTests.cs @@ -2,7 +2,7 @@ using System.Runtime.InteropServices; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// Qualifies the pinned .NET 11 GA runtime with preview-language lowering from the same SDK compiler diff --git a/tests/Clockwork.Conformance.Tests/ProcessorCountConformanceTests.cs b/tests/Clockwork.Conformance.Tests/ProcessorCountConformanceTests.cs index 30e05e72..07401a45 100644 --- a/tests/Clockwork.Conformance.Tests/ProcessorCountConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/ProcessorCountConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the simulated processor count: under simulation diff --git a/tests/Clockwork.Conformance.Tests/RejectedFrameworkWorkConformanceTests.cs b/tests/Clockwork.Conformance.Tests/RejectedFrameworkWorkConformanceTests.cs index 0ce20516..74b38cf5 100644 --- a/tests/Clockwork.Conformance.Tests/RejectedFrameworkWorkConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/RejectedFrameworkWorkConformanceTests.cs @@ -1,7 +1,7 @@ using System.Collections.Concurrent; -using Clockwork.Runtime; +using Orleans.Testing.Simulation.Runtime; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the framework entry points which the concurrency-escape audit found starting work outside diff --git a/tests/Clockwork.Conformance.Tests/RewriteFixture.cs b/tests/Clockwork.Conformance.Tests/RewriteFixture.cs index c8fdd02b..d17f00ba 100644 --- a/tests/Clockwork.Conformance.Tests/RewriteFixture.cs +++ b/tests/Clockwork.Conformance.Tests/RewriteFixture.cs @@ -1,14 +1,14 @@ using System.Reflection; using System.Text; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Runtime.Shims; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Emit; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// Compiles ordinary C# source whose direct calls target the real .NET 11 BCL APIs, rewrites it diff --git a/tests/Clockwork.Conformance.Tests/RuntimeAsyncHelpersConformanceTests.cs b/tests/Clockwork.Conformance.Tests/RuntimeAsyncHelpersConformanceTests.cs index 165da75b..3a41cee2 100644 --- a/tests/Clockwork.Conformance.Tests/RuntimeAsyncHelpersConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/RuntimeAsyncHelpersConformanceTests.cs @@ -1,11 +1,11 @@ using System.Reflection; -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Runtime; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Runtime; using Mono.Cecil; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// A method compiled with runtime async suspends and resumes through the runtime's own continuation machinery, which diff --git a/tests/Clockwork.Conformance.Tests/SemaphoreSlimConformanceTests.cs b/tests/Clockwork.Conformance.Tests/SemaphoreSlimConformanceTests.cs index f7272290..44882d19 100644 --- a/tests/Clockwork.Conformance.Tests/SemaphoreSlimConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/SemaphoreSlimConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the controlled surface. The diff --git a/tests/Clockwork.Conformance.Tests/SimulationHost.cs b/tests/Clockwork.Conformance.Tests/SimulationHost.cs index 1ab28a7d..e11e9c61 100644 --- a/tests/Clockwork.Conformance.Tests/SimulationHost.cs +++ b/tests/Clockwork.Conformance.Tests/SimulationHost.cs @@ -1,9 +1,9 @@ using System.Diagnostics; using System.Reflection; using System.Runtime.ExceptionServices; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// A minimal single- or multi-node wrapper that invokes an instrumented diff --git a/tests/Clockwork.Conformance.Tests/SimulationHostTests.cs b/tests/Clockwork.Conformance.Tests/SimulationHostTests.cs index 09313345..1301b837 100644 --- a/tests/Clockwork.Conformance.Tests/SimulationHostTests.cs +++ b/tests/Clockwork.Conformance.Tests/SimulationHostTests.cs @@ -1,6 +1,6 @@ using System.Reflection; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// The conformance host's watchdog: a probe which blocks the logical thread fails its test instead of hanging. public sealed class SimulationHostTests diff --git a/tests/Clockwork.Conformance.Tests/SimulationNotActiveExceptionAssert.cs b/tests/Clockwork.Conformance.Tests/SimulationNotActiveExceptionAssert.cs index dd2bb09d..39f67755 100644 --- a/tests/Clockwork.Conformance.Tests/SimulationNotActiveExceptionAssert.cs +++ b/tests/Clockwork.Conformance.Tests/SimulationNotActiveExceptionAssert.cs @@ -1,7 +1,7 @@ using System.Reflection; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; internal static class SimulationNotActiveExceptionAssert { diff --git a/tests/Clockwork.Conformance.Tests/SpinWaitConformanceTests.cs b/tests/Clockwork.Conformance.Tests/SpinWaitConformanceTests.cs index 4e0591e3..b46e12a7 100644 --- a/tests/Clockwork.Conformance.Tests/SpinWaitConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/SpinWaitConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the controlled value type. diff --git a/tests/Clockwork.Conformance.Tests/StreamConformanceTests.cs b/tests/Clockwork.Conformance.Tests/StreamConformanceTests.cs index 07ec46f2..4cd6e8df 100644 --- a/tests/Clockwork.Conformance.Tests/StreamConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/StreamConformanceTests.cs @@ -1,6 +1,6 @@ using System.Collections.Concurrent; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the controlled asynchronous members of Stream, TextReader, and diff --git a/tests/Clockwork.Conformance.Tests/SubstitutedTypeShapeConformanceTests.cs b/tests/Clockwork.Conformance.Tests/SubstitutedTypeShapeConformanceTests.cs index fc04830a..0c6943e7 100644 --- a/tests/Clockwork.Conformance.Tests/SubstitutedTypeShapeConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/SubstitutedTypeShapeConformanceTests.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for whole-type substitutions reaching beyond member signatures: a base type and an diff --git a/tests/Clockwork.Conformance.Tests/TaskApiConformanceTests.cs b/tests/Clockwork.Conformance.Tests/TaskApiConformanceTests.cs index 01c2a42a..969a8ca6 100644 --- a/tests/Clockwork.Conformance.Tests/TaskApiConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/TaskApiConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the ordinary surface that application code calls diff --git a/tests/Clockwork.Conformance.Tests/TaskCombinatorConformanceTests.cs b/tests/Clockwork.Conformance.Tests/TaskCombinatorConformanceTests.cs index 559e9ed7..12b7b338 100644 --- a/tests/Clockwork.Conformance.Tests/TaskCombinatorConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/TaskCombinatorConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the controlled combinators (Task.WhenAll, Task.WhenAny, diff --git a/tests/Clockwork.Conformance.Tests/TaskDelayConformanceTests.cs b/tests/Clockwork.Conformance.Tests/TaskDelayConformanceTests.cs index b2cab2ca..5baf7e2e 100644 --- a/tests/Clockwork.Conformance.Tests/TaskDelayConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/TaskDelayConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// End-to-end rewrite and runtime coverage for every .NET 11 Task.Delay overload. public sealed class TaskDelayConformanceTests : IDisposable diff --git a/tests/Clockwork.Conformance.Tests/TaskEntryPointConformanceTests.cs b/tests/Clockwork.Conformance.Tests/TaskEntryPointConformanceTests.cs index 1a72d89c..6671db17 100644 --- a/tests/Clockwork.Conformance.Tests/TaskEntryPointConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/TaskEntryPointConformanceTests.cs @@ -1,9 +1,9 @@ using System.Collections.Concurrent; using System.Reflection; using System.Threading.Tasks; -using Clockwork.Runtime; +using Orleans.Testing.Simulation.Runtime; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the task and thread entry points which used to leave the coordinator: Task.Start diff --git a/tests/Clockwork.Conformance.Tests/TaskFactoryConformanceTests.cs b/tests/Clockwork.Conformance.Tests/TaskFactoryConformanceTests.cs index cec60ef4..efa7a282 100644 --- a/tests/Clockwork.Conformance.Tests/TaskFactoryConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/TaskFactoryConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the controlled / @@ -198,12 +198,12 @@ public void StartNewRunsOnTheControlledLogicalThreadAndFreshStrand(bool optimize using var host = new SimulationHost(Start); var task = (Task)host.Invoke( Method("Identity", optimize), - (Func)(() => Clockwork.Runtime.Threading.SimulationSynchronizationFlow.CurrentId))!; + (Func)(() => Orleans.Testing.Simulation.Runtime.Threading.SimulationSynchronizationFlow.CurrentId))!; long[] values = Result(task); Assert.Equal(values[0], values[2]); - Assert.NotEqual(Clockwork.Runtime.Threading.SimulationSynchronizationFlow.None, values[1]); - Assert.NotEqual(Clockwork.Runtime.Threading.SimulationSynchronizationFlow.None, values[3]); + Assert.NotEqual(Orleans.Testing.Simulation.Runtime.Threading.SimulationSynchronizationFlow.None, values[1]); + Assert.NotEqual(Orleans.Testing.Simulation.Runtime.Threading.SimulationSynchronizationFlow.None, values[3]); Assert.NotEqual(values[1], values[3]); } diff --git a/tests/Clockwork.Conformance.Tests/TaskRunConformanceTests.cs b/tests/Clockwork.Conformance.Tests/TaskRunConformanceTests.cs index 0081833f..fd04603d 100644 --- a/tests/Clockwork.Conformance.Tests/TaskRunConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/TaskRunConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the controlled family: @@ -104,18 +104,18 @@ long[] Run() using var host = new SimulationHost(Start); return Result((Task)host.Invoke( Method("IdentityAndTrace", optimize), - (Func)(() => Clockwork.Runtime.Threading.SimulationSynchronizationFlow.CurrentId))!); + (Func)(() => Orleans.Testing.Simulation.Runtime.Threading.SimulationSynchronizationFlow.CurrentId))!); } long[] first = Run(); long[] second = Run(); - Assert.NotEqual(Clockwork.Runtime.Threading.SimulationSynchronizationFlow.None, first[1]); + Assert.NotEqual(Orleans.Testing.Simulation.Runtime.Threading.SimulationSynchronizationFlow.None, first[1]); Assert.Equal(123, first[8]); Assert.Equal(first[8], second[8]); for (int i = 0; i < 3; i++) { Assert.Equal(first[0], first[2 + i * 2]); - Assert.NotEqual(Clockwork.Runtime.Threading.SimulationSynchronizationFlow.None, first[3 + i * 2]); + Assert.NotEqual(Orleans.Testing.Simulation.Runtime.Threading.SimulationSynchronizationFlow.None, first[3 + i * 2]); Assert.NotEqual(first[1], first[3 + i * 2]); } } diff --git a/tests/Clockwork.Conformance.Tests/TaskSchedulingConformanceTests.cs b/tests/Clockwork.Conformance.Tests/TaskSchedulingConformanceTests.cs index 7e7e6355..de676624 100644 --- a/tests/Clockwork.Conformance.Tests/TaskSchedulingConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/TaskSchedulingConformanceTests.cs @@ -1,9 +1,9 @@ using System.Reflection; using System.Threading.Tasks; -using Clockwork.Runtime; -using Clockwork.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime; +using Orleans.Testing.Simulation.Runtime.Execution; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the tasks a probe constructs with new Task(...) and for the one scheduler policy of diff --git a/tests/Clockwork.Conformance.Tests/ThreadAffinityConformanceTests.cs b/tests/Clockwork.Conformance.Tests/ThreadAffinityConformanceTests.cs index bda06c1f..ff119bf4 100644 --- a/tests/Clockwork.Conformance.Tests/ThreadAffinityConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/ThreadAffinityConformanceTests.cs @@ -3,14 +3,14 @@ using System.Reflection.Emit; using System.Runtime.CompilerServices; using System.Text.RegularExpressions; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Runtime.Policy; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Runtime.Policy; +using Orleans.Testing.Simulation.Runtime.Shims; using Mono.Cecil; using GenericParameterAttributes = System.Reflection.GenericParameterAttributes; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// Conformance for the controlled APIs' thread affinity: while a simulation is active, every controlled rewrite target @@ -86,7 +86,7 @@ public void EveryControlledEntryPointRejectsACallOutsideASimulation() List failures = InvokeEach(ambient: null, entryPoints, static (entryPoint, exception) => entryPoint.Method.DeclaringType == typeof(ControlledTaskCompletionSource) && entryPoint.Method.Name.StartsWith("Create", StringComparison.Ordinal) ? exception is null - : entryPoint.Method.DeclaringType == typeof(Clockwork.Shims.System.Threading.Tasks.Sources.ControlledManualResetValueTaskSourceCore) + : entryPoint.Method.DeclaringType == typeof(Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Sources.ControlledManualResetValueTaskSourceCore) ? entryPoint.Method.Name == nameof(System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore.SetException) ? exception is ArgumentNullException : exception is null diff --git a/tests/Clockwork.Conformance.Tests/ThreadConformanceTests.cs b/tests/Clockwork.Conformance.Tests/ThreadConformanceTests.cs index 60a5ab41..cc34514c 100644 --- a/tests/Clockwork.Conformance.Tests/ThreadConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/ThreadConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the controlled surface. diff --git a/tests/Clockwork.Conformance.Tests/ThreadPoolConformanceTests.cs b/tests/Clockwork.Conformance.Tests/ThreadPoolConformanceTests.cs index b109f526..75f7adc0 100644 --- a/tests/Clockwork.Conformance.Tests/ThreadPoolConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/ThreadPoolConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the controlled queueing surface @@ -197,18 +197,18 @@ long[] Run() using var host = new SimulationHost(Start); return Result((Task)host.Invoke( Method("IdentityAndTrace", optimize), - (Func)(() => Clockwork.Runtime.Threading.SimulationSynchronizationFlow.CurrentId))!); + (Func)(() => Orleans.Testing.Simulation.Runtime.Threading.SimulationSynchronizationFlow.CurrentId))!); } long[] first = Run(); long[] second = Run(); - Assert.NotEqual(Clockwork.Runtime.Threading.SimulationSynchronizationFlow.None, first[1]); + Assert.NotEqual(Orleans.Testing.Simulation.Runtime.Threading.SimulationSynchronizationFlow.None, first[1]); Assert.Equal(123, first[8]); Assert.Equal(first[8], second[8]); for (int i = 0; i < 3; i++) { Assert.Equal(first[0], first[2 + i * 2]); - Assert.NotEqual(Clockwork.Runtime.Threading.SimulationSynchronizationFlow.None, first[3 + i * 2]); + Assert.NotEqual(Orleans.Testing.Simulation.Runtime.Threading.SimulationSynchronizationFlow.None, first[3 + i * 2]); Assert.NotEqual(first[1], first[3 + i * 2]); } } diff --git a/tests/Clockwork.Conformance.Tests/ThreadPoolEscapeGuard.cs b/tests/Clockwork.Conformance.Tests/ThreadPoolEscapeGuard.cs index 8f480469..c2c10a21 100644 --- a/tests/Clockwork.Conformance.Tests/ThreadPoolEscapeGuard.cs +++ b/tests/Clockwork.Conformance.Tests/ThreadPoolEscapeGuard.cs @@ -1,9 +1,9 @@ using System.Collections.Concurrent; using System.Diagnostics; using System.Diagnostics.Tracing; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// diff --git a/tests/Clockwork.Conformance.Tests/TimerConformanceTests.cs b/tests/Clockwork.Conformance.Tests/TimerConformanceTests.cs index c2fcebba..e7f2b739 100644 --- a/tests/Clockwork.Conformance.Tests/TimerConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/TimerConformanceTests.cs @@ -1,6 +1,6 @@ using System.Reflection; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; public sealed class TimerConformanceTests : IDisposable { diff --git a/tests/Clockwork.Conformance.Tests/UncontrolledInvocationConformanceTests.cs b/tests/Clockwork.Conformance.Tests/UncontrolledInvocationConformanceTests.cs index 66e0716c..e5d3132e 100644 --- a/tests/Clockwork.Conformance.Tests/UncontrolledInvocationConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/UncontrolledInvocationConformanceTests.cs @@ -1,12 +1,12 @@ using System.Reflection; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the uncontrolled-invocation rejection surface. Once a /// fixture is rewritten with the controlled-task rule set, real /// and control call sites throw a -/// that names the exact API - the rewriter +/// that names the exact API - the rewriter /// injected a throwing guard before the original call, so a rewritten assembly can never launch, kill, wait /// on, or terminate a real OS process. Unlike the controlled shims, the rejection is unconditional (these /// APIs cannot be modelled at all), so it fires whether or not a simulation is active. @@ -84,7 +84,7 @@ private static void AssertUncontrolled(Exception ex) { Exception unwrapped = Unwrap(ex); Assert.Equal( - "Clockwork.Runtime.UncontrolledInvocationException", + "Orleans.Testing.Simulation.Runtime.UncontrolledInvocationException", unwrapped.GetType().FullName); } diff --git a/tests/Clockwork.Conformance.Tests/ValueTaskConformanceTests.cs b/tests/Clockwork.Conformance.Tests/ValueTaskConformanceTests.cs index 9445e194..a3d71546 100644 --- a/tests/Clockwork.Conformance.Tests/ValueTaskConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/ValueTaskConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end semantic conformance for the controlled ValueTask/ValueTask<T> diff --git a/tests/Clockwork.Conformance.Tests/VolatileConformanceTests.cs b/tests/Clockwork.Conformance.Tests/VolatileConformanceTests.cs index 8a89c933..8f425585 100644 --- a/tests/Clockwork.Conformance.Tests/VolatileConformanceTests.cs +++ b/tests/Clockwork.Conformance.Tests/VolatileConformanceTests.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Threading.Tasks; -namespace Clockwork.Conformance.Tests; +namespace Orleans.Testing.Simulation.Conformance.Tests; /// /// End-to-end conformance for the controlled surface. diff --git a/tests/Clockwork.Instrumentation.Tests/Cli/CliCommandTests.cs b/tests/Clockwork.Instrumentation.Tests/Cli/CliCommandTests.cs index 955b7af8..7f4af1e9 100644 --- a/tests/Clockwork.Instrumentation.Tests/Cli/CliCommandTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Cli/CliCommandTests.cs @@ -1,10 +1,10 @@ -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Inspection; -using Clockwork.Instrumentation.Tests.Infrastructure; -using Clockwork.Runtime.Shims; -using Clockwork.Tool; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Inspection; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Tool; -namespace Clockwork.Instrumentation.Tests.Cli; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Cli; /// /// Verifies the clockwork CLI in-process by driving with explicit diff --git a/tests/Clockwork.Instrumentation.Tests/Cli/ReplayCliCommandTests.cs b/tests/Clockwork.Instrumentation.Tests/Cli/ReplayCliCommandTests.cs index 7ca360a9..f73cd327 100644 --- a/tests/Clockwork.Instrumentation.Tests/Cli/ReplayCliCommandTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Cli/ReplayCliCommandTests.cs @@ -1,13 +1,13 @@ using System.Security.Cryptography; using System.Text.Json; -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Orchestration; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Replay; -using Clockwork.Runtime.Scheduling; -using Clockwork.Tool; - -namespace Clockwork.Instrumentation.Tests.Cli; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Orchestration; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Replay; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Tool; + +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Cli; public sealed class ReplayCliCommandTests : IDisposable { diff --git a/tests/Clockwork.Instrumentation.Tests/Closure/ClosureDiscoveryTests.cs b/tests/Clockwork.Instrumentation.Tests/Closure/ClosureDiscoveryTests.cs index d268e5d1..9377ec26 100644 --- a/tests/Clockwork.Instrumentation.Tests/Closure/ClosureDiscoveryTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Closure/ClosureDiscoveryTests.cs @@ -1,8 +1,8 @@ -using Clockwork.Instrumentation.Closure; -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Closure; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; -namespace Clockwork.Instrumentation.Tests.Closure; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Closure; /// /// Verifies deterministic application-closure discovery: managed application and dependency diff --git a/tests/Clockwork.Instrumentation.Tests/Closure/TargetRuntimeDiscoveryTests.cs b/tests/Clockwork.Instrumentation.Tests/Closure/TargetRuntimeDiscoveryTests.cs index b500d6ba..c575ebd6 100644 --- a/tests/Clockwork.Instrumentation.Tests/Closure/TargetRuntimeDiscoveryTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Closure/TargetRuntimeDiscoveryTests.cs @@ -1,8 +1,8 @@ -using Clockwork.Instrumentation.Closure; -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Closure; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; -namespace Clockwork.Instrumentation.Tests.Closure; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Closure; public sealed class TargetRuntimeDiscoveryTests : IDisposable { diff --git a/tests/Clockwork.Instrumentation.Tests/Configuration/BuiltInSelectionTests.cs b/tests/Clockwork.Instrumentation.Tests/Configuration/BuiltInSelectionTests.cs index 643355fc..69ef16fa 100644 --- a/tests/Clockwork.Instrumentation.Tests/Configuration/BuiltInSelectionTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Configuration/BuiltInSelectionTests.cs @@ -1,9 +1,9 @@ using System.Collections.Immutable; -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; -namespace Clockwork.Instrumentation.Tests.Configuration; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Configuration; /// /// Verifies the built-in rule-set selection plumbing: enabling by id, family include/exclude, the diff --git a/tests/Clockwork.Instrumentation.Tests/Configuration/InstrumentationConfigurationTests.cs b/tests/Clockwork.Instrumentation.Tests/Configuration/InstrumentationConfigurationTests.cs index 694ff8a6..d3b53b98 100644 --- a/tests/Clockwork.Instrumentation.Tests/Configuration/InstrumentationConfigurationTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Configuration/InstrumentationConfigurationTests.cs @@ -1,8 +1,8 @@ using System.Text.Json; -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Orchestration; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Orchestration; -namespace Clockwork.Instrumentation.Tests.Configuration; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Configuration; /// /// Verifies the instrumentation-configuration loader: valid documents parse with defaults applied, diff --git a/tests/Clockwork.Instrumentation.Tests/Configuration/RuleSetJsonTests.cs b/tests/Clockwork.Instrumentation.Tests/Configuration/RuleSetJsonTests.cs index 07f6895e..a25b32f1 100644 --- a/tests/Clockwork.Instrumentation.Tests/Configuration/RuleSetJsonTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Configuration/RuleSetJsonTests.cs @@ -1,9 +1,9 @@ -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Orchestration; -using Clockwork.Instrumentation.Rules; -using Clockwork.Runtime.Policy; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Orchestration; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Runtime.Policy; -namespace Clockwork.Instrumentation.Tests.Configuration; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Configuration; /// /// Verifies the strict rule-set JSON loader: valid documents parse to the expected rule model, diff --git a/tests/Clockwork.Instrumentation.Tests/Configuration/RuleSetMergeTests.cs b/tests/Clockwork.Instrumentation.Tests/Configuration/RuleSetMergeTests.cs index f923b8fa..83968d2d 100644 --- a/tests/Clockwork.Instrumentation.Tests/Configuration/RuleSetMergeTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Configuration/RuleSetMergeTests.cs @@ -1,7 +1,7 @@ -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Rules; -namespace Clockwork.Instrumentation.Tests.Configuration; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Configuration; /// /// Verifies deterministic rule-set merging: a single source passes through unchanged, a later diff --git a/tests/Clockwork.Instrumentation.Tests/Execution/ProcessExecutionTests.cs b/tests/Clockwork.Instrumentation.Tests/Execution/ProcessExecutionTests.cs index 7d845a60..4719c37e 100644 --- a/tests/Clockwork.Instrumentation.Tests/Execution/ProcessExecutionTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Execution/ProcessExecutionTests.cs @@ -1,10 +1,10 @@ -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Manifest; -using Clockwork.Instrumentation.Orchestration; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Orchestration; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; -namespace Clockwork.Instrumentation.Tests.Execution; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Execution; /// /// Full out-of-process execution tests. Each builds a real console-application closure (app + @@ -43,10 +43,10 @@ public void BuiltInRulesRewriteThirdPartySynchronizationAndEveryDelayOverload(bo staged.ExitCode == 0, $"Staged process failed ({staged.ExitCode}):\n{staged.StandardOutput}\n{staged.StandardError}"); Assert.Contains("monitor=rejected", staged.Output); - Assert.Contains("lock=Clockwork.Shims.System.Threading.ControlledLock", staged.Output); + Assert.Contains("lock=Orleans.Testing.Simulation.Shims.System.Threading.ControlledLock", staged.Output); Assert.Contains("semaphore=signaled", staged.Output); Assert.Contains("delays=6", staged.Output); - Assert.Contains("timer=Clockwork.Shims.System.Threading.ControlledTimer", staged.Output); + Assert.Contains("timer=Orleans.Testing.Simulation.Shims.System.Threading.ControlledTimer", staged.Output); } [Fact] diff --git a/tests/Clockwork.Instrumentation.Tests/GlobalUsings.Shims.cs b/tests/Clockwork.Instrumentation.Tests/GlobalUsings.Shims.cs index 914e368f..ba5f223a 100644 --- a/tests/Clockwork.Instrumentation.Tests/GlobalUsings.Shims.cs +++ b/tests/Clockwork.Instrumentation.Tests/GlobalUsings.Shims.cs @@ -1,6 +1,6 @@ -global using Clockwork.Shims.System; -global using Clockwork.Shims.System.Diagnostics; -global using Clockwork.Shims.System.Runtime.CompilerServices; -global using Clockwork.Shims.System.Security.Cryptography; -global using Clockwork.Shims.System.Threading; -global using Clockwork.Shims.System.Threading.Tasks; +global using Orleans.Testing.Simulation.Shims.System; +global using Orleans.Testing.Simulation.Shims.System.Diagnostics; +global using Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; +global using Orleans.Testing.Simulation.Shims.System.Security.Cryptography; +global using Orleans.Testing.Simulation.Shims.System.Threading; +global using Orleans.Testing.Simulation.Shims.System.Threading.Tasks; diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/AsyncHelpersRuleGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/AsyncHelpersRuleGoldenTests.cs index 917f747b..1d87ab1b 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/AsyncHelpersRuleGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/AsyncHelpersRuleGoldenTests.cs @@ -1,11 +1,11 @@ -using Clockwork.Instrumentation.Manifest; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Tests.Infrastructure; -using Clockwork.Runtime.Policy; +using Orleans.Testing.Simulation.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Runtime.Policy; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// Golden test for the runtime-async AsyncHelpers.Await intrinsics that take a configured awaitable. Their @@ -36,9 +36,9 @@ public static class RuntimeAsync public static TheoryData Overloads => new() { - { "AwaitTask", "clockwork.tasks.asynchelpers.await.configured", "ControlledAsyncHelpers::Await(Clockwork.Shims.System.Runtime.CompilerServices.ControlledConfiguredTaskAwaitable)" }, + { "AwaitTask", "clockwork.tasks.asynchelpers.await.configured", "ControlledAsyncHelpers::Await(Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledConfiguredTaskAwaitable)" }, { "AwaitTaskOfT", "clockwork.tasks.asynchelpers.await.configured.generic", "ControlledAsyncHelpers::Await(" }, - { "AwaitValueTask", "clockwork.tasks.asynchelpers.await.configured.valuetask", "ControlledAsyncHelpers::Await(Clockwork.Shims.System.Runtime.CompilerServices.ControlledConfiguredValueTaskAwaitable)" }, + { "AwaitValueTask", "clockwork.tasks.asynchelpers.await.configured.valuetask", "ControlledAsyncHelpers::Await(Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledConfiguredValueTaskAwaitable)" }, { "AwaitValueTaskOfT", "clockwork.tasks.asynchelpers.await.configured.valuetask.generic", "ControlledAsyncHelpers::Await(" }, }; diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/BaseCallReplacementGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/BaseCallReplacementGoldenTests.cs index ae65316d..2011261f 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/BaseCallReplacementGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/BaseCallReplacementGoldenTests.cs @@ -1,12 +1,12 @@ using System.Collections.Immutable; -using Clockwork.Instrumentation.Manifest; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// Golden tests for : a rule over a virtual member redirects a virtual @@ -46,7 +46,7 @@ public static class ReaderUser private const string ReadAsyncRule = "clockwork.channels.reader.readasync"; private static string RuntimeAssemblyPath => - typeof(Clockwork.Shims.System.Threading.Channels.ControlledChannelReader).Assembly.Location; + typeof(Orleans.Testing.Simulation.Shims.System.Threading.Channels.ControlledChannelReader).Assembly.Location; [Fact] public void BaseCallsAndVirtualCallsAreRedirectedToTheirOwnReplacements() diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/CallSiteRewriteGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/CallSiteRewriteGoldenTests.cs index 4679f7b5..1e392407 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/CallSiteRewriteGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/CallSiteRewriteGoldenTests.cs @@ -1,11 +1,11 @@ -using Clockwork.Instrumentation.Manifest; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Tests.Infrastructure; -using Clockwork.Runtime.Policy; +using Orleans.Testing.Simulation.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Runtime.Policy; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// Golden tests for the core call-site operations: static and instance call redirection, constructor diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/CollectionAccessGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/CollectionAccessGoldenTests.cs index 165b607a..e6dbd3b2 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/CollectionAccessGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/CollectionAccessGoldenTests.cs @@ -1,12 +1,12 @@ using System.Reflection; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Tests.Infrastructure; -using Clockwork.Runtime.Racing; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Runtime.Racing; using Mono.Cecil; using Mono.Cecil.Cil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// Verifies the exact mutable and concurrent collection inventory instrumented in race mode. public sealed class CollectionAccessGoldenTests diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/ComplexShapesGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/ComplexShapesGoldenTests.cs index 4a69959b..6adc5844 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/ComplexShapesGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/ComplexShapesGoldenTests.cs @@ -1,8 +1,8 @@ -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// Robustness tests proving the engine correctly rewrites a redirected call embedded in a wide range diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/ConfiguredAsyncStreamRuleGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/ConfiguredAsyncStreamRuleGoldenTests.cs index 9dd79252..2be9e6cb 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/ConfiguredAsyncStreamRuleGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/ConfiguredAsyncStreamRuleGoldenTests.cs @@ -1,11 +1,11 @@ -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// Golden tests for the configured async disposable and enumerable substitutions, and for the rule set without them, diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/ContinuationRedirectRuleGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/ContinuationRedirectRuleGoldenTests.cs index 334097e4..2656f11a 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/ContinuationRedirectRuleGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/ContinuationRedirectRuleGoldenTests.cs @@ -1,11 +1,11 @@ -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; using Mono.Cecil; using Mono.Cecil.Cil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// Golden tests for the redirects which keep Clockwork from registering BCL continuations: every .NET 11 @@ -157,7 +157,7 @@ public sealed class CoreSource ]; private static string RuntimeAssemblyPath => - typeof(Clockwork.Shims.System.Threading.Tasks.ControlledTask).Assembly.Location; + typeof(Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask).Assembly.Location; [Fact] public void EveryRedirectAppliesAndBinds() @@ -217,7 +217,7 @@ .. module.GetTypes() "System.Void System.Threading.Tasks.TaskCompletionSource`1::.ctor(System.Threading.Tasks.TaskCreationOptions)"); Assert.True(CecilInspect.CallsAnyContaining( CecilInspect.GetMethod(module, "Fx.Completions", "Create"), - "Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::CreateGeneric")); + "Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::CreateGeneric")); Assert.Equal( "System.Threading.Tasks.TaskCompletionSource`1", module.GetType("Fx.DerivedSource").BaseType.FullName); @@ -225,10 +225,10 @@ .. module.GetTypes() && call.DeclaringType.FullName.StartsWith("System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore", StringComparison.Ordinal)); Assert.True(CecilInspect.CallsAnyContaining( CecilInspect.GetMethod(module, "Fx.CoreSource", "Resolve"), - "Clockwork.Shims.System.Threading.Tasks.Sources.ControlledManualResetValueTaskSourceCore::SetResult")); + "Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Sources.ControlledManualResetValueTaskSourceCore::SetResult")); Assert.True(CecilInspect.CallsAnyContaining( CecilInspect.GetMethod(module, "Fx.DerivedSource", "Resolve"), - "Clockwork.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetResult")); + "Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTaskCompletionSource::SetResult")); } private static bool IsBcl(MethodReference call) => diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/ControlledParallelRuleGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/ControlledParallelRuleGoldenTests.cs index 496cf829..73cdbfc0 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/ControlledParallelRuleGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/ControlledParallelRuleGoldenTests.cs @@ -1,20 +1,20 @@ using System.Collections.Immutable; -using Clockwork.Instrumentation.Manifest; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Tests.Infrastructure; -using Clockwork.Runtime.Policy; +using Orleans.Testing.Simulation.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Runtime.Policy; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// End-to-end golden tests for the shipped controlled rule /// family: they rewrite real Parallel.Invoke / For / ForEach / ForAsync / /// ForEachAsync call sites in a compiled fixture against the real Clockwork assembly and assert on the /// rewritten IL and manifest. This proves the static signatures declared in BuiltInRuleSets line up with the -/// actual members, and that the overloads whose +/// actual members, and that the overloads whose /// body receives a ParallelLoopState (break/stop and thread-local TLocal) are rejected at the call site. /// public sealed class ControlledParallelRuleGoldenTests @@ -62,7 +62,7 @@ public static class ParallelUser """; private static string RuntimeAssemblyPath => - typeof(Clockwork.Shims.System.Threading.Tasks.ControlledParallel).Assembly.Location; + typeof(Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledParallel).Assembly.Location; private static RewriteResult RewriteFixture(RewriteTestContext context, string assemblyName) { diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/ControlledTaskRuleGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/ControlledTaskRuleGoldenTests.cs index e8ba166f..997f23c4 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/ControlledTaskRuleGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/ControlledTaskRuleGoldenTests.cs @@ -1,13 +1,13 @@ using System.Collections.Immutable; -using Clockwork.Instrumentation.Manifest; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Tests.Infrastructure; -using Clockwork.Runtime.Policy; +using Orleans.Testing.Simulation.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Runtime.Policy; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// End-to-end golden tests for the shipped controlled-task rule set @@ -100,7 +100,7 @@ public static class TaskUser """; private static string RuntimeAssemblyPath => - typeof(Clockwork.Shims.System.Threading.Tasks.ControlledTask).Assembly.Location; + typeof(Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask).Assembly.Location; private static RewriteResult RewriteFixture(RewriteTestContext context, string assemblyName) { diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/ControlledThreadPoolRuleGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/ControlledThreadPoolRuleGoldenTests.cs index 1c05dba6..53002564 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/ControlledThreadPoolRuleGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/ControlledThreadPoolRuleGoldenTests.cs @@ -1,20 +1,20 @@ using System.Collections.Immutable; -using Clockwork.Instrumentation.Manifest; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Tests.Infrastructure; -using Clockwork.Runtime.Policy; +using Orleans.Testing.Simulation.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Runtime.Policy; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// End-to-end golden tests for the shipped controlled rule /// family: they rewrite real ThreadPool.QueueUserWorkItem / UnsafeQueueUserWorkItem call /// sites in a compiled fixture against the real Clockwork assembly and assert on the /// rewritten IL and manifest. This proves the static signatures declared in BuiltInRuleSets line -/// up with the actual members, and that +/// up with the actual members, and that /// the native-overlapped overload is rejected at the call site, while the registered-wait factories are /// redirected to controlled shims and the RegisteredWaitHandle type is substituted. /// @@ -45,7 +45,7 @@ public static RegisteredWaitHandle UnsafeRegisterWait(WaitHandle h) => """; private static string RuntimeAssemblyPath => - typeof(Clockwork.Shims.System.Threading.ControlledThreadPool).Assembly.Location; + typeof(Orleans.Testing.Simulation.Shims.System.Threading.ControlledThreadPool).Assembly.Location; private static RewriteResult RewriteFixture(RewriteTestContext context, string assemblyName) { diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/ControlledThreadRuleGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/ControlledThreadRuleGoldenTests.cs index dd78df66..158432fe 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/ControlledThreadRuleGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/ControlledThreadRuleGoldenTests.cs @@ -1,20 +1,20 @@ using System.Collections.Immutable; -using Clockwork.Instrumentation.Manifest; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Tests.Infrastructure; -using Clockwork.Runtime.Policy; +using Orleans.Testing.Simulation.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Runtime.Policy; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// End-to-end golden tests for the shipped controlled rule family: /// they rewrite real Thread call sites in a compiled fixture against the real /// Clockwork assembly and assert on the rewritten IL and manifest. This proves the /// static/instance signatures declared in BuiltInRuleSets line up with the actual -/// members - constructors become +/// members - constructors become /// Create, instance Start/Join become static shims taking the receiver, the static /// Sleep/Yield stay static, and the rejected OS-specific surface (priority) is redirected /// to a rejecting shim. @@ -44,7 +44,7 @@ public static class ThreadUser """; private static string RuntimeAssemblyPath => - typeof(Clockwork.Shims.System.Threading.ControlledThread).Assembly.Location; + typeof(Orleans.Testing.Simulation.Shims.System.Threading.ControlledThread).Assembly.Location; private static RewriteResult RewriteFixture(RewriteTestContext context, string assemblyName) { diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/CrossAssemblyTaskDetectionGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/CrossAssemblyTaskDetectionGoldenTests.cs index 4d9f5aa6..735b0902 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/CrossAssemblyTaskDetectionGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/CrossAssemblyTaskDetectionGoldenTests.cs @@ -1,8 +1,8 @@ -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// End-to-end golden tests for the cross-assembly task-detection pass. A consumer assembly is diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/ExceptionHandlerGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/ExceptionHandlerGoldenTests.cs index 51aac4b1..148f6576 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/ExceptionHandlerGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/ExceptionHandlerGoldenTests.cs @@ -1,8 +1,8 @@ -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// Golden tests proving that rewriting inside protected regions (try/catch/filter/finally) preserves diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/ExceptionHardeningRuleGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/ExceptionHardeningRuleGoldenTests.cs index 2ea36d90..004dd9ec 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/ExceptionHardeningRuleGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/ExceptionHardeningRuleGoldenTests.cs @@ -1,11 +1,11 @@ -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; using Mono.Cecil; using Mono.Cecil.Cil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// End-to-end golden tests for the exception-hardening pass. They rewrite a compiled @@ -70,7 +70,7 @@ public static int RethrowOnly() """; private static string RuntimeAssemblyPath => - typeof(Clockwork.Runtime.SimulationExceptionGuard).Assembly.Location; + typeof(Orleans.Testing.Simulation.Runtime.SimulationExceptionGuard).Assembly.Location; private static ModuleDefinition RewriteAndLoad(RewriteTestContext context, string assemblyName) { diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/ExclusionGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/ExclusionGoldenTests.cs index 018a775d..890086e5 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/ExclusionGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/ExclusionGoldenTests.cs @@ -1,10 +1,10 @@ -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// Golden tests for exclusion behaviour: a type excluded via options is not rewritten, is recorded in diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/ExecutionGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/ExecutionGoldenTests.cs index a036f2c9..d5192ac0 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/ExecutionGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/ExecutionGoldenTests.cs @@ -1,9 +1,9 @@ using System.Collections; using System.Reflection; using System.Runtime.Loader; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// Focused in-process execution tests that load a rewritten fixture into a collectible diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/IdempotenceGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/IdempotenceGoldenTests.cs index 16f74013..625fbb17 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/IdempotenceGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/IdempotenceGoldenTests.cs @@ -1,12 +1,12 @@ -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Tests.Infrastructure; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Runtime.Shims; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// Golden tests for the assembly-level idempotence marker: a first rewrite stamps the signature, diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/MemberSubstitutionShapeGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/MemberSubstitutionShapeGoldenTests.cs index 835aedea..89dfa6fa 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/MemberSubstitutionShapeGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/MemberSubstitutionShapeGoldenTests.cs @@ -1,11 +1,11 @@ -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; using Mono.Cecil; using Mono.Cecil.Cil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// Verifies member substitution selects methods, and the constructors that replace awaiter-source calls, by diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/ModernSynchronizationRuleGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/ModernSynchronizationRuleGoldenTests.cs index 59779273..fdb63b24 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/ModernSynchronizationRuleGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/ModernSynchronizationRuleGoldenTests.cs @@ -1,15 +1,15 @@ using System.Collections.Immutable; using System.Reflection; using System.Runtime.Loader; -using Clockwork.Instrumentation.Manifest; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Tests.Infrastructure; -using Clockwork.Runtime.Policy; +using Orleans.Testing.Simulation.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Runtime.Policy; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// Exhaustive end-to-end coverage for the modern synchronization inventory. The direct fixture invokes @@ -195,7 +195,7 @@ public static SpinLock CallSpinLock(Barrier barrier, CountdownEvent countdown, S """; private static string RuntimeAssemblyPath => - typeof(Clockwork.Shims.System.Threading.ControlledBarrier).Assembly.Location; + typeof(Orleans.Testing.Simulation.Shims.System.Threading.ControlledBarrier).Assembly.Location; [Fact] public void EveryModernSynchronizationDirectRuleRewritesToTheControlledRuntimeAndManifest() @@ -219,9 +219,9 @@ public void EveryModernSynchronizationDirectRuleRewritesToTheControlledRuntimeAn Assert.False(CecilInspect.AnyMethodCallsContaining(module, "System.Threading.ExecutionContext::Capture")); Assert.False(CecilInspect.AnyMethodCallsContaining(module, "System.Threading.SynchronizationContext::Wait")); - AssertWholeTypeWasRetargeted(module, "System.Threading.SpinLock", "Clockwork.Shims.System.Threading.ControlledSpinLock"); - AssertWholeTypeWasRetargeted(module, "System.Threading.Barrier", "Clockwork.Shims.System.Threading.ControlledBarrier"); - AssertWholeTypeWasRetargeted(module, "System.Threading.CountdownEvent", "Clockwork.Shims.System.Threading.ControlledCountdownEvent"); + AssertWholeTypeWasRetargeted(module, "System.Threading.SpinLock", "Orleans.Testing.Simulation.Shims.System.Threading.ControlledSpinLock"); + AssertWholeTypeWasRetargeted(module, "System.Threading.Barrier", "Orleans.Testing.Simulation.Shims.System.Threading.ControlledBarrier"); + AssertWholeTypeWasRetargeted(module, "System.Threading.CountdownEvent", "Orleans.Testing.Simulation.Shims.System.Threading.ControlledCountdownEvent"); BuiltInRuleFamily[] modernSynchronizationFamilies = [ @@ -238,7 +238,7 @@ public void EveryModernSynchronizationDirectRuleRewritesToTheControlledRuntimeAn ImmutableHashSet transformed = result.Manifest.Transformations .Select(transformation => transformation.RuleId) .ToImmutableHashSet(StringComparer.Ordinal); - foreach ((BuiltInRuleFamily _, Clockwork.Instrumentation.Rules.RewriteRule rule) in BuiltInRuleSets.ControlledTasksInventory + foreach ((BuiltInRuleFamily _, Orleans.Testing.Simulation.Instrumentation.Rules.RewriteRule rule) in BuiltInRuleSets.ControlledTasksInventory .Where(entry => modernSynchronizationFamilies.Contains(entry.Family))) { Assert.Contains(rule.Id, transformed); @@ -270,8 +270,8 @@ public void WholeTypeSubstitutionsRetargetClosureFieldsAndBarrierCallbackGeneric using ModuleDefinition module = context.LoadModule( Path.Combine(context.Directory, "Fx.ModernSynchronizationClosures.rewritten.dll")); - AssertWholeTypeWasRetargeted(module, "System.Threading.Barrier", "Clockwork.Shims.System.Threading.ControlledBarrier"); - AssertWholeTypeWasRetargeted(module, "System.Threading.CountdownEvent", "Clockwork.Shims.System.Threading.ControlledCountdownEvent"); + AssertWholeTypeWasRetargeted(module, "System.Threading.Barrier", "Orleans.Testing.Simulation.Shims.System.Threading.ControlledBarrier"); + AssertWholeTypeWasRetargeted(module, "System.Threading.CountdownEvent", "Orleans.Testing.Simulation.Shims.System.Threading.ControlledCountdownEvent"); Assert.DoesNotContain( module.GetTypes().SelectMany(type => type.Fields), field => field.FieldType.FullName.Contains("System.Threading.Barrier", StringComparison.Ordinal) diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/MultiTaskRedirectRuleGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/MultiTaskRedirectRuleGoldenTests.cs index 56e46916..2ca0b731 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/MultiTaskRedirectRuleGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/MultiTaskRedirectRuleGoldenTests.cs @@ -1,12 +1,12 @@ -using Clockwork.Instrumentation.Manifest; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; using Mono.Cecil; using Mono.Cecil.Cil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// Golden tests for the multi-task surfaces: every .NET 11 Task.WhenEach overload and every TaskFactory and @@ -119,10 +119,10 @@ public static Task BeginWithArgument(TaskFactory f, Func - typeof(Clockwork.Shims.System.Threading.Tasks.ControlledTask).Assembly.Location; + typeof(Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask).Assembly.Location; [Fact] public void EveryRedirectAndRejectionAppliesAndBinds() diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/RaceExplorationGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/RaceExplorationGoldenTests.cs index 51137215..7ae70349 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/RaceExplorationGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/RaceExplorationGoldenTests.cs @@ -1,12 +1,12 @@ using System.Reflection; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Tests.Infrastructure; -using Clockwork.Runtime.Racing; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Runtime.Racing; using Mono.Cecil; using Mono.Cecil.Cil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// Golden coverage for the opt-in fine-grained race-exploration rewrite pass. public sealed class RaceExplorationGoldenTests diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/ReplacementContractGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/ReplacementContractGoldenTests.cs index 8108df27..f420020e 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/ReplacementContractGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/ReplacementContractGoldenTests.cs @@ -1,12 +1,12 @@ -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// Proves malformed JSON replacement contracts fail before invalid IL is emitted. public sealed class ReplacementContractGoldenTests @@ -280,7 +280,7 @@ public static class ClockProbe """; using var context = RewriteTestContext.Create(); string fixturePath = context.CompileFixture("Fx.RecursiveBuiltIns", source); - string runtimePath = typeof(Clockwork.Shims.System.Threading.Tasks.ControlledTask).Assembly.Location; + string runtimePath = typeof(Orleans.Testing.Simulation.Shims.System.Threading.Tasks.ControlledTask).Assembly.Location; var configuration = new InstrumentationConfiguration { BuiltInRuleSetIds = diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/ResolutionGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/ResolutionGoldenTests.cs index 10b54056..4ff16b69 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/ResolutionGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/ResolutionGoldenTests.cs @@ -1,10 +1,10 @@ -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// Golden tests for strict resolution: a targeted member whose replacement cannot be resolved is a diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/SubstitutedTypeShapeGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/SubstitutedTypeShapeGoldenTests.cs index 964f4c05..bac91597 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/SubstitutedTypeShapeGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/SubstitutedTypeShapeGoldenTests.cs @@ -1,13 +1,13 @@ using System.Runtime.Loader; -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; using Mono.Cecil; using Mono.Cecil.Cil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// Golden tests for the places a whole-type substitution reaches beyond member signatures, using the @@ -21,8 +21,8 @@ public sealed class SubstitutedTypeShapeGoldenTests { private const string BclBarrier = "System.Threading.Barrier"; private const string BclCountdownEvent = "System.Threading.CountdownEvent"; - private const string ControlledBarrier = "Clockwork.Shims.System.Threading.ControlledBarrier"; - private const string ControlledCountdownEvent = "Clockwork.Shims.System.Threading.ControlledCountdownEvent"; + private const string ControlledBarrier = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledBarrier"; + private const string ControlledCountdownEvent = "Orleans.Testing.Simulation.Shims.System.Threading.ControlledCountdownEvent"; internal const string Fixture = """ using System.Collections; @@ -131,7 +131,7 @@ public Phased() """; private static string RuntimeAssemblyPath => - typeof(Clockwork.Shims.System.Threading.ControlledBarrier).Assembly.Location; + typeof(Orleans.Testing.Simulation.Shims.System.Threading.ControlledBarrier).Assembly.Location; [Fact] public void ComposedBaseTypesInterfacesConstraintsAndConstrainedOperandsAreRetargeted() @@ -193,10 +193,10 @@ .. module.GetTypes() Type[] loaded = loadContext.LoadFromStream(image).GetTypes(); Type holder = loaded.Single(type => type.FullName == "Fx.Holder`1"); Assert.Equal( - typeof(IEnumerable), + typeof(IEnumerable), Assert.Single(holder.GetGenericArguments()[0].GetGenericParameterConstraints())); Assert.Equal( - typeof(List), + typeof(List), loaded.Single(type => type.FullName == "Fx.Barriers").BaseType); } finally diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/SubstitutionBindingGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/SubstitutionBindingGoldenTests.cs index 139ea259..61b5140a 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/SubstitutionBindingGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/SubstitutionBindingGoldenTests.cs @@ -1,13 +1,13 @@ using System.Reflection; using System.Runtime.Loader; -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// Golden tests for the rewrite-time check that fails a rewrite (CWR0001) instead of emitting a member reference @@ -18,7 +18,7 @@ namespace Clockwork.Instrumentation.Tests.Golden; public sealed class SubstitutionBindingGoldenTests { private const string DoNotRewriteAttributeSource = """ - namespace Clockwork.Instrumentation.Attributes + namespace Orleans.Testing.Simulation.Instrumentation.Attributes { [System.AttributeUsage(System.AttributeTargets.Class)] public sealed class DoNotRewriteAttribute(string reason) : System.Attribute @@ -56,7 +56,7 @@ public sealed class DoNotRewriteAttribute(string reason) : System.Attribute { "ExcludedImplementer", """ - [Clockwork.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] + [Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] public sealed class Handler : IHandler { public string Handle(LegacyMarker marker) => marker.ToString(); @@ -72,7 +72,7 @@ public sealed class Handler : IHandler { "ExcludedExplicitImplementer", """ - [Clockwork.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] + [Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] public sealed class Handler : IHandler { string IHandler.Handle(LegacyMarker marker) => marker.ToString(); @@ -114,7 +114,7 @@ public sealed class Handler : IHandler { "ExcludedOverride", """ - [Clockwork.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] + [Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] public sealed class Handler : HandlerBase { public override string Handle(LegacyMarker marker) => marker.ToString(); @@ -147,7 +147,7 @@ public sealed class Handler : HandlerBase // names it with the substitute. "ExcludedBaseOfAReimplementer", """ - [Clockwork.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] + [Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] public class OrderedBase : IComparable { public int CompareTo(LegacyMarker other) => 0; @@ -176,7 +176,7 @@ public abstract class Slot public abstract string Put(T value); } - [Clockwork.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] + [Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] public abstract class MarkerSlot : Slot { } @@ -313,7 +313,7 @@ public sealed class Newer : Old // IEnumerable. "ExcludedInterface", """ - [Clockwork.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] + [Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] public sealed class OldBag : IEnumerable { public IEnumerator GetEnumerator() @@ -342,7 +342,7 @@ public IEnumerator GetEnumerator() // The rewritten code instantiates T with List, which satisfies only the substituted constraint. "ExcludedTypeConstraint", """ - [Clockwork.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] + [Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] public sealed class Holder where T : IEnumerable { @@ -360,7 +360,7 @@ public sealed class Holder { "ExcludedMethodConstraint", """ - [Clockwork.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] + [Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] public static class Shelf { public static string Stock(T items) @@ -459,7 +459,7 @@ public static class Box public static string Take(LegacyMarker marker) => marker.ToString(); } - [Clockwork.Instrumentation.Attributes.DoNotRewrite("Runs before the simulation starts.")] + [Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite("Runs before the simulation starts.")] public static class Legacy { public static string Call(LegacyMarker marker) => {{call}}; @@ -512,7 +512,7 @@ public static int Stock(T items) where T : IEnumerable => 1; } - [Clockwork.Instrumentation.Attributes.DoNotRewrite("Runs before the simulation starts.")] + [Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite("Runs before the simulation starts.")] public static class Legacy { {{use}} @@ -542,7 +542,7 @@ public class Markers : List { } - [Clockwork.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] + [Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] public sealed class LegacyMarkers : Markers { public LegacyMarker First() => this[0]; @@ -583,12 +583,12 @@ public class Names : List { } - [Clockwork.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] + [Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] public class Labels : List { } - [Clockwork.Instrumentation.Attributes.DoNotRewrite("Runs before the simulation starts.")] + [Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite("Runs before the simulation starts.")] public static class Legacy { public static int Use() @@ -629,12 +629,12 @@ public void RewrittenUseOfATypeKeepingASubstitutedShapeFailsTheRewrite(string na namespace Fx { - [Clockwork.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] + [Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] public class Old : List { } - [Clockwork.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] + [Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] public class Older : Old { } @@ -671,7 +671,7 @@ public void RewrittenCodeUsingAFieldOfAnExcludedTypeFailsTheRewrite() namespace Fx { - [Clockwork.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] + [Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite("Shared with code outside the simulation.")] public static class Globals { public static readonly Lock Gate = new(); @@ -720,7 +720,7 @@ public void ExcludedTypeIsNotRewrittenWithItsCompilerGeneratedTypes(bool byAttri // nested in its closure are compiler-generated types nested in the excluded type, so they are excluded with // it and keep the BCL machinery its stub methods use. An explicitly declared nested type is rewritten. using var context = RewriteTestContext.Create(); - string attribute = byAttribute ? "[Clockwork.Instrumentation.Attributes.DoNotRewrite(\"Runs outside the simulation.\")]" : string.Empty; + string attribute = byAttribute ? "[Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite(\"Runs outside the simulation.\")]" : string.Empty; string fixturePath = context.CompileFixture("Fx.ExcludedHelpers", $$""" using System; using System.Collections.Generic; @@ -801,7 +801,7 @@ public static async Task AwaitAsync() type.Fields.Single(field => field.Name == "<>t__builder").FieldType.FullName, StringComparison.Ordinal)); Assert.All(NestedTypes(declared).Where(IsAsyncStateMachine), type => Assert.StartsWith( - "Clockwork.Shims.System.Runtime.CompilerServices.ControlledAsyncTaskMethodBuilder`1", + "Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices.ControlledAsyncTaskMethodBuilder`1", type.Fields.Single(field => field.Name == "<>t__builder").FieldType.FullName, StringComparison.Ordinal)); Assert.Equal(2, generated.Count(IsAsyncStateMachine)); @@ -822,7 +822,7 @@ public void RewrittenCallerCrossingIntoAnExcludedTypeWithASubstitutedTypeFailsTh namespace Fx { - [Clockwork.Instrumentation.Attributes.DoNotRewrite("Runs outside the simulation.")] + [Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite("Runs outside the simulation.")] public static class Legacy { public static async Task AwaitAsync() diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/SymbolMappingGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/SymbolMappingGoldenTests.cs index 23597881..74cf4095 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/SymbolMappingGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/SymbolMappingGoldenTests.cs @@ -1,7 +1,7 @@ -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// Golden tests for symbol handling and source mapping: portable and embedded PDBs are detected and diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/TypeSubstitutionGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/TypeSubstitutionGoldenTests.cs index 2bbecf7f..24a5bc34 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/TypeSubstitutionGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/TypeSubstitutionGoldenTests.cs @@ -1,12 +1,12 @@ -using Clockwork.Instrumentation.Manifest; -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Tests.Infrastructure; -using Clockwork.Runtime.Policy; +using Orleans.Testing.Simulation.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Runtime.Policy; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// Golden tests for : type-reference operands in a diff --git a/tests/Clockwork.Instrumentation.Tests/Golden/UncontrolledInvocationRuleGoldenTests.cs b/tests/Clockwork.Instrumentation.Tests/Golden/UncontrolledInvocationRuleGoldenTests.cs index bbf82501..d77cf6ef 100644 --- a/tests/Clockwork.Instrumentation.Tests/Golden/UncontrolledInvocationRuleGoldenTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Golden/UncontrolledInvocationRuleGoldenTests.cs @@ -1,19 +1,19 @@ using System.Collections.Immutable; -using Clockwork.Instrumentation.Manifest; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Tests.Infrastructure; -using Clockwork.Runtime.Policy; +using Orleans.Testing.Simulation.Instrumentation.Manifest; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Runtime.Policy; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Golden; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Golden; /// /// End-to-end golden tests for the shipped uncontrolled-invocation rule family: they /// rewrite real and call sites in /// a compiled fixture against the real Clockwork assembly and assert that each site is -/// rejected - a throwing is +/// rejected - a throwing is /// injected before the original call, which the manifest records as a /// transformation naming the exact API. This proves a rewritten assembly cannot launch, kill, wait on, reschedule, or /// terminate a real OS process. @@ -99,7 +99,7 @@ public static class ProcessUser """; private static string RuntimeAssemblyPath => - typeof(Clockwork.Runtime.UncontrolledInvocationGuard).Assembly.Location; + typeof(Orleans.Testing.Simulation.Runtime.UncontrolledInvocationGuard).Assembly.Location; private static RewriteResult RewriteFixture(RewriteTestContext context, string assemblyName) { diff --git a/tests/Clockwork.Instrumentation.Tests/Infrastructure/BuiltInProcessFixture.cs b/tests/Clockwork.Instrumentation.Tests/Infrastructure/BuiltInProcessFixture.cs index cc00a429..3aae6135 100644 --- a/tests/Clockwork.Instrumentation.Tests/Infrastructure/BuiltInProcessFixture.cs +++ b/tests/Clockwork.Instrumentation.Tests/Infrastructure/BuiltInProcessFixture.cs @@ -1,11 +1,11 @@ -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Orchestration; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Orchestration; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Runtime.Tasks; using Microsoft.CodeAnalysis; -namespace Clockwork.Instrumentation.Tests.Infrastructure; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; /// /// Builds a real executable plus a third-party dependency which uses only ordinary BCL APIs, rewrites @@ -69,7 +69,7 @@ public static string Run() private const string AppSource = """ using System; - using Clockwork; + using Orleans.Testing.Simulation; using ThirdParty.Sync; public static class Program @@ -96,8 +96,8 @@ public static int Main() public const string DelegatedAppSource = """ using System; using System.Threading; - using Clockwork; - using Clockwork.Runtime; + using Orleans.Testing.Simulation; + using Orleans.Testing.Simulation.Runtime; using ThirdParty.Sync; public static class Program diff --git a/tests/Clockwork.Instrumentation.Tests/Infrastructure/BuiltInRuleClassifier.cs b/tests/Clockwork.Instrumentation.Tests/Infrastructure/BuiltInRuleClassifier.cs index 08f99d22..1efc1309 100644 --- a/tests/Clockwork.Instrumentation.Tests/Infrastructure/BuiltInRuleClassifier.cs +++ b/tests/Clockwork.Instrumentation.Tests/Infrastructure/BuiltInRuleClassifier.cs @@ -1,10 +1,10 @@ -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Runtime.Policy; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Runtime.Policy; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Infrastructure; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; /// How the rewriter treats a call to a reference-pack member under every built-in rule. internal enum RuleOutcome @@ -74,7 +74,7 @@ private BuiltInRuleClassifier(ReferencePack pack) resolver.AddSearchDirectory(pack.Directory); resolver.AddSearchDirectory(AppContext.BaseDirectory); ModuleDefinition probe = ModuleDefinition.CreateModule( - "Clockwork.Classification", + "Orleans.Testing.Simulation.Classification", new ModuleParameters { Kind = ModuleKind.Dll, AssemblyResolver = resolver }); var replacements = new ReplacementResolver( [Path.Combine(AppContext.BaseDirectory, BuiltInRuleSets.ShimAssemblyName + ".dll")], diff --git a/tests/Clockwork.Instrumentation.Tests/Infrastructure/CecilInspect.cs b/tests/Clockwork.Instrumentation.Tests/Infrastructure/CecilInspect.cs index d54e143d..7e184279 100644 --- a/tests/Clockwork.Instrumentation.Tests/Infrastructure/CecilInspect.cs +++ b/tests/Clockwork.Instrumentation.Tests/Infrastructure/CecilInspect.cs @@ -1,7 +1,7 @@ using Mono.Cecil; using Mono.Cecil.Cil; -namespace Clockwork.Instrumentation.Tests.Infrastructure; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; /// /// Small Mono.Cecil query helpers for asserting on rewritten IL structure without depending on raw diff --git a/tests/Clockwork.Instrumentation.Tests/Infrastructure/ConcurrencyEscapeScanner.cs b/tests/Clockwork.Instrumentation.Tests/Infrastructure/ConcurrencyEscapeScanner.cs index 3242fcd3..36b4270d 100644 --- a/tests/Clockwork.Instrumentation.Tests/Infrastructure/ConcurrencyEscapeScanner.cs +++ b/tests/Clockwork.Instrumentation.Tests/Infrastructure/ConcurrencyEscapeScanner.cs @@ -1,10 +1,10 @@ using System.Collections.Concurrent; using System.Collections.Immutable; -using Clockwork.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; using Mono.Cecil; using Mono.Cecil.Cil; -namespace Clockwork.Instrumentation.Tests.Infrastructure; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; /// What a concurrency escape a candidate reaches does. internal enum EscapeSink diff --git a/tests/Clockwork.Instrumentation.Tests/Infrastructure/ExecutionClosureFixture.cs b/tests/Clockwork.Instrumentation.Tests/Infrastructure/ExecutionClosureFixture.cs index 696f4c2a..233caa79 100644 --- a/tests/Clockwork.Instrumentation.Tests/Infrastructure/ExecutionClosureFixture.cs +++ b/tests/Clockwork.Instrumentation.Tests/Infrastructure/ExecutionClosureFixture.cs @@ -1,9 +1,9 @@ -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Orchestration; -using Clockwork.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Orchestration; +using Orleans.Testing.Simulation.Instrumentation.Rules; using Microsoft.CodeAnalysis; -namespace Clockwork.Instrumentation.Tests.Infrastructure; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; /// /// Builds a complete, runnable application closure on disk - a console application plus a diff --git a/tests/Clockwork.Instrumentation.Tests/Infrastructure/FixtureCompiler.cs b/tests/Clockwork.Instrumentation.Tests/Infrastructure/FixtureCompiler.cs index ac6c0962..538cd343 100644 --- a/tests/Clockwork.Instrumentation.Tests/Infrastructure/FixtureCompiler.cs +++ b/tests/Clockwork.Instrumentation.Tests/Infrastructure/FixtureCompiler.cs @@ -3,7 +3,7 @@ using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Emit; -namespace Clockwork.Instrumentation.Tests.Infrastructure; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; /// /// The debug-symbol form a compiled fixture assembly should carry. diff --git a/tests/Clockwork.Instrumentation.Tests/Infrastructure/FixtureSources.cs b/tests/Clockwork.Instrumentation.Tests/Infrastructure/FixtureSources.cs index 8f633d11..5302a41f 100644 --- a/tests/Clockwork.Instrumentation.Tests/Infrastructure/FixtureSources.cs +++ b/tests/Clockwork.Instrumentation.Tests/Infrastructure/FixtureSources.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Tests.Infrastructure; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; /// /// The shared source for the two support assemblies used across the golden corpus: an "API" assembly diff --git a/tests/Clockwork.Instrumentation.Tests/Infrastructure/ProcessAppRunner.cs b/tests/Clockwork.Instrumentation.Tests/Infrastructure/ProcessAppRunner.cs index 7daccd23..b8c799f1 100644 --- a/tests/Clockwork.Instrumentation.Tests/Infrastructure/ProcessAppRunner.cs +++ b/tests/Clockwork.Instrumentation.Tests/Infrastructure/ProcessAppRunner.cs @@ -1,7 +1,7 @@ using System.Diagnostics; using System.Text; -namespace Clockwork.Instrumentation.Tests.Infrastructure; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; /// /// The captured result of running a staged fixture executable in a separate process. diff --git a/tests/Clockwork.Instrumentation.Tests/Infrastructure/ReferencePack.cs b/tests/Clockwork.Instrumentation.Tests/Infrastructure/ReferencePack.cs index a2f3a04d..5940c693 100644 --- a/tests/Clockwork.Instrumentation.Tests/Infrastructure/ReferencePack.cs +++ b/tests/Clockwork.Instrumentation.Tests/Infrastructure/ReferencePack.cs @@ -2,7 +2,7 @@ using System.Reflection; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Infrastructure; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; /// /// The reference assemblies of the shared framework this project compiles against, read once per test run, with the diff --git a/tests/Clockwork.Instrumentation.Tests/Infrastructure/Repository.cs b/tests/Clockwork.Instrumentation.Tests/Infrastructure/Repository.cs index f9b2b2c8..e47ee0b1 100644 --- a/tests/Clockwork.Instrumentation.Tests/Infrastructure/Repository.cs +++ b/tests/Clockwork.Instrumentation.Tests/Infrastructure/Repository.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Tests.Infrastructure; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; /// Finds files of this repository from the test binaries. internal static class Repository diff --git a/tests/Clockwork.Instrumentation.Tests/Infrastructure/RewriteTestContext.cs b/tests/Clockwork.Instrumentation.Tests/Infrastructure/RewriteTestContext.cs index 4ca719c2..8eca8e59 100644 --- a/tests/Clockwork.Instrumentation.Tests/Infrastructure/RewriteTestContext.cs +++ b/tests/Clockwork.Instrumentation.Tests/Infrastructure/RewriteTestContext.cs @@ -1,9 +1,9 @@ -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Infrastructure; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; /// /// A disposable per-test sandbox: a unique temporary directory holding the compiled API and shim diff --git a/tests/Clockwork.Instrumentation.Tests/Infrastructure/SimulationAssemblyCollisionGate.cs b/tests/Clockwork.Instrumentation.Tests/Infrastructure/SimulationAssemblyCollisionGate.cs index 1e85953e..38092b98 100644 --- a/tests/Clockwork.Instrumentation.Tests/Infrastructure/SimulationAssemblyCollisionGate.cs +++ b/tests/Clockwork.Instrumentation.Tests/Infrastructure/SimulationAssemblyCollisionGate.cs @@ -1,6 +1,6 @@ using System.Text.Json; -namespace Clockwork.Instrumentation.Tests.Infrastructure; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; /// /// Rejects a boundary which contains both the legacy Clockwork.dll runtime and any assembly diff --git a/tests/Clockwork.Instrumentation.Tests/Infrastructure/StrongNameKeys.cs b/tests/Clockwork.Instrumentation.Tests/Infrastructure/StrongNameKeys.cs index 144efc08..eeae4a6a 100644 --- a/tests/Clockwork.Instrumentation.Tests/Infrastructure/StrongNameKeys.cs +++ b/tests/Clockwork.Instrumentation.Tests/Infrastructure/StrongNameKeys.cs @@ -1,6 +1,6 @@ using System.Security.Cryptography; -namespace Clockwork.Instrumentation.Tests.Infrastructure; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; /// /// Produces strong-name key material for tests without relying on the Windows-only diff --git a/tests/Clockwork.Instrumentation.Tests/Infrastructure/TestArtifacts.cs b/tests/Clockwork.Instrumentation.Tests/Infrastructure/TestArtifacts.cs index a85e076e..0d5fe2a8 100644 --- a/tests/Clockwork.Instrumentation.Tests/Infrastructure/TestArtifacts.cs +++ b/tests/Clockwork.Instrumentation.Tests/Infrastructure/TestArtifacts.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Tests.Infrastructure; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; /// /// Resolves the base directory under which slow, process-based tests stage their transient diff --git a/tests/Clockwork.Instrumentation.Tests/Infrastructure/TypeForwarders.cs b/tests/Clockwork.Instrumentation.Tests/Infrastructure/TypeForwarders.cs index 13b7b370..1d10850e 100644 --- a/tests/Clockwork.Instrumentation.Tests/Infrastructure/TypeForwarders.cs +++ b/tests/Clockwork.Instrumentation.Tests/Infrastructure/TypeForwarders.cs @@ -1,6 +1,6 @@ using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Infrastructure; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; /// Writes assemblies that declare no types and forward one type to another assembly. internal static class TypeForwarders diff --git a/tests/Clockwork.Instrumentation.Tests/InstrumentationScaffoldTests.cs b/tests/Clockwork.Instrumentation.Tests/InstrumentationScaffoldTests.cs index e4f1477d..c1706788 100644 --- a/tests/Clockwork.Instrumentation.Tests/InstrumentationScaffoldTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/InstrumentationScaffoldTests.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Instrumentation.Tests; +namespace Orleans.Testing.Simulation.Instrumentation.Tests; public sealed class InstrumentationScaffoldTests { diff --git a/tests/Clockwork.Instrumentation.Tests/Orchestration/ClosureBindingTests.cs b/tests/Clockwork.Instrumentation.Tests/Orchestration/ClosureBindingTests.cs index 4bf8e072..0581bdcb 100644 --- a/tests/Clockwork.Instrumentation.Tests/Orchestration/ClosureBindingTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Orchestration/ClosureBindingTests.cs @@ -1,12 +1,12 @@ using System.Reflection; using System.Runtime.Loader; -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Orchestration; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Orchestration; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; -namespace Clockwork.Instrumentation.Tests.Orchestration; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Orchestration; /// /// Closure-level checks that a member reference, interface implementation, or override whose signature a type @@ -83,7 +83,7 @@ public static string Run() using ClockworkFixtures.Api; using Fx.Lib; - namespace Clockwork.Instrumentation.Attributes + namespace Orleans.Testing.Simulation.Instrumentation.Attributes { [System.AttributeUsage(System.AttributeTargets.Class)] public sealed class DoNotRewriteAttribute(string reason) : System.Attribute @@ -125,7 +125,7 @@ public static class Caller using ClockworkFixtures.Api; using Fx.Lib; - namespace Clockwork.Instrumentation.Attributes + namespace Orleans.Testing.Simulation.Instrumentation.Attributes { [System.AttributeUsage(System.AttributeTargets.Class)] public sealed class DoNotRewriteAttribute(string reason) : System.Attribute @@ -136,7 +136,7 @@ public sealed class DoNotRewriteAttribute(string reason) : System.Attribute namespace Fx.App { - [Clockwork.Instrumentation.Attributes.DoNotRewrite("Runs before the simulation starts.")] + [Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite("Runs before the simulation starts.")] public static class LegacyCaller { public static string Run() => Sink.Take(new LegacyMarker()); @@ -167,7 +167,7 @@ public static int Stock(T items) using ClockworkFixtures.Api; using Fx.Lib; - namespace Clockwork.Instrumentation.Attributes + namespace Orleans.Testing.Simulation.Instrumentation.Attributes { [System.AttributeUsage(System.AttributeTargets.Class)] public sealed class DoNotRewriteAttribute(string reason) : System.Attribute @@ -196,7 +196,7 @@ public static string Count() """; private const string DoNotRewriteAttributeSource = """ - namespace Clockwork.Instrumentation.Attributes + namespace Orleans.Testing.Simulation.Instrumentation.Attributes { [System.AttributeUsage(System.AttributeTargets.Class)] public sealed class DoNotRewriteAttribute(string reason) : System.Attribute @@ -663,25 +663,25 @@ public void Dispose() private static string ShapeOnlyAppSource(bool doNotRewrite) => ShapeOnlyAppTemplate.Replace( "[ATTRIBUTE]", - doNotRewrite ? "[Clockwork.Instrumentation.Attributes.DoNotRewrite(\"Shared with code outside the simulation.\")]" : string.Empty, + doNotRewrite ? "[Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite(\"Shared with code outside the simulation.\")]" : string.Empty, StringComparison.Ordinal); private static string ReshapeAppSource(bool doNotRewrite) => ReshapeAppTemplate.Replace( "[ATTRIBUTE]", - doNotRewrite ? "[Clockwork.Instrumentation.Attributes.DoNotRewrite(\"Runs before the simulation starts.\")]" : string.Empty, + doNotRewrite ? "[Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite(\"Runs before the simulation starts.\")]" : string.Empty, StringComparison.Ordinal); private static string KeptShapeLib(bool doNotRewrite) => KeptShapeLibTemplate.Replace( "[LIB]", - doNotRewrite ? "[Clockwork.Instrumentation.Attributes.DoNotRewrite(\"Shared with code outside the simulation.\")]" : string.Empty, + doNotRewrite ? "[Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite(\"Shared with code outside the simulation.\")]" : string.Empty, StringComparison.Ordinal); private static string KeptShapeApp(bool doNotRewrite) => KeptShapeAppTemplate.Replace( "[APP]", - doNotRewrite ? "[Clockwork.Instrumentation.Attributes.DoNotRewrite(\"Shared with code outside the simulation.\")]" : string.Empty, + doNotRewrite ? "[Orleans.Testing.Simulation.Instrumentation.Attributes.DoNotRewrite(\"Shared with code outside the simulation.\")]" : string.Empty, StringComparison.Ordinal); private static void AssertReshapeErrors(InstrumentationResult result, string method, params string[] reasons) diff --git a/tests/Clockwork.Instrumentation.Tests/Orchestration/ClosureManifestJsonTests.cs b/tests/Clockwork.Instrumentation.Tests/Orchestration/ClosureManifestJsonTests.cs index b5098d03..46489b11 100644 --- a/tests/Clockwork.Instrumentation.Tests/Orchestration/ClosureManifestJsonTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Orchestration/ClosureManifestJsonTests.cs @@ -1,10 +1,10 @@ using System.Text; using System.Text.Json; using System.Text.Json.Nodes; -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Orchestration; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Orchestration; -namespace Clockwork.Instrumentation.Tests.Orchestration; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Orchestration; public sealed class ClosureManifestJsonTests { diff --git a/tests/Clockwork.Instrumentation.Tests/Orchestration/InstrumentationRunnerTests.cs b/tests/Clockwork.Instrumentation.Tests/Orchestration/InstrumentationRunnerTests.cs index cc411097..6f4fa3fb 100644 --- a/tests/Clockwork.Instrumentation.Tests/Orchestration/InstrumentationRunnerTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Orchestration/InstrumentationRunnerTests.cs @@ -3,19 +3,19 @@ using System.Text; using System.Text.Json; using System.Text.Json.Nodes; -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Closure; -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Imaging; -using Clockwork.Instrumentation.Orchestration; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Signing; -using Clockwork.Instrumentation.Tests.Infrastructure; -using Clockwork.Runtime.Racing; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Closure; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Imaging; +using Orleans.Testing.Simulation.Instrumentation.Orchestration; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Signing; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Runtime.Racing; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Orchestration; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Orchestration; /// /// Verifies the end-to-end instrumentation orchestrator: it stages a runnable closure (rewriting @@ -1146,7 +1146,7 @@ public static int Run() } """); File.Copy( - typeof(Clockwork.Runtime.SimulationExceptionGuard).Assembly.Location, + typeof(Orleans.Testing.Simulation.Runtime.SimulationExceptionGuard).Assembly.Location, Path.Combine(_source, "Orleans.Testing.Simulation.dll")); ProcessAppRunner.WriteRuntimeConfig(Path.Combine(_source, "app.dll")); @@ -1199,7 +1199,7 @@ public void RaceModeRejectsSourceAssetWhichCollidesWithInjectedRuntime() BuildMinimalApp(); FixtureCompiler.Compile( "Orleans.Testing.Simulation", - "namespace Clockwork.Runtime { public static class LegacyRuntime { } }", + "namespace Orleans.Testing.Simulation.Runtime { public static class LegacyRuntime { } }", _source, FixtureSymbols.None, optimize: true); diff --git a/tests/Clockwork.Instrumentation.Tests/Orchestration/StagedClosureAssemblyResolverTests.cs b/tests/Clockwork.Instrumentation.Tests/Orchestration/StagedClosureAssemblyResolverTests.cs index ead15a88..f860d524 100644 --- a/tests/Clockwork.Instrumentation.Tests/Orchestration/StagedClosureAssemblyResolverTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Orchestration/StagedClosureAssemblyResolverTests.cs @@ -1,10 +1,10 @@ using System.Runtime.InteropServices; -using Clockwork.Instrumentation.Closure; -using Clockwork.Instrumentation.Orchestration; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Closure; +using Orleans.Testing.Simulation.Instrumentation.Orchestration; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Orchestration; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Orchestration; /// /// The staged closure is checked against the assemblies the runtime binds when it runs from its staging directory: the diff --git a/tests/Clockwork.Instrumentation.Tests/Packaging/PackageSmokeTests.cs b/tests/Clockwork.Instrumentation.Tests/Packaging/PackageSmokeTests.cs index 3ea667f5..2c84a799 100644 --- a/tests/Clockwork.Instrumentation.Tests/Packaging/PackageSmokeTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Packaging/PackageSmokeTests.cs @@ -2,15 +2,15 @@ using System.IO.Compression; using System.Text.Json; using System.Xml.Linq; -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Orchestration; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Tests.Infrastructure; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Orchestration; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Instrumentation.Tests.Packaging; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Packaging; /// /// End-to-end package smoke tests. These pack the six production NuGet packages into an isolated @@ -134,7 +134,7 @@ public void BuildPackageContainsCompleteNet11TaskClosureWithoutNuGetDependencies ReadPackageEntry(packagePath, propsPath), StringComparison.Ordinal); Assert.Contains( - "TaskName=\"Clockwork.Instrumentation.Build.ClockworkInstrumentTask\"", + "TaskName=\"Orleans.Testing.Simulation.Instrumentation.Build.ClockworkInstrumentTask\"", ReadPackageEntry(packagePath, targetsPath), StringComparison.Ordinal); Assert.Equal( @@ -213,7 +213,7 @@ public void TestingPackageDependsOnlyOnSimulationAndMicrosoftTestingPlatformAndP entry.StartsWith("buildMultiTargeting/", StringComparison.Ordinal) && entry.EndsWith(".props", StringComparison.Ordinal)); Assert.Contains( - "Clockwork.Testing.TestingPlatformBuilderHook", + "Orleans.Testing.Simulation.Testing.TestingPlatformBuilderHook", ReadPackageEntry(packagePath, propsPath), StringComparison.Ordinal); Assert.Equal( @@ -408,7 +408,7 @@ .. project.Descendants("PackageReference") Assert.Contains(SimulationPackageId, packageReferences); Assert.Contains(TestingPackageId, packageReferences); Assert.Contains(BuildPackageId, packageReferences); - Assert.Contains("Clockwork.PackageProbe", packageReferences); + Assert.Contains("Orleans.Testing.Simulation.PackageProbe", packageReferences); Assert.Contains("Orleans.Durable.Storage.Diagnostics", packageReferences); AppRunResult build = consumer.Build(); @@ -532,11 +532,11 @@ public void BuildPackageStripsStrongNameWithoutMutatingProductionOutput() Assert.True(build.ExitCode == 0, $"Build failed:\n{build.StandardOutput}\n{build.StandardError}"); Assert.Equal( - Clockwork.Instrumentation.Signing.StrongNameStatus.StrongNameSigned, - Clockwork.Instrumentation.Signing.StrongNameInspector.Inspect(consumer.OutputAppPath).Status); + Orleans.Testing.Simulation.Instrumentation.Signing.StrongNameStatus.StrongNameSigned, + Orleans.Testing.Simulation.Instrumentation.Signing.StrongNameInspector.Inspect(consumer.OutputAppPath).Status); Assert.Equal( - Clockwork.Instrumentation.Signing.StrongNameStatus.None, - Clockwork.Instrumentation.Signing.StrongNameInspector.Inspect(consumer.StagedAppPath).Status); + Orleans.Testing.Simulation.Instrumentation.Signing.StrongNameStatus.None, + Orleans.Testing.Simulation.Instrumentation.Signing.StrongNameInspector.Inspect(consumer.StagedAppPath).Status); Assert.Contains("ticks=999", ProcessAppRunner.Run(consumer.StagedAppPath).Output); Assert.True(File.Exists(consumer.SuccessPath)); } @@ -1290,9 +1290,9 @@ public ConsumerProject ScaffoldPackageOnlyMtpConsumer(string name) WriteNuGetConfig(rootDir); File.WriteAllText(Path.Combine(appDir, "Program.cs"), """ - using Clockwork; - using Clockwork.PackageProbe; - using Clockwork.Testing; + using Orleans.Testing.Simulation; + using Orleans.Testing.Simulation.PackageProbe; + using Orleans.Testing.Simulation.Testing; using Orleans.Durable.Storage.Diagnostics; using Xunit; @@ -1338,7 +1338,7 @@ public void DurableStorageDiagnosticsRemainsOrdinaryIl() - + @@ -1365,10 +1365,10 @@ public void DurableStorageDiagnosticsRemainsOrdinaryIl() [ RewriteRule.RedirectCall( "redirect-package-probe", - MemberSignature.Method("Clockwork.PackageApi.RealClock", "UtcNowTicks"), + MemberSignature.Method("Orleans.Testing.Simulation.PackageApi.RealClock", "UtcNowTicks"), RewriteReplacement.Method( "PackageApi", - "Clockwork.PackageApi.Shim", + "Orleans.Testing.Simulation.PackageApi.Shim", "UtcNowTicks")), ]); File.WriteAllText(Path.Combine(appDir, "clockwork.rules.json"), RuleSetJson.Write(ruleSet)); @@ -1383,7 +1383,7 @@ public ConsumerProject ScaffoldOrdinarySimulationConsumer(string name) WriteNuGetConfig(rootDir); File.WriteAllText(Path.Combine(appDir, "Program.cs"), """ - using Clockwork; + using Orleans.Testing.Simulation; Console.WriteLine(typeof(SimulationCluster).Assembly.GetName().Name); """); @@ -1449,19 +1449,19 @@ private static void PackFixturePackages(string root, string version, string feed """); - File.WriteAllText(Path.Combine(api, "Clockwork.PackageApi.csproj"), """ + File.WriteAllText(Path.Combine(api, "Orleans.Testing.Simulation.PackageApi.csproj"), """ net11.0 enable enable PackageApi - Clockwork.PackageApi + Orleans.Testing.Simulation.PackageApi """); File.WriteAllText(Path.Combine(api, "Api.cs"), """ - namespace Clockwork.PackageApi; + namespace Orleans.Testing.Simulation.PackageApi; public static class RealClock { @@ -1474,24 +1474,24 @@ public static class Shim } """); - File.WriteAllText(Path.Combine(probe, "Clockwork.PackageProbe.csproj"), $""" + File.WriteAllText(Path.Combine(probe, "Orleans.Testing.Simulation.PackageProbe.csproj"), $""" net11.0 enable enable PackageProbe - Clockwork.PackageProbe + Orleans.Testing.Simulation.PackageProbe - + """); File.WriteAllText(Path.Combine(probe, "Probe.cs"), """ - using Clockwork.PackageApi; + using Orleans.Testing.Simulation.PackageApi; - namespace Clockwork.PackageProbe; + namespace Orleans.Testing.Simulation.PackageProbe; public static class Subject { @@ -1520,13 +1520,13 @@ public static class OrdinaryProbe """); PackProject( - Path.Combine(api, "Clockwork.PackageApi.csproj"), + Path.Combine(api, "Orleans.Testing.Simulation.PackageApi.csproj"), api, version, feed, packages); PackProject( - Path.Combine(probe, "Clockwork.PackageProbe.csproj"), + Path.Combine(probe, "Orleans.Testing.Simulation.PackageProbe.csproj"), probe, version, feed, diff --git a/tests/Clockwork.Instrumentation.Tests/Packaging/SimulationAssemblyCollisionGateTests.cs b/tests/Clockwork.Instrumentation.Tests/Packaging/SimulationAssemblyCollisionGateTests.cs index 1fe3c6a6..89ab1b31 100644 --- a/tests/Clockwork.Instrumentation.Tests/Packaging/SimulationAssemblyCollisionGateTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Packaging/SimulationAssemblyCollisionGateTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; -namespace Clockwork.Instrumentation.Tests.Packaging; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Packaging; public sealed class SimulationAssemblyCollisionGateTests { diff --git a/tests/Clockwork.Instrumentation.Tests/Rewriting/ForwarderCycleGuardTests.cs b/tests/Clockwork.Instrumentation.Tests/Rewriting/ForwarderCycleGuardTests.cs index 8d7ca3d2..a71138a8 100644 --- a/tests/Clockwork.Instrumentation.Tests/Rewriting/ForwarderCycleGuardTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Rewriting/ForwarderCycleGuardTests.cs @@ -1,12 +1,12 @@ -using Clockwork.Instrumentation.Closure; -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Orchestration; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Closure; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Orchestration; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Rewriting; /// /// Assemblies that forward a type back to each other - as facades built for different target frameworks can - would diff --git a/tests/Clockwork.Instrumentation.Tests/Rewriting/RewriteValidatorTests.cs b/tests/Clockwork.Instrumentation.Tests/Rewriting/RewriteValidatorTests.cs index 7ac989c8..ce0c1f92 100644 --- a/tests/Clockwork.Instrumentation.Tests/Rewriting/RewriteValidatorTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Rewriting/RewriteValidatorTests.cs @@ -1,10 +1,10 @@ -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; using Mono.Cecil; using Mono.Cecil.Cil; -namespace Clockwork.Instrumentation.Tests.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Rewriting; /// /// Checks the validator's read-back binding check: every member reference whose signature mentions a substituted or diff --git a/tests/Clockwork.Instrumentation.Tests/Rewriting/TypeReferenceStructureTests.cs b/tests/Clockwork.Instrumentation.Tests/Rewriting/TypeReferenceStructureTests.cs index 33b4aa44..b4d7af47 100644 --- a/tests/Clockwork.Instrumentation.Tests/Rewriting/TypeReferenceStructureTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Rewriting/TypeReferenceStructureTests.cs @@ -1,8 +1,8 @@ -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Rewriting; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Rewriting; public sealed class TypeReferenceStructureTests { diff --git a/tests/Clockwork.Instrumentation.Tests/Rules/BuiltInRuleSetCompletenessTests.cs b/tests/Clockwork.Instrumentation.Tests/Rules/BuiltInRuleSetCompletenessTests.cs index bc351ac3..098a8789 100644 --- a/tests/Clockwork.Instrumentation.Tests/Rules/BuiltInRuleSetCompletenessTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Rules/BuiltInRuleSetCompletenessTests.cs @@ -1,10 +1,10 @@ -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Rules; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Rules; /// /// Checks the controlled-task rule set against the reference pack this project compiles against. A type substitution diff --git a/tests/Clockwork.Instrumentation.Tests/Rules/BuiltInRuleSetsTests.cs b/tests/Clockwork.Instrumentation.Tests/Rules/BuiltInRuleSetsTests.cs index 04856efa..eb75a124 100644 --- a/tests/Clockwork.Instrumentation.Tests/Rules/BuiltInRuleSetsTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Rules/BuiltInRuleSetsTests.cs @@ -1,12 +1,12 @@ using System.Collections.Immutable; -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Runtime.Policy; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Runtime.Policy; +using Orleans.Testing.Simulation.Runtime.Shims; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Rules; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Rules; /// /// Verifies the built-in deterministic BCL rule set: its inventory is coherent (unique ids, expected @@ -37,13 +37,13 @@ public void InventoryTargetsOnlyVersionTwoControlledBclTypes() { string[] expected = [ - "Clockwork.Shims.System.ControlledDateTime", - "Clockwork.Shims.System.ControlledDateTimeOffset", - "Clockwork.Shims.System.ControlledEnvironment", - "Clockwork.Shims.System.ControlledGuid", - "Clockwork.Shims.System.ControlledRandom", - "Clockwork.Shims.System.Diagnostics.ControlledStopwatch", - "Clockwork.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator", + "Orleans.Testing.Simulation.Shims.System.ControlledDateTime", + "Orleans.Testing.Simulation.Shims.System.ControlledDateTimeOffset", + "Orleans.Testing.Simulation.Shims.System.ControlledEnvironment", + "Orleans.Testing.Simulation.Shims.System.ControlledGuid", + "Orleans.Testing.Simulation.Shims.System.ControlledRandom", + "Orleans.Testing.Simulation.Shims.System.Diagnostics.ControlledStopwatch", + "Orleans.Testing.Simulation.Shims.System.Security.Cryptography.ControlledRandomNumberGenerator", ]; string[] actual = BuiltInRuleSets.DeterministicBclInventory .Select(entry => entry.Rule.Replacement.DeclaringTypeFullName) diff --git a/tests/Clockwork.Instrumentation.Tests/Rules/BuiltInRuleSurfaceTests.cs b/tests/Clockwork.Instrumentation.Tests/Rules/BuiltInRuleSurfaceTests.cs index dc99715a..3df4441f 100644 --- a/tests/Clockwork.Instrumentation.Tests/Rules/BuiltInRuleSurfaceTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Rules/BuiltInRuleSurfaceTests.cs @@ -1,11 +1,11 @@ using System.Collections.Immutable; using System.Text.RegularExpressions; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Rules; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Rules; /// /// Classifies the whole surface of every type the built-in rules target against the reference pack this project @@ -196,7 +196,7 @@ private static void AssertMatchesSnapshot(string fileName, IReadOnlyList "Added: " + string.Join(", ", added) + Environment.NewLine + "Removed: " + string.Join(", ", removed) + Environment.NewLine + review + $" Then refresh the snapshots with `$env:{SnapshotVariable}='1'; dotnet run --project " + - "tests/Clockwork.Instrumentation.Tests/Clockwork.Instrumentation.Tests.csproj -- --filter-class " + + "tests/Orleans.Testing.Simulation.Instrumentation.Tests/Orleans.Testing.Simulation.Instrumentation.Tests.csproj -- --filter-class " + $"{typeof(BuiltInRuleSurfaceTests).FullName}`."); } diff --git a/tests/Clockwork.Instrumentation.Tests/Rules/CanonicalSignatureTests.cs b/tests/Clockwork.Instrumentation.Tests/Rules/CanonicalSignatureTests.cs index 46bb034c..8884a13a 100644 --- a/tests/Clockwork.Instrumentation.Tests/Rules/CanonicalSignatureTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Rules/CanonicalSignatureTests.cs @@ -1,8 +1,8 @@ -using Clockwork.Instrumentation.Configuration; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Configuration; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; -namespace Clockwork.Instrumentation.Tests.Rules; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Rules; /// Verifies that signature inputs use one unambiguous, versioned canonical encoding. public sealed class CanonicalSignatureTests diff --git a/tests/Clockwork.Instrumentation.Tests/Rules/ConcurrencyEscapeAuditTests.cs b/tests/Clockwork.Instrumentation.Tests/Rules/ConcurrencyEscapeAuditTests.cs index ecbb01bd..a60fe8d8 100644 --- a/tests/Clockwork.Instrumentation.Tests/Rules/ConcurrencyEscapeAuditTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Rules/ConcurrencyEscapeAuditTests.cs @@ -1,10 +1,10 @@ using System.Collections.Immutable; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Rules; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Rules; /// /// Classifies every framework member which reaches a concurrency escape, as finds diff --git a/tests/Clockwork.Instrumentation.Tests/Rules/RuleInventoryDocumentTests.cs b/tests/Clockwork.Instrumentation.Tests/Rules/RuleInventoryDocumentTests.cs index 833ae49d..e1188cc8 100644 --- a/tests/Clockwork.Instrumentation.Tests/Rules/RuleInventoryDocumentTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Rules/RuleInventoryDocumentTests.cs @@ -1,10 +1,10 @@ using System.Reflection; using System.Text.RegularExpressions; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; -namespace Clockwork.Instrumentation.Tests.Rules; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Rules; /// /// Verifies the committed rule inventory matches and guards the per-family @@ -24,7 +24,7 @@ public void CommittedInventoryMatchesGeneratedContent() } string refresh = - $"Refresh '{path}' with `$env:CLOCKWORK_UPDATE_DOCS='1'; dotnet run --project tests/Clockwork.Instrumentation.Tests/Clockwork.Instrumentation.Tests.csproj -- --filter-class {typeof(RuleInventoryDocumentTests).FullName}`."; + $"Refresh '{path}' with `$env:CLOCKWORK_UPDATE_DOCS='1'; dotnet run --project tests/Orleans.Testing.Simulation.Instrumentation.Tests/Orleans.Testing.Simulation.Instrumentation.Tests.csproj -- --filter-class {typeof(RuleInventoryDocumentTests).FullName}`."; Assert.True(File.Exists(path), refresh); string[] expectedLines = expected.Split('\n'); string[] actualLines = File.ReadAllText(path).Replace("\r\n", "\n", StringComparison.Ordinal).Split('\n'); @@ -67,7 +67,7 @@ public void TaskDelayRulesClassifyEveryNet11Overload() Assert.All( BuiltInRuleSets.ControlledTasksInventory.Where( entry => entry.Family == BuiltInRuleFamily.TaskTime && entry.Rule.Target.MemberName == "Delay"), - entry => Assert.Equal(Clockwork.Runtime.Policy.SimulationApiPolicy.Controlled, entry.Rule.Policy)); + entry => Assert.Equal(Orleans.Testing.Simulation.Runtime.Policy.SimulationApiPolicy.Controlled, entry.Rule.Policy)); } [Fact] @@ -86,7 +86,7 @@ public void TaskWaitAsyncRulesClassifyEveryNet11Overload() Assert.Equal(10, frameworkOverloads); Assert.Equal(frameworkOverloads, classified.Length); Assert.All(classified, rule => - Assert.Equal(Clockwork.Runtime.Policy.SimulationApiPolicy.Controlled, rule.Policy)); + Assert.Equal(Orleans.Testing.Simulation.Runtime.Policy.SimulationApiPolicy.Controlled, rule.Policy)); } [Fact] @@ -94,9 +94,9 @@ public void TimerTypesUseControlledWholeTypeSubstitutions() { (string Target, string Replacement)[] expected = [ - ("System.Threading.Timer", "Clockwork.Shims.System.Threading.ControlledTimer"), - ("System.Timers.Timer", "Clockwork.Shims.System.Timers.ControlledTimer"), - ("System.Threading.PeriodicTimer", "Clockwork.Shims.System.Threading.ControlledPeriodicTimer"), + ("System.Threading.Timer", "Orleans.Testing.Simulation.Shims.System.Threading.ControlledTimer"), + ("System.Timers.Timer", "Orleans.Testing.Simulation.Shims.System.Timers.ControlledTimer"), + ("System.Threading.PeriodicTimer", "Orleans.Testing.Simulation.Shims.System.Threading.ControlledPeriodicTimer"), ]; foreach ((string target, string replacement) in expected) @@ -124,7 +124,7 @@ public void TaskFactoryRulesClassifyEveryNet11StartNewOverload() Assert.Equal(24, frameworkOverloadCount); Assert.Equal(frameworkOverloadCount, classified.Length); Assert.All(classified, rule => - Assert.Equal(Clockwork.Runtime.Policy.SimulationApiPolicy.Controlled, rule.Policy)); + Assert.Equal(Orleans.Testing.Simulation.Runtime.Policy.SimulationApiPolicy.Controlled, rule.Policy)); } [Fact] @@ -145,7 +145,7 @@ public void ContinueWithRulesClassifyEveryNet11Overload() Assert.All(classified, rule => { Assert.Equal("ContinueWith", rule.Target.MemberName); - Assert.Equal(Clockwork.Runtime.Policy.SimulationApiPolicy.Controlled, rule.Policy); + Assert.Equal(Orleans.Testing.Simulation.Runtime.Policy.SimulationApiPolicy.Controlled, rule.Policy); }); } @@ -226,7 +226,7 @@ .. BuiltInRuleSets.ControlledTasksInventory Assert.Equal(6, framework.Length); Assert.Equal(framework.Length, classified.Length); Assert.Equal(classified.Length, classified.Select(rule => rule.Target.ToCanonicalString()).Distinct().Count()); - Assert.All(classified, rule => Assert.Equal(Clockwork.Runtime.Policy.SimulationApiPolicy.Controlled, rule.Policy)); + Assert.All(classified, rule => Assert.Equal(Orleans.Testing.Simulation.Runtime.Policy.SimulationApiPolicy.Controlled, rule.Policy)); } [Fact] @@ -255,7 +255,7 @@ .. BuiltInRuleSets.ControlledTasksInventory Assert.All(classified, rule => { Assert.True(rule.Target.MemberName is "ContinueWhenAll" or "ContinueWhenAny", rule.Id); - Assert.Equal(Clockwork.Runtime.Policy.SimulationApiPolicy.Controlled, rule.Policy); + Assert.Equal(Orleans.Testing.Simulation.Runtime.Policy.SimulationApiPolicy.Controlled, rule.Policy); }); } @@ -277,7 +277,7 @@ .. BuiltInRuleSets.ControlledTasksInventory Assert.Equal("FromAsync", rule.Target.MemberName); Assert.False(rule.Target.HasParameterConstraint); Assert.Equal(RewriteOperationKind.InjectRejection, rule.Operation); - Assert.Equal(Clockwork.Runtime.Policy.SimulationApiPolicy.Rejected, rule.Policy); + Assert.Equal(Orleans.Testing.Simulation.Runtime.Policy.SimulationApiPolicy.Rejected, rule.Policy); }); Assert.Contains(typeof(TaskFactory).GetMethods(), method => method.Name == "FromAsync"); Assert.Contains(typeof(TaskFactory<>).GetMethods(), method => method.Name == "FromAsync"); @@ -374,9 +374,9 @@ public void ModernSynchronizationWholeTypeSubstitutionsUseControlledRuntimeTypes { (string Target, string Replacement)[] expected = [ - ("System.Threading.SpinLock", "Clockwork.Shims.System.Threading.ControlledSpinLock"), - ("System.Threading.Barrier", "Clockwork.Shims.System.Threading.ControlledBarrier"), - ("System.Threading.CountdownEvent", "Clockwork.Shims.System.Threading.ControlledCountdownEvent"), + ("System.Threading.SpinLock", "Orleans.Testing.Simulation.Shims.System.Threading.ControlledSpinLock"), + ("System.Threading.Barrier", "Orleans.Testing.Simulation.Shims.System.Threading.ControlledBarrier"), + ("System.Threading.CountdownEvent", "Orleans.Testing.Simulation.Shims.System.Threading.ControlledCountdownEvent"), ]; foreach ((string target, string replacement) in expected) diff --git a/tests/Clockwork.Instrumentation.Tests/Rules/RuleSetRuntimeSupportTests.cs b/tests/Clockwork.Instrumentation.Tests/Rules/RuleSetRuntimeSupportTests.cs index c73f0a39..3182d7c5 100644 --- a/tests/Clockwork.Instrumentation.Tests/Rules/RuleSetRuntimeSupportTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Rules/RuleSetRuntimeSupportTests.cs @@ -1,10 +1,10 @@ -using Clockwork.Instrumentation.Diagnostics; -using Clockwork.Instrumentation.Rewriting; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Rules.BuiltIn; +using Orleans.Testing.Simulation.Instrumentation.Diagnostics; +using Orleans.Testing.Simulation.Instrumentation.Rewriting; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Rules.BuiltIn; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Rules; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Rules; public sealed class RuleSetRuntimeSupportTests { diff --git a/tests/Clockwork.Instrumentation.Tests/Signing/StrongNameTests.cs b/tests/Clockwork.Instrumentation.Tests/Signing/StrongNameTests.cs index e42f2571..ceb17bdb 100644 --- a/tests/Clockwork.Instrumentation.Tests/Signing/StrongNameTests.cs +++ b/tests/Clockwork.Instrumentation.Tests/Signing/StrongNameTests.cs @@ -1,11 +1,11 @@ using System.Buffers.Binary; -using Clockwork.Instrumentation.Imaging; -using Clockwork.Instrumentation.Rules; -using Clockwork.Instrumentation.Signing; -using Clockwork.Instrumentation.Tests.Infrastructure; +using Orleans.Testing.Simulation.Instrumentation.Imaging; +using Orleans.Testing.Simulation.Instrumentation.Rules; +using Orleans.Testing.Simulation.Instrumentation.Signing; +using Orleans.Testing.Simulation.Instrumentation.Tests.Infrastructure; using Mono.Cecil; -namespace Clockwork.Instrumentation.Tests.Signing; +namespace Orleans.Testing.Simulation.Instrumentation.Tests.Signing; /// /// Verifies strong-name detection, key loading, and re-signing: unsigned/signed/delay-signed diff --git a/tests/Clockwork.Runtime.Tests/ControlledApiExceptionTests.cs b/tests/Clockwork.Runtime.Tests/ControlledApiExceptionTests.cs index cf330dba..1e7f193b 100644 --- a/tests/Clockwork.Runtime.Tests/ControlledApiExceptionTests.cs +++ b/tests/Clockwork.Runtime.Tests/ControlledApiExceptionTests.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Tests; +namespace Orleans.Testing.Simulation.Runtime.Tests; public sealed class ControlledApiExceptionTests { diff --git a/tests/Clockwork.Runtime.Tests/ControlledExceptionGuardTests.cs b/tests/Clockwork.Runtime.Tests/ControlledExceptionGuardTests.cs index d56790e2..a7a617c6 100644 --- a/tests/Clockwork.Runtime.Tests/ControlledExceptionGuardTests.cs +++ b/tests/Clockwork.Runtime.Tests/ControlledExceptionGuardTests.cs @@ -1,9 +1,9 @@ using System.IO; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; -namespace Clockwork.Runtime.Tests; +namespace Orleans.Testing.Simulation.Runtime.Tests; /// /// Tests for the exception-handler hardening guard. The instrumentation's diff --git a/tests/Clockwork.Runtime.Tests/Decisions/SimulationDecisionLogTests.cs b/tests/Clockwork.Runtime.Tests/Decisions/SimulationDecisionLogTests.cs index 1507c162..884185a4 100644 --- a/tests/Clockwork.Runtime.Tests/Decisions/SimulationDecisionLogTests.cs +++ b/tests/Clockwork.Runtime.Tests/Decisions/SimulationDecisionLogTests.cs @@ -1,8 +1,8 @@ -using Clockwork.Runtime.Decisions; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Decisions; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Random; -namespace Clockwork.Runtime.Tests.Decisions; +namespace Orleans.Testing.Simulation.Runtime.Tests.Decisions; /// /// Covers and the underlying diff --git a/tests/Clockwork.Runtime.Tests/Decisions/SimulationDecisionReplayTests.cs b/tests/Clockwork.Runtime.Tests/Decisions/SimulationDecisionReplayTests.cs index a0ee3050..061c97d7 100644 --- a/tests/Clockwork.Runtime.Tests/Decisions/SimulationDecisionReplayTests.cs +++ b/tests/Clockwork.Runtime.Tests/Decisions/SimulationDecisionReplayTests.cs @@ -1,8 +1,8 @@ -using Clockwork.Runtime.Decisions; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Decisions; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Random; -namespace Clockwork.Runtime.Tests.Decisions; +namespace Orleans.Testing.Simulation.Runtime.Tests.Decisions; /// /// Covers and diff --git a/tests/Clockwork.Runtime.Tests/Execution/SimulationExecutionContextTests.cs b/tests/Clockwork.Runtime.Tests/Execution/SimulationExecutionContextTests.cs index cb054acd..b432c4ea 100644 --- a/tests/Clockwork.Runtime.Tests/Execution/SimulationExecutionContextTests.cs +++ b/tests/Clockwork.Runtime.Tests/Execution/SimulationExecutionContextTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Execution; -namespace Clockwork.Runtime.Tests.Execution; +namespace Orleans.Testing.Simulation.Runtime.Tests.Execution; /// /// Covers : activity checks, nesting, restoration on diff --git a/tests/Clockwork.Runtime.Tests/Execution/SimulationExternalEntryGuardTests.cs b/tests/Clockwork.Runtime.Tests/Execution/SimulationExternalEntryGuardTests.cs index f9c5b99a..d234fe75 100644 --- a/tests/Clockwork.Runtime.Tests/Execution/SimulationExternalEntryGuardTests.cs +++ b/tests/Clockwork.Runtime.Tests/Execution/SimulationExternalEntryGuardTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Execution; -namespace Clockwork.Runtime.Tests.Execution; +namespace Orleans.Testing.Simulation.Runtime.Tests.Execution; /// /// Covers : it must not falsely reject the normal case diff --git a/tests/Clockwork.Runtime.Tests/Execution/SimulationRuntimeConfigurationTests.cs b/tests/Clockwork.Runtime.Tests/Execution/SimulationRuntimeConfigurationTests.cs index 15670e82..8635d92a 100644 --- a/tests/Clockwork.Runtime.Tests/Execution/SimulationRuntimeConfigurationTests.cs +++ b/tests/Clockwork.Runtime.Tests/Execution/SimulationRuntimeConfigurationTests.cs @@ -1,7 +1,7 @@ using System.Reflection; -using Clockwork.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Execution; -namespace Clockwork.Runtime.Tests.Execution; +namespace Orleans.Testing.Simulation.Runtime.Tests.Execution; public sealed class SimulationRuntimeConfigurationTests { diff --git a/tests/Clockwork.Runtime.Tests/Execution/SimulationRuntimeIdentityTests.cs b/tests/Clockwork.Runtime.Tests/Execution/SimulationRuntimeIdentityTests.cs index b4c16cda..5674e3cb 100644 --- a/tests/Clockwork.Runtime.Tests/Execution/SimulationRuntimeIdentityTests.cs +++ b/tests/Clockwork.Runtime.Tests/Execution/SimulationRuntimeIdentityTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Execution; -namespace Clockwork.Runtime.Tests.Execution; +namespace Orleans.Testing.Simulation.Runtime.Tests.Execution; /// /// Verifies that runtime identity is determined only by . diff --git a/tests/Clockwork.Runtime.Tests/Exploration/ReplayTraceMinimizerTests.cs b/tests/Clockwork.Runtime.Tests/Exploration/ReplayTraceMinimizerTests.cs index 4a31003e..fa2830a4 100644 --- a/tests/Clockwork.Runtime.Tests/Exploration/ReplayTraceMinimizerTests.cs +++ b/tests/Clockwork.Runtime.Tests/Exploration/ReplayTraceMinimizerTests.cs @@ -1,8 +1,8 @@ -using Clockwork.Runtime.Exploration; -using Clockwork.Runtime.Replay; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Exploration; +using Orleans.Testing.Simulation.Runtime.Replay; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Runtime.Tests.Exploration; +namespace Orleans.Testing.Simulation.Runtime.Tests.Exploration; public sealed class ReplayTraceMinimizerTests { diff --git a/tests/Clockwork.Runtime.Tests/Exploration/ScheduleExplorerTests.cs b/tests/Clockwork.Runtime.Tests/Exploration/ScheduleExplorerTests.cs index 7fde59a0..3998ec20 100644 --- a/tests/Clockwork.Runtime.Tests/Exploration/ScheduleExplorerTests.cs +++ b/tests/Clockwork.Runtime.Tests/Exploration/ScheduleExplorerTests.cs @@ -1,10 +1,10 @@ -using Clockwork.Runtime.Exploration; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Replay; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Scheduling.Resources; +using Orleans.Testing.Simulation.Runtime.Exploration; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Replay; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling.Resources; -namespace Clockwork.Runtime.Tests.Exploration; +namespace Orleans.Testing.Simulation.Runtime.Tests.Exploration; public sealed class ScheduleExplorerTests { diff --git a/tests/Clockwork.Runtime.Tests/GlobalUsings.Shims.cs b/tests/Clockwork.Runtime.Tests/GlobalUsings.Shims.cs index 914e368f..ba5f223a 100644 --- a/tests/Clockwork.Runtime.Tests/GlobalUsings.Shims.cs +++ b/tests/Clockwork.Runtime.Tests/GlobalUsings.Shims.cs @@ -1,6 +1,6 @@ -global using Clockwork.Shims.System; -global using Clockwork.Shims.System.Diagnostics; -global using Clockwork.Shims.System.Runtime.CompilerServices; -global using Clockwork.Shims.System.Security.Cryptography; -global using Clockwork.Shims.System.Threading; -global using Clockwork.Shims.System.Threading.Tasks; +global using Orleans.Testing.Simulation.Shims.System; +global using Orleans.Testing.Simulation.Shims.System.Diagnostics; +global using Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; +global using Orleans.Testing.Simulation.Shims.System.Security.Cryptography; +global using Orleans.Testing.Simulation.Shims.System.Threading; +global using Orleans.Testing.Simulation.Shims.System.Threading.Tasks; diff --git a/tests/Clockwork.Runtime.Tests/Racing/Oracle/RaceTracker.cs b/tests/Clockwork.Runtime.Tests/Racing/Oracle/RaceTracker.cs index 22f64fc8..00ee1f8b 100644 --- a/tests/Clockwork.Runtime.Tests/Racing/Oracle/RaceTracker.cs +++ b/tests/Clockwork.Runtime.Tests/Racing/Oracle/RaceTracker.cs @@ -1,10 +1,10 @@ // The race detector as of 07b7944, before clock slots: one clock component per operation, a full clock per kept access, // and no state ever dropped. Copied verbatim, apart from its namespace and usings, as the oracle for RaceTrackerModelTests. using System.Runtime.CompilerServices; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Runtime.Tests.Racing.Oracle; +namespace Orleans.Testing.Simulation.Runtime.Tests.Racing.Oracle; /// Scheduler-owned vector-clock and lockset race detector. internal sealed class RaceTracker diff --git a/tests/Clockwork.Runtime.Tests/Racing/RaceDetectionTests.cs b/tests/Clockwork.Runtime.Tests/Racing/RaceDetectionTests.cs index 9c933648..200276d2 100644 --- a/tests/Clockwork.Runtime.Tests/Racing/RaceDetectionTests.cs +++ b/tests/Clockwork.Runtime.Tests/Racing/RaceDetectionTests.cs @@ -1,14 +1,14 @@ using System.Runtime.CompilerServices; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Scheduling.Resources; -using Clockwork.Runtime.Scheduling.Strategies; -using Clockwork.Runtime.Tests.Scheduling; -using Clockwork.Runtime.Tasks; -using Clockwork.Shims.System.Runtime.CompilerServices; -using Clockwork.Runtime.Threading; - -namespace Clockwork.Runtime.Tests.Racing; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling.Resources; +using Orleans.Testing.Simulation.Runtime.Scheduling.Strategies; +using Orleans.Testing.Simulation.Runtime.Tests.Scheduling; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; +using Orleans.Testing.Simulation.Runtime.Threading; + +namespace Orleans.Testing.Simulation.Runtime.Tests.Racing; /// Behavioral coverage of logical-location conflict detection and false-positive controls. public sealed class RaceDetectionTests diff --git a/tests/Clockwork.Runtime.Tests/Racing/RaceDeterminismTests.cs b/tests/Clockwork.Runtime.Tests/Racing/RaceDeterminismTests.cs index a7f4eff0..2ee6026d 100644 --- a/tests/Clockwork.Runtime.Tests/Racing/RaceDeterminismTests.cs +++ b/tests/Clockwork.Runtime.Tests/Racing/RaceDeterminismTests.cs @@ -1,10 +1,10 @@ using System.Runtime.CompilerServices; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Scheduling.Strategies; -using Clockwork.Runtime.Tests.Scheduling; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling.Strategies; +using Orleans.Testing.Simulation.Runtime.Tests.Scheduling; -namespace Clockwork.Runtime.Tests.Racing; +namespace Orleans.Testing.Simulation.Runtime.Tests.Racing; /// /// No race verdict, race report, or scheduling decision depends on clock-slot identity or GC timing. Each worker writes diff --git a/tests/Clockwork.Runtime.Tests/Racing/RaceSchedulingPointTests.cs b/tests/Clockwork.Runtime.Tests/Racing/RaceSchedulingPointTests.cs index 8cb7f543..07b059d4 100644 --- a/tests/Clockwork.Runtime.Tests/Racing/RaceSchedulingPointTests.cs +++ b/tests/Clockwork.Runtime.Tests/Racing/RaceSchedulingPointTests.cs @@ -1,11 +1,11 @@ -using Clockwork.Runtime.Decisions; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Replay; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Scheduling.Strategies; -using Clockwork.Runtime.Tests.Scheduling; - -namespace Clockwork.Runtime.Tests.Racing; +using Orleans.Testing.Simulation.Runtime.Decisions; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Replay; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling.Strategies; +using Orleans.Testing.Simulation.Runtime.Tests.Scheduling; + +namespace Orleans.Testing.Simulation.Runtime.Tests.Racing; /// Verifies injected scheduling points use the controlled scheduler and replayable strategy. public sealed class RaceSchedulingPointTests diff --git a/tests/Clockwork.Runtime.Tests/Racing/RaceTrackerBoundsTests.cs b/tests/Clockwork.Runtime.Tests/Racing/RaceTrackerBoundsTests.cs index 62941e0f..b32004a4 100644 --- a/tests/Clockwork.Runtime.Tests/Racing/RaceTrackerBoundsTests.cs +++ b/tests/Clockwork.Runtime.Tests/Racing/RaceTrackerBoundsTests.cs @@ -1,13 +1,13 @@ using System.Runtime.CompilerServices; using System.Threading.Tasks; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tests.Scheduling; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Shims.System.Runtime.CompilerServices; - -namespace Clockwork.Runtime.Tests.Racing; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tests.Scheduling; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; + +namespace Orleans.Testing.Simulation.Runtime.Tests.Racing; /// /// The race detector's retained state is bounded by the work in flight, not by the work done. Continuation chains, diff --git a/tests/Clockwork.Runtime.Tests/Racing/RaceTrackerMemoryTests.cs b/tests/Clockwork.Runtime.Tests/Racing/RaceTrackerMemoryTests.cs index 1887ff79..074def03 100644 --- a/tests/Clockwork.Runtime.Tests/Racing/RaceTrackerMemoryTests.cs +++ b/tests/Clockwork.Runtime.Tests/Racing/RaceTrackerMemoryTests.cs @@ -1,10 +1,10 @@ using System.Runtime.CompilerServices; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Tests.Scheduling; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Tests.Scheduling; -namespace Clockwork.Runtime.Tests.Racing; +namespace Orleans.Testing.Simulation.Runtime.Tests.Racing; /// Runs the memory measurements alone, so no other test's allocations reach the heap they measure. [CollectionDefinition(nameof(RaceTrackerMemoryIsolation), DisableParallelization = true)] diff --git a/tests/Clockwork.Runtime.Tests/Racing/RaceTrackerModelTests.cs b/tests/Clockwork.Runtime.Tests/Racing/RaceTrackerModelTests.cs index c86f4be5..4d718e55 100644 --- a/tests/Clockwork.Runtime.Tests/Racing/RaceTrackerModelTests.cs +++ b/tests/Clockwork.Runtime.Tests/Racing/RaceTrackerModelTests.cs @@ -1,10 +1,10 @@ using System.Reflection; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Tests.Scheduling; -using OracleTracker = Clockwork.Runtime.Tests.Racing.Oracle.RaceTracker; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Tests.Scheduling; +using OracleTracker = Orleans.Testing.Simulation.Runtime.Tests.Racing.Oracle.RaceTracker; -namespace Clockwork.Runtime.Tests.Racing; +namespace Orleans.Testing.Simulation.Runtime.Tests.Racing; /// /// Model-based check of the race detector against the detector it replaced (), which keeps diff --git a/tests/Clockwork.Runtime.Tests/Racing/TaskCompletionRaceEdgeTests.cs b/tests/Clockwork.Runtime.Tests/Racing/TaskCompletionRaceEdgeTests.cs index 58cf8d6f..43355392 100644 --- a/tests/Clockwork.Runtime.Tests/Racing/TaskCompletionRaceEdgeTests.cs +++ b/tests/Clockwork.Runtime.Tests/Racing/TaskCompletionRaceEdgeTests.cs @@ -1,13 +1,13 @@ -using Clockwork; +using Orleans.Testing.Simulation; using System.Threading.Tasks; -using Clockwork.Runtime.Racing; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Tests.Scheduling; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; -using Clockwork.Shims.System.Runtime.CompilerServices; +using Orleans.Testing.Simulation.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Tests.Scheduling; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; +using Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; -namespace Clockwork.Runtime.Tests.Racing; +namespace Orleans.Testing.Simulation.Runtime.Tests.Racing; /// /// Race-detection edges through task completion. A producer writes a location and then completes a real diff --git a/tests/Clockwork.Runtime.Tests/Random/SimulationSeedAuthorityTests.cs b/tests/Clockwork.Runtime.Tests/Random/SimulationSeedAuthorityTests.cs index 65b830f1..17993f1f 100644 --- a/tests/Clockwork.Runtime.Tests/Random/SimulationSeedAuthorityTests.cs +++ b/tests/Clockwork.Runtime.Tests/Random/SimulationSeedAuthorityTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Random; -namespace Clockwork.Runtime.Tests.Random; +namespace Orleans.Testing.Simulation.Runtime.Tests.Random; /// /// Covers : domain-seed stability/independence, order- and diff --git a/tests/Clockwork.Runtime.Tests/Random/SimulationStableHashTests.cs b/tests/Clockwork.Runtime.Tests/Random/SimulationStableHashTests.cs index 61809e2e..6e8b06b1 100644 --- a/tests/Clockwork.Runtime.Tests/Random/SimulationStableHashTests.cs +++ b/tests/Clockwork.Runtime.Tests/Random/SimulationStableHashTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Random; -namespace Clockwork.Runtime.Tests.Random; +namespace Orleans.Testing.Simulation.Runtime.Tests.Random; /// /// Covers : stability, non-triviality relative to diff --git a/tests/Clockwork.Runtime.Tests/Replay/ClusterReplayRunnerTests.cs b/tests/Clockwork.Runtime.Tests/Replay/ClusterReplayRunnerTests.cs index fa1d2ef1..b76b04ea 100644 --- a/tests/Clockwork.Runtime.Tests/Replay/ClusterReplayRunnerTests.cs +++ b/tests/Clockwork.Runtime.Tests/Replay/ClusterReplayRunnerTests.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime.Exploration; -using Clockwork.Runtime.Replay; +using Orleans.Testing.Simulation.Runtime.Exploration; +using Orleans.Testing.Simulation.Runtime.Replay; -namespace Clockwork.Runtime.Tests.Replay; +namespace Orleans.Testing.Simulation.Runtime.Tests.Replay; public sealed class ClusterReplayRunnerTests { diff --git a/tests/Clockwork.Runtime.Tests/Replay/ReplayArtifactTests.cs b/tests/Clockwork.Runtime.Tests/Replay/ReplayArtifactTests.cs index 87275dc8..9ce690d9 100644 --- a/tests/Clockwork.Runtime.Tests/Replay/ReplayArtifactTests.cs +++ b/tests/Clockwork.Runtime.Tests/Replay/ReplayArtifactTests.cs @@ -1,12 +1,12 @@ using System.Text; using System.Text.Json; using System.Text.Json.Nodes; -using Clockwork.Runtime.Decisions; -using Clockwork.Runtime.Random; -using Clockwork.Runtime.Replay; -using Clockwork.Runtime.Racing; +using Orleans.Testing.Simulation.Runtime.Decisions; +using Orleans.Testing.Simulation.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Replay; +using Orleans.Testing.Simulation.Runtime.Racing; -namespace Clockwork.Runtime.Tests.Replay; +namespace Orleans.Testing.Simulation.Runtime.Tests.Replay; public sealed class ReplayArtifactTests : IDisposable { @@ -58,7 +58,7 @@ public void LegacyVersionTwoBytesWithInstrumentationIdentityAndClockworkAssembly "\"engineVersion\":\"0.1.0\",\"ruleSetId\":\"clockwork.bcl.deterministic\"," + "\"ruleSetVersion\":\"1\"," + "\"ruleSetSignature\":\"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"," + - "\"mode\":\"Controlled\",\"assemblies\":[{\"name\":\"Clockwork.dll\"," + + "\"mode\":\"Controlled\",\"assemblies\":[{\"name\":\"Orleans.Testing.Simulation.dll\"," + "\"sha256\":\"cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\"," + "\"runtimeCompatibility\":\".NETCoreApp,Version=v11.0\"}]}," + "\"environment\":{\"clockworkVersion\":\"0.1.0.0\"," + @@ -75,7 +75,7 @@ public void LegacyVersionTwoBytesWithInstrumentationIdentityAndClockworkAssembly Assert.Equal("clockwork.replay", artifact.Format); Assert.Equal(2, artifact.SchemaVersion); Assert.Equal("clockwork.bcl.deterministic", artifact.Instrumentation!.RuleSetId); - Assert.Equal("Clockwork.dll", Assert.Single(artifact.Instrumentation.Assemblies).Name); + Assert.Equal("Orleans.Testing.Simulation.dll", Assert.Single(artifact.Instrumentation.Assemblies).Name); Assert.Equal(expectedBytes, ReplayArtifactSerializer.Serialize(artifact)); } diff --git a/tests/Clockwork.Runtime.Tests/Replay/ReplayDiagnosticsTests.cs b/tests/Clockwork.Runtime.Tests/Replay/ReplayDiagnosticsTests.cs index 37f2f010..8e1f09a5 100644 --- a/tests/Clockwork.Runtime.Tests/Replay/ReplayDiagnosticsTests.cs +++ b/tests/Clockwork.Runtime.Tests/Replay/ReplayDiagnosticsTests.cs @@ -1,8 +1,8 @@ -using Clockwork.Runtime.Replay; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Scheduling.Resources; +using Orleans.Testing.Simulation.Runtime.Replay; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling.Resources; -namespace Clockwork.Runtime.Tests.Replay; +namespace Orleans.Testing.Simulation.Runtime.Tests.Replay; public sealed class ReplayDiagnosticsTests { diff --git a/tests/Clockwork.Runtime.Tests/Replay/ReplayOutcomeClassificationTests.cs b/tests/Clockwork.Runtime.Tests/Replay/ReplayOutcomeClassificationTests.cs index 10cb42e0..c5094564 100644 --- a/tests/Clockwork.Runtime.Tests/Replay/ReplayOutcomeClassificationTests.cs +++ b/tests/Clockwork.Runtime.Tests/Replay/ReplayOutcomeClassificationTests.cs @@ -1,11 +1,11 @@ using System.Globalization; -using Clockwork.Runtime.Exploration; -using Clockwork.Runtime.Replay; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Scheduling.Resources; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Exploration; +using Orleans.Testing.Simulation.Runtime.Replay; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling.Resources; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Runtime.Tests.Replay; +namespace Orleans.Testing.Simulation.Runtime.Tests.Replay; /// /// The run outcome comes from races, unhandled faults, deadlocks, and bounds, and otherwise from the diff --git a/tests/Clockwork.Runtime.Tests/Replay/ReplayRunnerTests.cs b/tests/Clockwork.Runtime.Tests/Replay/ReplayRunnerTests.cs index 747ca92a..93cfbcf5 100644 --- a/tests/Clockwork.Runtime.Tests/Replay/ReplayRunnerTests.cs +++ b/tests/Clockwork.Runtime.Tests/Replay/ReplayRunnerTests.cs @@ -1,11 +1,11 @@ -using Clockwork.Runtime.Decisions; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Replay; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Scheduling.Resources; -using Clockwork.Runtime.Shims; - -namespace Clockwork.Runtime.Tests.Replay; +using Orleans.Testing.Simulation.Runtime.Decisions; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Replay; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling.Resources; +using Orleans.Testing.Simulation.Runtime.Shims; + +namespace Orleans.Testing.Simulation.Runtime.Tests.Replay; public sealed class ReplayRunnerTests { diff --git a/tests/Clockwork.Runtime.Tests/RuntimeTestHarness.cs b/tests/Clockwork.Runtime.Tests/RuntimeTestHarness.cs index f4ee25de..9f737aad 100644 --- a/tests/Clockwork.Runtime.Tests/RuntimeTestHarness.cs +++ b/tests/Clockwork.Runtime.Tests/RuntimeTestHarness.cs @@ -1,9 +1,9 @@ -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Random; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Runtime.Tests; +namespace Orleans.Testing.Simulation.Runtime.Tests; internal static class RuntimeTestHarness { diff --git a/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationDeadlockDetectionTests.cs b/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationDeadlockDetectionTests.cs index 5c7987d4..0f21c5cd 100644 --- a/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationDeadlockDetectionTests.cs +++ b/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationDeadlockDetectionTests.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Scheduling.Resources; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling.Resources; -namespace Clockwork.Runtime.Tests.Scheduling.Resources; +namespace Orleans.Testing.Simulation.Runtime.Tests.Scheduling.Resources; /// /// Coverage of wait-for graph construction and deadlock detection: true resource-ownership cycles of diff --git a/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationResourceCancellationTests.cs b/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationResourceCancellationTests.cs index 208c1442..1e513a27 100644 --- a/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationResourceCancellationTests.cs +++ b/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationResourceCancellationTests.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Scheduling.Resources; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling.Resources; -namespace Clockwork.Runtime.Tests.Scheduling.Resources; +namespace Orleans.Testing.Simulation.Runtime.Tests.Scheduling.Resources; /// /// Coverage of synchronous cancellation-token integration for resource waits: cancellation is diff --git a/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationResourceModelTests.cs b/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationResourceModelTests.cs index 9f63546f..067a7bd1 100644 --- a/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationResourceModelTests.cs +++ b/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationResourceModelTests.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Scheduling.Resources; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling.Resources; -namespace Clockwork.Runtime.Tests.Scheduling.Resources; +namespace Orleans.Testing.Simulation.Runtime.Tests.Scheduling.Resources; /// /// Coverage of the reusable resource model itself (identity, metadata, and the deterministic FIFO diff --git a/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationResourceTeardownTests.cs b/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationResourceTeardownTests.cs index 2f670d54..be5d5498 100644 --- a/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationResourceTeardownTests.cs +++ b/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationResourceTeardownTests.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Scheduling.Resources; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling.Resources; -namespace Clockwork.Runtime.Tests.Scheduling.Resources; +namespace Orleans.Testing.Simulation.Runtime.Tests.Scheduling.Resources; /// /// Teardown/disposal coverage for the resource/wait states: an operation parked on an infinite diff --git a/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationResourceTimeoutTests.cs b/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationResourceTimeoutTests.cs index dd2072d0..e2b04646 100644 --- a/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationResourceTimeoutTests.cs +++ b/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationResourceTimeoutTests.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Scheduling.Resources; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling.Resources; -namespace Clockwork.Runtime.Tests.Scheduling.Resources; +namespace Orleans.Testing.Simulation.Runtime.Tests.Scheduling.Resources; /// /// Coverage of virtual-time timeout waits: zero, finite, and infinite budgets; deterministic diff --git a/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationResourceWaitTests.cs b/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationResourceWaitTests.cs index a6a41e52..3a88ae28 100644 --- a/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationResourceWaitTests.cs +++ b/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationResourceWaitTests.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Scheduling.Resources; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling.Resources; -namespace Clockwork.Runtime.Tests.Scheduling.Resources; +namespace Orleans.Testing.Simulation.Runtime.Tests.Scheduling.Resources; /// /// Coverage of the scheduler's atomic resource wait/wake primitives: a waiting operation yields the diff --git a/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationTimerQueueTests.cs b/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationTimerQueueTests.cs index 48124409..d9b50566 100644 --- a/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationTimerQueueTests.cs +++ b/tests/Clockwork.Runtime.Tests/Scheduling/Resources/SimulationTimerQueueTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Scheduling.Resources; +using Orleans.Testing.Simulation.Runtime.Scheduling.Resources; -namespace Clockwork.Runtime.Tests.Scheduling.Resources; +namespace Orleans.Testing.Simulation.Runtime.Tests.Scheduling.Resources; public sealed class SimulationTimerQueueTests { diff --git a/tests/Clockwork.Runtime.Tests/Scheduling/SchedulerTestHarness.cs b/tests/Clockwork.Runtime.Tests/Scheduling/SchedulerTestHarness.cs index ca2b078c..6fe80e3f 100644 --- a/tests/Clockwork.Runtime.Tests/Scheduling/SchedulerTestHarness.cs +++ b/tests/Clockwork.Runtime.Tests/Scheduling/SchedulerTestHarness.cs @@ -1,8 +1,8 @@ using System.Collections.Concurrent; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Runtime.Tests.Scheduling; +namespace Orleans.Testing.Simulation.Runtime.Tests.Scheduling; /// /// Shared helpers for controlled-operation scheduler tests: a scheduler factory and a listener that diff --git a/tests/Clockwork.Runtime.Tests/Scheduling/SimulationOperationDecisionWiringTests.cs b/tests/Clockwork.Runtime.Tests/Scheduling/SimulationOperationDecisionWiringTests.cs index cc68a97a..7c41e27a 100644 --- a/tests/Clockwork.Runtime.Tests/Scheduling/SimulationOperationDecisionWiringTests.cs +++ b/tests/Clockwork.Runtime.Tests/Scheduling/SimulationOperationDecisionWiringTests.cs @@ -1,10 +1,10 @@ -using Clockwork.Runtime.Decisions; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Random; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Scheduling.Resources; +using Orleans.Testing.Simulation.Runtime.Decisions; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling.Resources; -namespace Clockwork.Runtime.Tests.Scheduling; +namespace Orleans.Testing.Simulation.Runtime.Tests.Scheduling; /// /// Verifies that the controlled-operation scheduler installs a logical execution identity into the diff --git a/tests/Clockwork.Runtime.Tests/Scheduling/SimulationOperationStateMachineTests.cs b/tests/Clockwork.Runtime.Tests/Scheduling/SimulationOperationStateMachineTests.cs index e52d3cf0..e8d0bc24 100644 --- a/tests/Clockwork.Runtime.Tests/Scheduling/SimulationOperationStateMachineTests.cs +++ b/tests/Clockwork.Runtime.Tests/Scheduling/SimulationOperationStateMachineTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Runtime.Tests.Scheduling; +namespace Orleans.Testing.Simulation.Runtime.Tests.Scheduling; /// /// Exhaustive coverage of the state machine's legality table: diff --git a/tests/Clockwork.Runtime.Tests/Scheduling/SimulationSchedulerStressTests.cs b/tests/Clockwork.Runtime.Tests/Scheduling/SimulationSchedulerStressTests.cs index 14bf08b1..5aab59ca 100644 --- a/tests/Clockwork.Runtime.Tests/Scheduling/SimulationSchedulerStressTests.cs +++ b/tests/Clockwork.Runtime.Tests/Scheduling/SimulationSchedulerStressTests.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Scheduling.Resources; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling.Resources; -namespace Clockwork.Runtime.Tests.Scheduling; +namespace Orleans.Testing.Simulation.Runtime.Tests.Scheduling; /// /// Stress and teardown coverage for the unified : the diff --git a/tests/Clockwork.Runtime.Tests/Scheduling/SimulationSchedulerTests.cs b/tests/Clockwork.Runtime.Tests/Scheduling/SimulationSchedulerTests.cs index 38d152db..d51bd93c 100644 --- a/tests/Clockwork.Runtime.Tests/Scheduling/SimulationSchedulerTests.cs +++ b/tests/Clockwork.Runtime.Tests/Scheduling/SimulationSchedulerTests.cs @@ -1,9 +1,9 @@ using System.Collections.Concurrent; -using Clockwork.Runtime.Decisions; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Decisions; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Runtime.Tests.Scheduling; +namespace Orleans.Testing.Simulation.Runtime.Tests.Scheduling; /// /// Behavioral coverage of the unified : registration/selection, @@ -288,7 +288,7 @@ public void ResumeRejectsAnActiveResourceWaiter() { using var scheduler = SchedulerTestHarness.NewScheduler(); var resource = scheduler.CreateResource( - Clockwork.Runtime.Scheduling.Resources.SimulationResourceKind.Semaphore, + Orleans.Testing.Simulation.Runtime.Scheduling.Resources.SimulationResourceKind.Semaphore, "resource-wait"); var operation = scheduler.Schedule( "waiter", @@ -532,7 +532,7 @@ public void ListenerSerializesPausedBeforeExternalCancellationMakesOperationRunn listener.Scheduler = scheduler; using var cancellation = new CancellationTokenSource(); var resource = scheduler.CreateResource( - Clockwork.Runtime.Scheduling.Resources.SimulationResourceKind.Semaphore, + Orleans.Testing.Simulation.Runtime.Scheduling.Resources.SimulationResourceKind.Semaphore, "listener-race"); scheduler.Schedule( "waiter", @@ -591,7 +591,7 @@ public void TerminalListenerDisposeDefersRegistrationCleanupUntilPublicationGate using var scheduler = SchedulerTestHarness.NewScheduler(listener); listener.Scheduler = scheduler; var resource = scheduler.CreateResource( - Clockwork.Runtime.Scheduling.Resources.SimulationResourceKind.Semaphore, + Orleans.Testing.Simulation.Runtime.Scheduling.Resources.SimulationResourceKind.Semaphore, "pending-cancellation"); var victim = scheduler.Schedule( "victim", @@ -650,7 +650,7 @@ public void SignalAllPublishesEachRunnableBeforeReentrantCancellationOfLaterWait using var scheduler = SchedulerTestHarness.NewScheduler(listener); listener.Scheduler = scheduler; var resource = scheduler.CreateResource( - Clockwork.Runtime.Scheduling.Resources.SimulationResourceKind.Semaphore, + Orleans.Testing.Simulation.Runtime.Scheduling.Resources.SimulationResourceKind.Semaphore, "signal-all"); var first = scheduler.Schedule( "first", diff --git a/tests/Clockwork.Runtime.Tests/Scheduling/Strategies/SimulationSchedulingStrategyTests.cs b/tests/Clockwork.Runtime.Tests/Scheduling/Strategies/SimulationSchedulingStrategyTests.cs index 3b841da9..0e1e823f 100644 --- a/tests/Clockwork.Runtime.Tests/Scheduling/Strategies/SimulationSchedulingStrategyTests.cs +++ b/tests/Clockwork.Runtime.Tests/Scheduling/Strategies/SimulationSchedulingStrategyTests.cs @@ -1,9 +1,9 @@ -using Clockwork.Runtime.Decisions; -using Clockwork.Runtime.Random; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Scheduling.Strategies; +using Orleans.Testing.Simulation.Runtime.Decisions; +using Orleans.Testing.Simulation.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling.Strategies; -namespace Clockwork.Runtime.Tests.Scheduling.Strategies; +namespace Orleans.Testing.Simulation.Runtime.Tests.Scheduling.Strategies; /// /// Exercises the pluggable scheduling strategies and their decision recording/replay wiring. Each @@ -222,7 +222,7 @@ public void ReplayStrategyThrowsWhenTheRecordedSelectionIsNotRunnable() "999", Guid.NewGuid(), NodeId: null, - Clockwork.Runtime.Execution.SimulationLogicalExecutionId.None), + Orleans.Testing.Simulation.Runtime.Execution.SimulationLogicalExecutionId.None), }; using var scheduler = SchedulerTestHarness.NewScheduler(); @@ -381,5 +381,5 @@ private static SimulationDecisionRecord SchedulingRecord(long sequence, string s selectedResult, Guid.NewGuid(), NodeId: null, - Clockwork.Runtime.Execution.SimulationLogicalExecutionId.None); + Orleans.Testing.Simulation.Runtime.Execution.SimulationLogicalExecutionId.None); } diff --git a/tests/Clockwork.Runtime.Tests/Shims/ControlledDateTimeOffsetTests.cs b/tests/Clockwork.Runtime.Tests/Shims/ControlledDateTimeOffsetTests.cs index 90a335cd..6ae6775d 100644 --- a/tests/Clockwork.Runtime.Tests/Shims/ControlledDateTimeOffsetTests.cs +++ b/tests/Clockwork.Runtime.Tests/Shims/ControlledDateTimeOffsetTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Runtime.Tests.Shims; +namespace Orleans.Testing.Simulation.Runtime.Tests.Shims; public sealed class ControlledDateTimeOffsetTests { diff --git a/tests/Clockwork.Runtime.Tests/Shims/ControlledDateTimeTests.cs b/tests/Clockwork.Runtime.Tests/Shims/ControlledDateTimeTests.cs index 11135cc6..806ab1a7 100644 --- a/tests/Clockwork.Runtime.Tests/Shims/ControlledDateTimeTests.cs +++ b/tests/Clockwork.Runtime.Tests/Shims/ControlledDateTimeTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Runtime.Tests.Shims; +namespace Orleans.Testing.Simulation.Runtime.Tests.Shims; public sealed class ControlledDateTimeTests { @@ -54,7 +54,7 @@ public void TodayReturnsVirtualLocalDateAtMidnight() [Fact] public void OutsideSimulationFailsBeforeReadingTheRealClock() { - Assert.False(Clockwork.Runtime.Execution.SimulationExecutionContext.IsActive); + Assert.False(Orleans.Testing.Simulation.Runtime.Execution.SimulationExecutionContext.IsActive); DateTime result = DateTime.MinValue; Exception? exception = Record.Exception(() => result = ControlledDateTime.GetUtcNow()); diff --git a/tests/Clockwork.Runtime.Tests/Shims/ControlledEnvironmentTests.cs b/tests/Clockwork.Runtime.Tests/Shims/ControlledEnvironmentTests.cs index dc7f1d81..6fd90583 100644 --- a/tests/Clockwork.Runtime.Tests/Shims/ControlledEnvironmentTests.cs +++ b/tests/Clockwork.Runtime.Tests/Shims/ControlledEnvironmentTests.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Runtime.Tests.Shims; +namespace Orleans.Testing.Simulation.Runtime.Tests.Shims; public sealed class ControlledEnvironmentTests { diff --git a/tests/Clockwork.Runtime.Tests/Shims/ControlledGuidTests.cs b/tests/Clockwork.Runtime.Tests/Shims/ControlledGuidTests.cs index d1c62e7c..5c40e9ee 100644 --- a/tests/Clockwork.Runtime.Tests/Shims/ControlledGuidTests.cs +++ b/tests/Clockwork.Runtime.Tests/Shims/ControlledGuidTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Runtime.Tests.Shims; +namespace Orleans.Testing.Simulation.Runtime.Tests.Shims; /// /// Semantic conformance tests for : RFC variant/version shape, V7 @@ -116,7 +116,7 @@ int WithGuid() [Fact] public void OutsideSimulationGuidShimsRequireActiveSimulation() { - Assert.False(Clockwork.Runtime.Execution.SimulationExecutionContext.IsActive); + Assert.False(Orleans.Testing.Simulation.Runtime.Execution.SimulationExecutionContext.IsActive); Guid result = default; Exception? newGuidException = Record.Exception(() => result = ControlledGuid.NewGuid()); diff --git a/tests/Clockwork.Runtime.Tests/Shims/ControlledRandomNumberGeneratorTests.cs b/tests/Clockwork.Runtime.Tests/Shims/ControlledRandomNumberGeneratorTests.cs index b7fa557c..f0ec212c 100644 --- a/tests/Clockwork.Runtime.Tests/Shims/ControlledRandomNumberGeneratorTests.cs +++ b/tests/Clockwork.Runtime.Tests/Shims/ControlledRandomNumberGeneratorTests.cs @@ -1,7 +1,7 @@ using System.Security.Cryptography; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Runtime.Tests.Shims; +namespace Orleans.Testing.Simulation.Runtime.Tests.Shims; /// /// Conformance tests for : deterministic static and @@ -61,7 +61,7 @@ static string[] Observe() [Fact] public void OutsideSimulationCryptoShimsRequireActiveSimulation() { - Assert.False(Clockwork.Runtime.Execution.SimulationExecutionContext.IsActive); + Assert.False(Orleans.Testing.Simulation.Runtime.Execution.SimulationExecutionContext.IsActive); RandomNumberGenerator? generator = null; Exception? createException = Record.Exception( @@ -316,7 +316,7 @@ byte[] Draw() public void NamedFactoryReturnsNullForUnknownBclName() { const string UnknownName = - "Clockwork.Tests.Unknown.RandomNumberGenerator.7f9c7706-3f19-42a8-b8f2-20af41a52d68"; + "Orleans.Testing.Simulation.Tests.Unknown.RandomNumberGenerator.7f9c7706-3f19-42a8-b8f2-20af41a52d68"; #pragma warning disable SYSLIB0045 // Verify the obsolete named BCL factory contract mirrored by the shim. using RandomNumberGenerator? bclGenerator = RandomNumberGenerator.Create(UnknownName); diff --git a/tests/Clockwork.Runtime.Tests/Shims/ControlledRandomTests.cs b/tests/Clockwork.Runtime.Tests/Shims/ControlledRandomTests.cs index 005a5d7b..be7cae3a 100644 --- a/tests/Clockwork.Runtime.Tests/Shims/ControlledRandomTests.cs +++ b/tests/Clockwork.Runtime.Tests/Shims/ControlledRandomTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Runtime.Tests.Shims; +namespace Orleans.Testing.Simulation.Runtime.Tests.Shims; /// /// Semantic conformance tests for : shared-stream stability and @@ -195,7 +195,7 @@ Guid WithDraw() [Fact] public void OutsideSimulationRandomShimsRequireActiveSimulation() { - Assert.False(Clockwork.Runtime.Execution.SimulationExecutionContext.IsActive); + Assert.False(Orleans.Testing.Simulation.Runtime.Execution.SimulationExecutionContext.IsActive); System.Random? random = null; Exception? sharedException = Record.Exception(() => random = ControlledRandom.GetShared()); diff --git a/tests/Clockwork.Runtime.Tests/Shims/ControlledShimOrganizationTests.cs b/tests/Clockwork.Runtime.Tests/Shims/ControlledShimOrganizationTests.cs index bf02a578..c8d23050 100644 --- a/tests/Clockwork.Runtime.Tests/Shims/ControlledShimOrganizationTests.cs +++ b/tests/Clockwork.Runtime.Tests/Shims/ControlledShimOrganizationTests.cs @@ -1,9 +1,9 @@ using System.Reflection; using System.Security.Cryptography; using System.Text.RegularExpressions; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Runtime.Tests.Shims; +namespace Orleans.Testing.Simulation.Runtime.Tests.Shims; public sealed partial class ControlledShimOrganizationTests { @@ -43,9 +43,9 @@ .. new[] foreach (Type controlledType in controlledTypes) { string shimNamespace = Assert.IsType(controlledType.Namespace); - Assert.StartsWith("Clockwork.Shims.", shimNamespace, StringComparison.Ordinal); + Assert.StartsWith("Orleans.Testing.Simulation.Shims.", shimNamespace, StringComparison.Ordinal); - string frameworkNamespace = shimNamespace["Clockwork.Shims.".Length..]; + string frameworkNamespace = shimNamespace["Orleans.Testing.Simulation.Shims.".Length..]; string frameworkName = TrimGenericArity(controlledType.Name["Controlled".Length..]); Assert.True( frameworkTypes.Any( diff --git a/tests/Clockwork.Runtime.Tests/Shims/ControlledStopwatchTests.cs b/tests/Clockwork.Runtime.Tests/Shims/ControlledStopwatchTests.cs index b54d0dd4..297e8705 100644 --- a/tests/Clockwork.Runtime.Tests/Shims/ControlledStopwatchTests.cs +++ b/tests/Clockwork.Runtime.Tests/Shims/ControlledStopwatchTests.cs @@ -1,7 +1,7 @@ using System.Diagnostics; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Runtime.Tests.Shims; +namespace Orleans.Testing.Simulation.Runtime.Tests.Shims; public sealed class ControlledStopwatchTests { diff --git a/tests/Clockwork.Runtime.Tests/Shims/ShimTestHarness.cs b/tests/Clockwork.Runtime.Tests/Shims/ShimTestHarness.cs index 1dcfafda..715a4716 100644 --- a/tests/Clockwork.Runtime.Tests/Shims/ShimTestHarness.cs +++ b/tests/Clockwork.Runtime.Tests/Shims/ShimTestHarness.cs @@ -1,10 +1,10 @@ -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Random; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Runtime.Tests.Shims; +namespace Orleans.Testing.Simulation.Runtime.Tests.Shims; /// /// Test helpers for driving the deterministic shims: entering a complete active simulation scope diff --git a/tests/Clockwork.Runtime.Tests/Shims/SimulationRuntimeDispatchTests.cs b/tests/Clockwork.Runtime.Tests/Shims/SimulationRuntimeDispatchTests.cs index 32969874..d264578a 100644 --- a/tests/Clockwork.Runtime.Tests/Shims/SimulationRuntimeDispatchTests.cs +++ b/tests/Clockwork.Runtime.Tests/Shims/SimulationRuntimeDispatchTests.cs @@ -1,9 +1,9 @@ -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; -namespace Clockwork.Runtime.Tests.Shims; +namespace Orleans.Testing.Simulation.Runtime.Tests.Shims; public sealed class SimulationRuntimeDispatchTests { diff --git a/tests/Clockwork.Runtime.Tests/SimulationNotActiveExceptionAssert.cs b/tests/Clockwork.Runtime.Tests/SimulationNotActiveExceptionAssert.cs index 77bc3c0e..23fefc76 100644 --- a/tests/Clockwork.Runtime.Tests/SimulationNotActiveExceptionAssert.cs +++ b/tests/Clockwork.Runtime.Tests/SimulationNotActiveExceptionAssert.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Runtime.Tests; +namespace Orleans.Testing.Simulation.Runtime.Tests; internal static class SimulationNotActiveExceptionAssert { diff --git a/tests/Clockwork.Runtime.Tests/SupportedRuntimesMarkerTests.cs b/tests/Clockwork.Runtime.Tests/SupportedRuntimesMarkerTests.cs index 390b90a6..c732fe30 100644 --- a/tests/Clockwork.Runtime.Tests/SupportedRuntimesMarkerTests.cs +++ b/tests/Clockwork.Runtime.Tests/SupportedRuntimesMarkerTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime; +using Orleans.Testing.Simulation.Runtime; -namespace Clockwork.Runtime.Tests; +namespace Orleans.Testing.Simulation.Runtime.Tests; public sealed class SupportedRuntimesMarkerTests { diff --git a/tests/Clockwork.Runtime.Tests/Tasks/ContinueWithFaultObservationTests.cs b/tests/Clockwork.Runtime.Tests/Tasks/ContinueWithFaultObservationTests.cs index 1b97ae02..9d087f99 100644 --- a/tests/Clockwork.Runtime.Tests/Tasks/ContinueWithFaultObservationTests.cs +++ b/tests/Clockwork.Runtime.Tests/Tasks/ContinueWithFaultObservationTests.cs @@ -1,7 +1,7 @@ using System.Runtime.CompilerServices; using System.Threading.Tasks; -namespace Clockwork.Runtime.Tests.Tasks; +namespace Orleans.Testing.Simulation.Runtime.Tests.Tasks; /// /// A continuation which ignores its antecedent's fault leaves that fault unobserved, as in the BCL: once the faulted diff --git a/tests/Clockwork.Runtime.Tests/Tasks/ControlledAsyncStateMachineTests.cs b/tests/Clockwork.Runtime.Tests/Tasks/ControlledAsyncStateMachineTests.cs index 60b718bb..a0e9c580 100644 --- a/tests/Clockwork.Runtime.Tests/Tasks/ControlledAsyncStateMachineTests.cs +++ b/tests/Clockwork.Runtime.Tests/Tasks/ControlledAsyncStateMachineTests.cs @@ -1,9 +1,9 @@ using System.Runtime.CompilerServices; using System.Threading.Tasks; -using Clockwork.Runtime.Tasks; -using Clockwork.Shims.System.Runtime.CompilerServices; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; -namespace Clockwork.Runtime.Tests.Tasks; +namespace Orleans.Testing.Simulation.Runtime.Tests.Tasks; /// /// diff --git a/tests/Clockwork.Runtime.Tests/Tasks/ControlledTaskApiTests.cs b/tests/Clockwork.Runtime.Tests/Tasks/ControlledTaskApiTests.cs index feb460e8..4f744815 100644 --- a/tests/Clockwork.Runtime.Tests/Tasks/ControlledTaskApiTests.cs +++ b/tests/Clockwork.Runtime.Tests/Tasks/ControlledTaskApiTests.cs @@ -1,8 +1,8 @@ using System.Threading.Tasks; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Runtime.Tests.Tasks; +namespace Orleans.Testing.Simulation.Runtime.Tests.Tasks; /// /// Tests for the static shims: combinator determinism, synchronous waits diff --git a/tests/Clockwork.Runtime.Tests/Tasks/ControlledTaskCompletionSourceTests.cs b/tests/Clockwork.Runtime.Tests/Tasks/ControlledTaskCompletionSourceTests.cs index e8af54fe..69aa5efb 100644 --- a/tests/Clockwork.Runtime.Tests/Tasks/ControlledTaskCompletionSourceTests.cs +++ b/tests/Clockwork.Runtime.Tests/Tasks/ControlledTaskCompletionSourceTests.cs @@ -1,9 +1,9 @@ using System.Threading.Tasks; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; -using Clockwork.Shims.System.Runtime.CompilerServices; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; -namespace Clockwork.Runtime.Tests.Tasks; +namespace Orleans.Testing.Simulation.Runtime.Tests.Tasks; /// /// Tests for the completion redirects: each completes the real BCL diff --git a/tests/Clockwork.Runtime.Tests/Tasks/ControlledTaskRuntimeTests.cs b/tests/Clockwork.Runtime.Tests/Tasks/ControlledTaskRuntimeTests.cs index 9a12a760..e4655920 100644 --- a/tests/Clockwork.Runtime.Tests/Tasks/ControlledTaskRuntimeTests.cs +++ b/tests/Clockwork.Runtime.Tests/Tasks/ControlledTaskRuntimeTests.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Runtime.Tests.Tasks; +namespace Orleans.Testing.Simulation.Runtime.Tests.Tasks; /// /// Covers coordinator access through a complete ambient runtime plus continuation and synchronous-wait diff --git a/tests/Clockwork.Runtime.Tests/Tasks/ControlledTaskTimeoutTests.cs b/tests/Clockwork.Runtime.Tests/Tasks/ControlledTaskTimeoutTests.cs index c795d710..8092bb49 100644 --- a/tests/Clockwork.Runtime.Tests/Tasks/ControlledTaskTimeoutTests.cs +++ b/tests/Clockwork.Runtime.Tests/Tasks/ControlledTaskTimeoutTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Runtime.Tests.Tasks; +namespace Orleans.Testing.Simulation.Runtime.Tests.Tasks; public sealed class ControlledTaskTimeoutTests { diff --git a/tests/Clockwork.Runtime.Tests/Tasks/SimulationSchedulerTestHost.cs b/tests/Clockwork.Runtime.Tests/Tasks/SimulationSchedulerTestHost.cs index 7634c77b..b387d71e 100644 --- a/tests/Clockwork.Runtime.Tests/Tasks/SimulationSchedulerTestHost.cs +++ b/tests/Clockwork.Runtime.Tests/Tasks/SimulationSchedulerTestHost.cs @@ -1,8 +1,8 @@ -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Random; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Runtime.Tests; +namespace Orleans.Testing.Simulation.Runtime.Tests; // Owns a scheduler for tests that need an active simulation runtime. internal sealed class SimulationSchedulerTestHost : IDisposable diff --git a/tests/Clockwork.Runtime.Tests/Tasks/TaskTestHarness.cs b/tests/Clockwork.Runtime.Tests/Tasks/TaskTestHarness.cs index 0e1fdd65..c7b7e375 100644 --- a/tests/Clockwork.Runtime.Tests/Tasks/TaskTestHarness.cs +++ b/tests/Clockwork.Runtime.Tests/Tasks/TaskTestHarness.cs @@ -1,8 +1,8 @@ -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Random; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Runtime.Tests.Tasks; +namespace Orleans.Testing.Simulation.Runtime.Tests.Tasks; /// /// Test helpers for driving the controlled task machinery under a simulation scheduler and node, diff --git a/tests/Clockwork.Runtime.Tests/Threading/ControlledBarrierTests.cs b/tests/Clockwork.Runtime.Tests/Threading/ControlledBarrierTests.cs index 6677239f..2df029e7 100644 --- a/tests/Clockwork.Runtime.Tests/Threading/ControlledBarrierTests.cs +++ b/tests/Clockwork.Runtime.Tests/Threading/ControlledBarrierTests.cs @@ -1,8 +1,8 @@ -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Runtime.Tests.Threading; +namespace Orleans.Testing.Simulation.Runtime.Tests.Threading; #pragma warning disable xUnit1051 // Exact timeout overloads are the subject under test. diff --git a/tests/Clockwork.Runtime.Tests/Threading/ControlledCancellationTokenSourceTests.cs b/tests/Clockwork.Runtime.Tests/Threading/ControlledCancellationTokenSourceTests.cs index a7737083..07bf8870 100644 --- a/tests/Clockwork.Runtime.Tests/Threading/ControlledCancellationTokenSourceTests.cs +++ b/tests/Clockwork.Runtime.Tests/Threading/ControlledCancellationTokenSourceTests.cs @@ -1,8 +1,8 @@ -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Runtime.Tests.Threading; +namespace Orleans.Testing.Simulation.Runtime.Tests.Threading; public sealed class ControlledCancellationTokenSourceTests { diff --git a/tests/Clockwork.Runtime.Tests/Threading/ControlledContextFlowTests.cs b/tests/Clockwork.Runtime.Tests/Threading/ControlledContextFlowTests.cs index 84d0f31f..eaedaf7d 100644 --- a/tests/Clockwork.Runtime.Tests/Threading/ControlledContextFlowTests.cs +++ b/tests/Clockwork.Runtime.Tests/Threading/ControlledContextFlowTests.cs @@ -1,11 +1,11 @@ -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; #pragma warning disable SYSLIB0051 #pragma warning disable CS0618 -namespace Clockwork.Runtime.Tests.Threading; +namespace Orleans.Testing.Simulation.Runtime.Tests.Threading; /// Focused coverage for controlled execution- and synchronization-context rewrite targets. public sealed class ControlledContextFlowTests diff --git a/tests/Clockwork.Runtime.Tests/Threading/ControlledCountdownEventTests.cs b/tests/Clockwork.Runtime.Tests/Threading/ControlledCountdownEventTests.cs index 5e2d333a..ec87a3ba 100644 --- a/tests/Clockwork.Runtime.Tests/Threading/ControlledCountdownEventTests.cs +++ b/tests/Clockwork.Runtime.Tests/Threading/ControlledCountdownEventTests.cs @@ -1,8 +1,8 @@ -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Runtime.Tests.Threading; +namespace Orleans.Testing.Simulation.Runtime.Tests.Threading; #pragma warning disable xUnit1051 // Exact timeout overloads are the subject under test. diff --git a/tests/Clockwork.Runtime.Tests/Threading/ControlledEventWaitHandleTests.cs b/tests/Clockwork.Runtime.Tests/Threading/ControlledEventWaitHandleTests.cs index 2c44479b..a484dba1 100644 --- a/tests/Clockwork.Runtime.Tests/Threading/ControlledEventWaitHandleTests.cs +++ b/tests/Clockwork.Runtime.Tests/Threading/ControlledEventWaitHandleTests.cs @@ -1,11 +1,11 @@ using System; using System.Collections.Generic; using System.Threading; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Runtime.Tests.Threading; +namespace Orleans.Testing.Simulation.Runtime.Tests.Threading; /// /// Tests for the controlled event / wait-handle surface ( and diff --git a/tests/Clockwork.Runtime.Tests/Threading/ControlledInterlockedTests.cs b/tests/Clockwork.Runtime.Tests/Threading/ControlledInterlockedTests.cs index 96f177e7..033cb80c 100644 --- a/tests/Clockwork.Runtime.Tests/Threading/ControlledInterlockedTests.cs +++ b/tests/Clockwork.Runtime.Tests/Threading/ControlledInterlockedTests.cs @@ -1,10 +1,10 @@ using System; using System.Threading; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Runtime.Tests.Threading; +namespace Orleans.Testing.Simulation.Runtime.Tests.Threading; /// /// Tests for the controlled shims. Under Clockwork's cooperative diff --git a/tests/Clockwork.Runtime.Tests/Threading/ControlledLockTests.cs b/tests/Clockwork.Runtime.Tests/Threading/ControlledLockTests.cs index 01527834..ec543616 100644 --- a/tests/Clockwork.Runtime.Tests/Threading/ControlledLockTests.cs +++ b/tests/Clockwork.Runtime.Tests/Threading/ControlledLockTests.cs @@ -1,8 +1,8 @@ -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Runtime.Tests.Threading; +namespace Orleans.Testing.Simulation.Runtime.Tests.Threading; /// /// Tests for , the controlled stand-in for . diff --git a/tests/Clockwork.Runtime.Tests/Threading/ControlledManualResetEventSlimTests.cs b/tests/Clockwork.Runtime.Tests/Threading/ControlledManualResetEventSlimTests.cs index 7d35c0ac..226c3689 100644 --- a/tests/Clockwork.Runtime.Tests/Threading/ControlledManualResetEventSlimTests.cs +++ b/tests/Clockwork.Runtime.Tests/Threading/ControlledManualResetEventSlimTests.cs @@ -1,9 +1,9 @@ using System.Threading; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Runtime.Tests.Threading; +namespace Orleans.Testing.Simulation.Runtime.Tests.Threading; public sealed class ControlledManualResetEventSlimTests { diff --git a/tests/Clockwork.Runtime.Tests/Threading/ControlledMonitorTests.cs b/tests/Clockwork.Runtime.Tests/Threading/ControlledMonitorTests.cs index c181113b..92ba876f 100644 --- a/tests/Clockwork.Runtime.Tests/Threading/ControlledMonitorTests.cs +++ b/tests/Clockwork.Runtime.Tests/Threading/ControlledMonitorTests.cs @@ -1,9 +1,9 @@ using System.Threading; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Runtime.Tests.Threading; +namespace Orleans.Testing.Simulation.Runtime.Tests.Threading; /// /// Tests for the controlled shims: mutual exclusion, reentrancy and diff --git a/tests/Clockwork.Runtime.Tests/Threading/ControlledMutexTests.cs b/tests/Clockwork.Runtime.Tests/Threading/ControlledMutexTests.cs index 5beba05a..48fd7704 100644 --- a/tests/Clockwork.Runtime.Tests/Threading/ControlledMutexTests.cs +++ b/tests/Clockwork.Runtime.Tests/Threading/ControlledMutexTests.cs @@ -1,9 +1,9 @@ using System.Threading; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Runtime.Tests.Threading; +namespace Orleans.Testing.Simulation.Runtime.Tests.Threading; public sealed class ControlledMutexTests { diff --git a/tests/Clockwork.Runtime.Tests/Threading/ControlledParallelTests.cs b/tests/Clockwork.Runtime.Tests/Threading/ControlledParallelTests.cs index fb8008fc..ce8bac48 100644 --- a/tests/Clockwork.Runtime.Tests/Threading/ControlledParallelTests.cs +++ b/tests/Clockwork.Runtime.Tests/Threading/ControlledParallelTests.cs @@ -1,10 +1,10 @@ using System.Threading; using System.Threading.Tasks; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Runtime.Tests.Threading; +namespace Orleans.Testing.Simulation.Runtime.Tests.Threading; /// /// Tests for the controlled shims: Invoke / For / ForEach run diff --git a/tests/Clockwork.Runtime.Tests/Threading/ControlledReaderWriterLockSlimTests.cs b/tests/Clockwork.Runtime.Tests/Threading/ControlledReaderWriterLockSlimTests.cs index 59eae764..46039b4d 100644 --- a/tests/Clockwork.Runtime.Tests/Threading/ControlledReaderWriterLockSlimTests.cs +++ b/tests/Clockwork.Runtime.Tests/Threading/ControlledReaderWriterLockSlimTests.cs @@ -1,9 +1,9 @@ using System.Threading; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Runtime.Tests.Threading; +namespace Orleans.Testing.Simulation.Runtime.Tests.Threading; public sealed class ControlledReaderWriterLockSlimTests { diff --git a/tests/Clockwork.Runtime.Tests/Threading/ControlledSemaphoreSlimTests.cs b/tests/Clockwork.Runtime.Tests/Threading/ControlledSemaphoreSlimTests.cs index 0cba3792..fdebd477 100644 --- a/tests/Clockwork.Runtime.Tests/Threading/ControlledSemaphoreSlimTests.cs +++ b/tests/Clockwork.Runtime.Tests/Threading/ControlledSemaphoreSlimTests.cs @@ -1,15 +1,15 @@ using System.Threading; using System.Threading.Tasks; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; // The controlled shims mirror the BCL surface, so most methods have a CancellationToken overload. These // tests intentionally exercise the specific overloads (including token-less and explicit-token ones); the // TestContext token guidance does not apply to the deterministic simulation loop. #pragma warning disable xUnit1051 -namespace Clockwork.Runtime.Tests.Threading; +namespace Orleans.Testing.Simulation.Runtime.Tests.Threading; /// /// Tests for the controlled shims: the count and waiter set are diff --git a/tests/Clockwork.Runtime.Tests/Threading/ControlledSemaphoreTests.cs b/tests/Clockwork.Runtime.Tests/Threading/ControlledSemaphoreTests.cs index fe111604..98664f56 100644 --- a/tests/Clockwork.Runtime.Tests/Threading/ControlledSemaphoreTests.cs +++ b/tests/Clockwork.Runtime.Tests/Threading/ControlledSemaphoreTests.cs @@ -1,10 +1,10 @@ using System.Threading; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Runtime.Tests.Threading; +namespace Orleans.Testing.Simulation.Runtime.Tests.Threading; public sealed class ControlledSemaphoreTests { diff --git a/tests/Clockwork.Runtime.Tests/Threading/ControlledSpinLockTests.cs b/tests/Clockwork.Runtime.Tests/Threading/ControlledSpinLockTests.cs index 5004ab57..0451809e 100644 --- a/tests/Clockwork.Runtime.Tests/Threading/ControlledSpinLockTests.cs +++ b/tests/Clockwork.Runtime.Tests/Threading/ControlledSpinLockTests.cs @@ -1,9 +1,9 @@ using System.Threading; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Runtime.Tests.Threading; +namespace Orleans.Testing.Simulation.Runtime.Tests.Threading; public sealed class ControlledSpinLockTests { diff --git a/tests/Clockwork.Runtime.Tests/Threading/ControlledSpinWaitTests.cs b/tests/Clockwork.Runtime.Tests/Threading/ControlledSpinWaitTests.cs index 453ec726..8bc03c83 100644 --- a/tests/Clockwork.Runtime.Tests/Threading/ControlledSpinWaitTests.cs +++ b/tests/Clockwork.Runtime.Tests/Threading/ControlledSpinWaitTests.cs @@ -1,10 +1,10 @@ using System; using System.Threading; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Runtime.Tests.Threading; +namespace Orleans.Testing.Simulation.Runtime.Tests.Threading; /// /// Tests for the controlled value type. Inside a simulation a spin never diff --git a/tests/Clockwork.Runtime.Tests/Threading/ControlledThreadPoolTests.cs b/tests/Clockwork.Runtime.Tests/Threading/ControlledThreadPoolTests.cs index 31140900..5afe62ca 100644 --- a/tests/Clockwork.Runtime.Tests/Threading/ControlledThreadPoolTests.cs +++ b/tests/Clockwork.Runtime.Tests/Threading/ControlledThreadPoolTests.cs @@ -1,10 +1,10 @@ using System.Collections.Generic; using System.Threading; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Runtime.Tests.Threading; +namespace Orleans.Testing.Simulation.Runtime.Tests.Threading; /// /// Tests for the controlled shims: QueueUserWorkItem / diff --git a/tests/Clockwork.Runtime.Tests/Threading/ControlledThreadTests.cs b/tests/Clockwork.Runtime.Tests/Threading/ControlledThreadTests.cs index f9b7130b..f3a843be 100644 --- a/tests/Clockwork.Runtime.Tests/Threading/ControlledThreadTests.cs +++ b/tests/Clockwork.Runtime.Tests/Threading/ControlledThreadTests.cs @@ -1,9 +1,9 @@ using System.Threading; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Runtime.Tests.Threading; +namespace Orleans.Testing.Simulation.Runtime.Tests.Threading; /// /// Tests for the controlled shims: a controlled thread is a real diff --git a/tests/Clockwork.Runtime.Tests/Threading/ControlledTimerFamilyTests.cs b/tests/Clockwork.Runtime.Tests/Threading/ControlledTimerFamilyTests.cs index e1759410..3c468e02 100644 --- a/tests/Clockwork.Runtime.Tests/Threading/ControlledTimerFamilyTests.cs +++ b/tests/Clockwork.Runtime.Tests/Threading/ControlledTimerFamilyTests.cs @@ -1,11 +1,11 @@ -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tests.Shims; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tests.Shims; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Runtime.Tests.Threading; +namespace Orleans.Testing.Simulation.Runtime.Tests.Threading; public sealed class ControlledTimerFamilyTests { @@ -16,7 +16,7 @@ public void TimersTimerOneShotRaisesElapsedAtVirtualTime() var elapsed = new List(); TaskTestHarness.RunInSimulation(coordinator, () => { - using var timer = new Clockwork.Shims.System.Timers.ControlledTimer(TimeSpan.FromMilliseconds(25)) + using var timer = new Orleans.Testing.Simulation.Shims.System.Timers.ControlledTimer(TimeSpan.FromMilliseconds(25)) { AutoReset = false, }; @@ -40,7 +40,7 @@ public void TimersTimerStopAndCloseCancelPendingElapsedEvents() TaskTestHarness.RunInSimulation(coordinator, () => { - using var timer = new Clockwork.Shims.System.Timers.ControlledTimer(10); + using var timer = new Orleans.Testing.Simulation.Shims.System.Timers.ControlledTimer(10); timer.Elapsed += (_, _) => count++; timer.Start(); timer.Stop(); @@ -61,7 +61,7 @@ public void TimersTimerRejectsUncontrolledMarshaling() var coordinator = new SimulationSchedulerTestHost(); TaskTestHarness.RunInSimulation(coordinator, () => { - using var timer = new Clockwork.Shims.System.Timers.ControlledTimer(); + using var timer = new Orleans.Testing.Simulation.Shims.System.Timers.ControlledTimer(); Assert.Throws( () => timer.SynchronizingObject = new SynchronizingObjectStub()); }); @@ -76,7 +76,7 @@ public void TimersTimerConstructorValidatesInterval(double interval) var coordinator = new SimulationSchedulerTestHost(); TaskTestHarness.RunInSimulation( coordinator, - () => Assert.Throws(() => new Clockwork.Shims.System.Timers.ControlledTimer(interval))); + () => Assert.Throws(() => new Orleans.Testing.Simulation.Shims.System.Timers.ControlledTimer(interval))); } [Fact] diff --git a/tests/Clockwork.Runtime.Tests/Threading/ControlledTimerTests.cs b/tests/Clockwork.Runtime.Tests/Threading/ControlledTimerTests.cs index f2e0efd2..fe451d8e 100644 --- a/tests/Clockwork.Runtime.Tests/Threading/ControlledTimerTests.cs +++ b/tests/Clockwork.Runtime.Tests/Threading/ControlledTimerTests.cs @@ -1,16 +1,16 @@ -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Runtime.Tests.Threading; +namespace Orleans.Testing.Simulation.Runtime.Tests.Threading; public sealed class ControlledTimerTests { [Fact] public void PublicEntriesRequireActiveSimulation() { - Assert.Throws(() => new ControlledTimer(_ => { })); - Assert.Throws(() => _ = ControlledTimer.ActiveCount); + Assert.Throws(() => new ControlledTimer(_ => { })); + Assert.Throws(() => _ = ControlledTimer.ActiveCount); } [Fact] diff --git a/tests/Clockwork.Runtime.Tests/Threading/ControlledVolatileTests.cs b/tests/Clockwork.Runtime.Tests/Threading/ControlledVolatileTests.cs index edfe5b6b..a04f1c31 100644 --- a/tests/Clockwork.Runtime.Tests/Threading/ControlledVolatileTests.cs +++ b/tests/Clockwork.Runtime.Tests/Threading/ControlledVolatileTests.cs @@ -1,10 +1,10 @@ using System; using System.Threading; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Tests.Tasks; -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tests.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Runtime.Tests.Threading; +namespace Orleans.Testing.Simulation.Runtime.Tests.Threading; /// /// Tests for the controlled shims. Each shim delegates to the real diff --git a/tests/Clockwork.Runtime.Tests/UncontrolledInvocationGuardTests.cs b/tests/Clockwork.Runtime.Tests/UncontrolledInvocationGuardTests.cs index 30ea44f3..135e10ff 100644 --- a/tests/Clockwork.Runtime.Tests/UncontrolledInvocationGuardTests.cs +++ b/tests/Clockwork.Runtime.Tests/UncontrolledInvocationGuardTests.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Runtime.Tests; +namespace Orleans.Testing.Simulation.Runtime.Tests; /// /// Tests for the uncontrolled-invocation rejection shim. The instrumentation rule set diff --git a/tests/Clockwork.Testing.Tests/ClockworkProgressCommandLineOptionsProviderTests.cs b/tests/Clockwork.Testing.Tests/ClockworkProgressCommandLineOptionsProviderTests.cs index 2594b9e8..2d8f1faa 100644 --- a/tests/Clockwork.Testing.Tests/ClockworkProgressCommandLineOptionsProviderTests.cs +++ b/tests/Clockwork.Testing.Tests/ClockworkProgressCommandLineOptionsProviderTests.cs @@ -1,11 +1,11 @@ using System.Diagnostics.CodeAnalysis; -using Clockwork.Testing; +using Orleans.Testing.Simulation.Testing; using Microsoft.Testing.Platform.CommandLine; using Microsoft.Testing.Platform.Extensions; using Microsoft.Testing.Platform.Extensions.CommandLine; using Microsoft.Testing.Platform.Extensions.TestHostControllers; -namespace Clockwork.Testing.Tests; +namespace Orleans.Testing.Simulation.Testing.Tests; [Collection("Clockwork progress environment")] public sealed class ClockworkProgressCommandLineOptionsProviderTests diff --git a/tests/Clockwork.Testing.Tests/InMemoryLoggerProviderTests.cs b/tests/Clockwork.Testing.Tests/InMemoryLoggerProviderTests.cs index 1452f086..d5d5acae 100644 --- a/tests/Clockwork.Testing.Tests/InMemoryLoggerProviderTests.cs +++ b/tests/Clockwork.Testing.Tests/InMemoryLoggerProviderTests.cs @@ -1,9 +1,9 @@ using System.Reflection; using System.Text; -using Clockwork.Testing; +using Orleans.Testing.Simulation.Testing; using Microsoft.Extensions.Logging; -namespace Clockwork.Testing.Tests; +namespace Orleans.Testing.Simulation.Testing.Tests; public sealed class InMemoryLoggerProviderTests { @@ -349,23 +349,23 @@ public void LoggingTypesHaveExpectedAssemblyNamespaceAndVisibility() type => { Assert.Same(assembly, type.Assembly); - Assert.Equal("Clockwork.Testing", type.Namespace); + Assert.Equal("Orleans.Testing.Simulation.Testing", type.Namespace); Assert.True(type.IsPublic); Assert.Contains(type, assembly.ExportedTypes); }); Assert.True(typeof(LogEntry).IsValueType); Assert.True(typeof(ILoggerProvider).IsAssignableFrom(typeof(InMemoryLoggerProvider))); - Type? loggerType = assembly.GetType("Clockwork.Testing.InMemoryLogger"); + Type? loggerType = assembly.GetType("Orleans.Testing.Simulation.Testing.InMemoryLogger"); Assert.NotNull(loggerType); Assert.True(loggerType.IsNotPublic); Assert.DoesNotContain(loggerType, assembly.ExportedTypes); - Assembly runtimeAssembly = typeof(Clockwork.SimulationCluster).Assembly; - Assert.Null(runtimeAssembly.GetType("Clockwork.InMemoryLogBuffer")); - Assert.Null(runtimeAssembly.GetType("Clockwork.InMemoryLoggerProvider")); - Assert.Null(runtimeAssembly.GetType("Clockwork.InMemoryLogger")); - Assert.Null(runtimeAssembly.GetType("Clockwork.LogEntry")); + Assembly runtimeAssembly = typeof(Orleans.Testing.Simulation.SimulationCluster).Assembly; + Assert.Null(runtimeAssembly.GetType("Orleans.Testing.Simulation.InMemoryLogBuffer")); + Assert.Null(runtimeAssembly.GetType("Orleans.Testing.Simulation.InMemoryLoggerProvider")); + Assert.Null(runtimeAssembly.GetType("Orleans.Testing.Simulation.InMemoryLogger")); + Assert.Null(runtimeAssembly.GetType("Orleans.Testing.Simulation.LogEntry")); } [Fact] diff --git a/tests/Clockwork.Testing.Tests/ReplayTestFixtureTests.cs b/tests/Clockwork.Testing.Tests/ReplayTestFixtureTests.cs index ac72af33..81ec6081 100644 --- a/tests/Clockwork.Testing.Tests/ReplayTestFixtureTests.cs +++ b/tests/Clockwork.Testing.Tests/ReplayTestFixtureTests.cs @@ -1,10 +1,10 @@ using System.Globalization; -using Clockwork.Runtime.Exploration; -using Clockwork.Runtime.Replay; -using Clockwork.Runtime.Scheduling; -using Clockwork.Testing; +using Orleans.Testing.Simulation.Runtime.Exploration; +using Orleans.Testing.Simulation.Runtime.Replay; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Testing; -namespace Clockwork.Testing.Tests; +namespace Orleans.Testing.Simulation.Testing.Tests; [Collection("Replay test environment")] public sealed class ReplayTestFixtureTests : IDisposable @@ -158,7 +158,7 @@ public void ExplorationStopsAtFailureLimitAndRetainsOneReplayArtifactPerFailure( Assert.False(result.IsSuccessful); Assert.Equal(2, result.Exploration.Iterations.Count); Assert.Equal(2, result.Exploration.FailureCount); - Assert.Equal(Clockwork.Runtime.Exploration.ExplorationTerminationReason.FailureLimit, result.Exploration.TerminationReason); + Assert.Equal(Orleans.Testing.Simulation.Runtime.Exploration.ExplorationTerminationReason.FailureLimit, result.Exploration.TerminationReason); string path = Assert.Single(result.RetainedFailureArtifactPaths).Value; Assert.True(File.Exists(path)); Assert.Single(result.ArtifactPaths); diff --git a/tests/Clockwork.Testing.Tests/TestingScaffoldTests.cs b/tests/Clockwork.Testing.Tests/TestingScaffoldTests.cs index 9e89af99..9b72b85c 100644 --- a/tests/Clockwork.Testing.Tests/TestingScaffoldTests.cs +++ b/tests/Clockwork.Testing.Tests/TestingScaffoldTests.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Testing.Tests; +namespace Orleans.Testing.Simulation.Testing.Tests; public sealed class TestingScaffoldTests { diff --git a/tests/Clockwork.Tests/AdaptiveExecutionBudgetTests.cs b/tests/Clockwork.Tests/AdaptiveExecutionBudgetTests.cs index 60eade29..364e746f 100644 --- a/tests/Clockwork.Tests/AdaptiveExecutionBudgetTests.cs +++ b/tests/Clockwork.Tests/AdaptiveExecutionBudgetTests.cs @@ -1,6 +1,6 @@ using System.Globalization; -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; /// /// Covers construction validation, defaults, and formatting for . diff --git a/tests/Clockwork.Tests/ControlledAsyncHostWiringTests.cs b/tests/Clockwork.Tests/ControlledAsyncHostWiringTests.cs index 1bb80b41..f91c0d55 100644 --- a/tests/Clockwork.Tests/ControlledAsyncHostWiringTests.cs +++ b/tests/Clockwork.Tests/ControlledAsyncHostWiringTests.cs @@ -1,10 +1,10 @@ using System.Runtime.CompilerServices; using System.Threading.Tasks; -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Tasks; -using Clockwork.Shims.System.Runtime.CompilerServices; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; /// /// End-to-end host-wiring tests: a real carries a controlled diff --git a/tests/Clockwork.Tests/ControlledBclHostWiringTests.cs b/tests/Clockwork.Tests/ControlledBclHostWiringTests.cs index cf0fde57..a62d40c3 100644 --- a/tests/Clockwork.Tests/ControlledBclHostWiringTests.cs +++ b/tests/Clockwork.Tests/ControlledBclHostWiringTests.cs @@ -1,7 +1,7 @@ -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; /// /// diff --git a/tests/Clockwork.Tests/ControlledTimerIntegrationTests.cs b/tests/Clockwork.Tests/ControlledTimerIntegrationTests.cs index bea3bcd2..f40b2d46 100644 --- a/tests/Clockwork.Tests/ControlledTimerIntegrationTests.cs +++ b/tests/Clockwork.Tests/ControlledTimerIntegrationTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Threading; +using Orleans.Testing.Simulation.Runtime.Threading; -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; public sealed class ControlledTimerIntegrationTests { diff --git a/tests/Clockwork.Tests/GlobalUsings.Shims.cs b/tests/Clockwork.Tests/GlobalUsings.Shims.cs index 914e368f..ba5f223a 100644 --- a/tests/Clockwork.Tests/GlobalUsings.Shims.cs +++ b/tests/Clockwork.Tests/GlobalUsings.Shims.cs @@ -1,6 +1,6 @@ -global using Clockwork.Shims.System; -global using Clockwork.Shims.System.Diagnostics; -global using Clockwork.Shims.System.Runtime.CompilerServices; -global using Clockwork.Shims.System.Security.Cryptography; -global using Clockwork.Shims.System.Threading; -global using Clockwork.Shims.System.Threading.Tasks; +global using Orleans.Testing.Simulation.Shims.System; +global using Orleans.Testing.Simulation.Shims.System.Diagnostics; +global using Orleans.Testing.Simulation.Shims.System.Runtime.CompilerServices; +global using Orleans.Testing.Simulation.Shims.System.Security.Cryptography; +global using Orleans.Testing.Simulation.Shims.System.Threading; +global using Orleans.Testing.Simulation.Shims.System.Threading.Tasks; diff --git a/tests/Clockwork.Tests/SimulationAmbientContextIntegrationTests.cs b/tests/Clockwork.Tests/SimulationAmbientContextIntegrationTests.cs index 2f928945..4719323e 100644 --- a/tests/Clockwork.Tests/SimulationAmbientContextIntegrationTests.cs +++ b/tests/Clockwork.Tests/SimulationAmbientContextIntegrationTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Execution; -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; /// /// diff --git a/tests/Clockwork.Tests/SimulationBarrierTests.cs b/tests/Clockwork.Tests/SimulationBarrierTests.cs index d2786e2e..a6e629cd 100644 --- a/tests/Clockwork.Tests/SimulationBarrierTests.cs +++ b/tests/Clockwork.Tests/SimulationBarrierTests.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; /// /// Covers : cyclic N-participant rendezvous semantics, deterministic diff --git a/tests/Clockwork.Tests/SimulationClusterAdaptiveTests.cs b/tests/Clockwork.Tests/SimulationClusterAdaptiveTests.cs index 12f6b628..71953a3c 100644 --- a/tests/Clockwork.Tests/SimulationClusterAdaptiveTests.cs +++ b/tests/Clockwork.Tests/SimulationClusterAdaptiveTests.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; /// /// Covers the adaptive execution-budget overloads: escalation across successive diff --git a/tests/Clockwork.Tests/SimulationClusterConstructionTests.cs b/tests/Clockwork.Tests/SimulationClusterConstructionTests.cs index 6fb072b7..03c77a81 100644 --- a/tests/Clockwork.Tests/SimulationClusterConstructionTests.cs +++ b/tests/Clockwork.Tests/SimulationClusterConstructionTests.cs @@ -1,10 +1,10 @@ -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Random; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Scheduling.Resources; -using Clockwork.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling.Resources; +using Orleans.Testing.Simulation.Runtime.Shims; -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; public sealed class SimulationClusterConstructionTests { diff --git a/tests/Clockwork.Tests/SimulationClusterRunToCompletionTests.cs b/tests/Clockwork.Tests/SimulationClusterRunToCompletionTests.cs index ba4f908b..5a0fdaaf 100644 --- a/tests/Clockwork.Tests/SimulationClusterRunToCompletionTests.cs +++ b/tests/Clockwork.Tests/SimulationClusterRunToCompletionTests.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; public sealed class SimulationClusterRunToCompletionTests { diff --git a/tests/Clockwork.Tests/SimulationClusterSchedulerFairnessTests.cs b/tests/Clockwork.Tests/SimulationClusterSchedulerFairnessTests.cs index 04faf0b2..94edf0bd 100644 --- a/tests/Clockwork.Tests/SimulationClusterSchedulerFairnessTests.cs +++ b/tests/Clockwork.Tests/SimulationClusterSchedulerFairnessTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; public sealed class SimulationClusterSchedulerFairnessTests { diff --git a/tests/Clockwork.Tests/SimulationClusterTests.cs b/tests/Clockwork.Tests/SimulationClusterTests.cs index dcc06352..4aad94bd 100644 --- a/tests/Clockwork.Tests/SimulationClusterTests.cs +++ b/tests/Clockwork.Tests/SimulationClusterTests.cs @@ -1,10 +1,10 @@ -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Shims; -using Clockwork.Runtime.Tasks; -using Clockwork.Runtime.Threading; -using Clockwork.Shims.System; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Shims; +using Orleans.Testing.Simulation.Runtime.Tasks; +using Orleans.Testing.Simulation.Runtime.Threading; +using Orleans.Testing.Simulation.Shims.System; -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; public sealed class SimulationClusterTests { diff --git a/tests/Clockwork.Tests/SimulationClusterTraceSnapshotTests.cs b/tests/Clockwork.Tests/SimulationClusterTraceSnapshotTests.cs index 91a8e0c9..ae0f8eb1 100644 --- a/tests/Clockwork.Tests/SimulationClusterTraceSnapshotTests.cs +++ b/tests/Clockwork.Tests/SimulationClusterTraceSnapshotTests.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; /// /// Characterizes the cluster's execution results as a structured, replayable trace. diff --git a/tests/Clockwork.Tests/SimulationCompletionTests.cs b/tests/Clockwork.Tests/SimulationCompletionTests.cs index 009ee310..d2fb1f1e 100644 --- a/tests/Clockwork.Tests/SimulationCompletionTests.cs +++ b/tests/Clockwork.Tests/SimulationCompletionTests.cs @@ -1,12 +1,12 @@ using System.Reflection; using System.Runtime.CompilerServices; using System.Threading.Tasks.Sources; -using Clockwork.Shims.System.Threading.Tasks.Sources; -using Clockwork.Runtime; -using Clockwork.Runtime.Scheduling; -using Clockwork.Runtime.Tasks; +using Orleans.Testing.Simulation.Shims.System.Threading.Tasks.Sources; +using Orleans.Testing.Simulation.Runtime; +using Orleans.Testing.Simulation.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Tasks; -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; // Completions which Clockwork performs for simulation code run as on a thread-pool thread: a bare continuation of the // task they complete (a framework await with ConfigureAwait(false)) runs inline, on the simulation's logical thread, as diff --git a/tests/Clockwork.Tests/SimulationExecutionResultTests.cs b/tests/Clockwork.Tests/SimulationExecutionResultTests.cs index 4b5f0c9b..e2e369de 100644 --- a/tests/Clockwork.Tests/SimulationExecutionResultTests.cs +++ b/tests/Clockwork.Tests/SimulationExecutionResultTests.cs @@ -1,6 +1,6 @@ using System.Globalization; -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; /// /// Covers the structured execution outcome API ( and diff --git a/tests/Clockwork.Tests/SimulationGateTests.cs b/tests/Clockwork.Tests/SimulationGateTests.cs index d20066be..1f7e5dff 100644 --- a/tests/Clockwork.Tests/SimulationGateTests.cs +++ b/tests/Clockwork.Tests/SimulationGateTests.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; /// /// Covers : level-triggered open/close semantics, deterministic FIFO diff --git a/tests/Clockwork.Tests/SimulationLatchTests.cs b/tests/Clockwork.Tests/SimulationLatchTests.cs index 4ad58c81..a63ad954 100644 --- a/tests/Clockwork.Tests/SimulationLatchTests.cs +++ b/tests/Clockwork.Tests/SimulationLatchTests.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; /// /// Covers : one-shot countdown semantics, deterministic FIFO release diff --git a/tests/Clockwork.Tests/SimulationNetworkTests.cs b/tests/Clockwork.Tests/SimulationNetworkTests.cs index 50b7a9da..d55b52c6 100644 --- a/tests/Clockwork.Tests/SimulationNetworkTests.cs +++ b/tests/Clockwork.Tests/SimulationNetworkTests.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; public sealed class SimulationNetworkTests { diff --git a/tests/Clockwork.Tests/SimulationNodeContextTests.cs b/tests/Clockwork.Tests/SimulationNodeContextTests.cs index ba8e9e8c..f520bd30 100644 --- a/tests/Clockwork.Tests/SimulationNodeContextTests.cs +++ b/tests/Clockwork.Tests/SimulationNodeContextTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; public sealed class SimulationNodeContextTests { diff --git a/tests/Clockwork.Tests/SimulationProgressReporterTests.cs b/tests/Clockwork.Tests/SimulationProgressReporterTests.cs index 3d22e76a..5e838f82 100644 --- a/tests/Clockwork.Tests/SimulationProgressReporterTests.cs +++ b/tests/Clockwork.Tests/SimulationProgressReporterTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Execution; -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; public sealed class SimulationProgressReporterTests { diff --git a/tests/Clockwork.Tests/SimulationRandomTests.cs b/tests/Clockwork.Tests/SimulationRandomTests.cs index 524c5596..6bca7d7c 100644 --- a/tests/Clockwork.Tests/SimulationRandomTests.cs +++ b/tests/Clockwork.Tests/SimulationRandomTests.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; public sealed class SimulationRandomTests { diff --git a/tests/Clockwork.Tests/SimulationSchedulerTests.cs b/tests/Clockwork.Tests/SimulationSchedulerTests.cs index 318ebf06..19b44096 100644 --- a/tests/Clockwork.Tests/SimulationSchedulerTests.cs +++ b/tests/Clockwork.Tests/SimulationSchedulerTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; public sealed class SimulationSchedulerTests { diff --git a/tests/Clockwork.Tests/SimulationSeedTests.cs b/tests/Clockwork.Tests/SimulationSeedTests.cs index fca586d6..882918c2 100644 --- a/tests/Clockwork.Tests/SimulationSeedTests.cs +++ b/tests/Clockwork.Tests/SimulationSeedTests.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; /// /// Covers : deterministic derivation of seeds from diff --git a/tests/Clockwork.Tests/SimulationSynchronizationContextTests.cs b/tests/Clockwork.Tests/SimulationSynchronizationContextTests.cs index ec795ebc..38f7b345 100644 --- a/tests/Clockwork.Tests/SimulationSynchronizationContextTests.cs +++ b/tests/Clockwork.Tests/SimulationSynchronizationContextTests.cs @@ -1,4 +1,4 @@ -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; public sealed class SimulationSynchronizationContextTests { diff --git a/tests/Clockwork.Tests/SimulationTestHarness.cs b/tests/Clockwork.Tests/SimulationTestHarness.cs index 65a776d9..df771588 100644 --- a/tests/Clockwork.Tests/SimulationTestHarness.cs +++ b/tests/Clockwork.Tests/SimulationTestHarness.cs @@ -1,8 +1,8 @@ -using Clockwork.Runtime.Execution; -using Clockwork.Runtime.Random; -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Execution; +using Orleans.Testing.Simulation.Runtime.Random; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; internal static class SimulationTestHarness { diff --git a/tests/Clockwork.Tests/SimulationTimeProviderTests.cs b/tests/Clockwork.Tests/SimulationTimeProviderTests.cs index 1d511e22..b5ffa94c 100644 --- a/tests/Clockwork.Tests/SimulationTimeProviderTests.cs +++ b/tests/Clockwork.Tests/SimulationTimeProviderTests.cs @@ -1,6 +1,6 @@ -using Clockwork.Runtime.Scheduling; +using Orleans.Testing.Simulation.Runtime.Scheduling; -namespace Clockwork.Tests; +namespace Orleans.Testing.Simulation.Tests; public sealed class SimulationTimeProviderTests {