39 references to WithDeterministic
Microsoft.CodeAnalysis.CSharp (1)
CSharpCompilationOptions.cs (1)
625protected override CompilationOptions CommonWithDeterministic(bool deterministic) => WithDeterministic(deterministic);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (30)
Emit\CompilationEmitTests.cs (20)
1205CSharpCompilation comp1 = CreateCompilation(Parse(source1), options: TestOptions.DebugDll.WithDeterministic(true), assemblyName: name); 1209Compilation comp2 = CreateCompilation(Parse(source2), options: TestOptions.DebugDll.WithDeterministic(true), assemblyName: name); 1310options: TestOptions.DebugDll.WithDeterministic(true).WithOutputKind(OutputKind.NetModule)); 1888options: TestOptions.DebugDll.WithDeterministic(true), assemblyName: name); 1904var options = TestOptions.DebugDll.WithDeterministic(false); 2035WithDeterministic(true); 2096options: TestOptions.DebugDll.WithDeterministic(true), assemblyName: name); 2125options: TestOptions.DebugDll.WithDeterministic(true)); 2263options: TestOptions.DebugDll.WithDeterministic(true)); 2330options: TestOptions.DebugDll.WithDeterministic(true)); 2397options: TestOptions.DebugDll.WithDeterministic(true)); 2457options: TestOptions.DebugDll.WithDeterministic(true)); 2502options: TestOptions.DebugDll.WithDeterministic(true)); 2524options: TestOptions.DebugDll.WithDeterministic(true)); 2538options: TestOptions.DebugDll.WithDeterministic(true)); 2552options: TestOptions.DebugDll.WithDeterministic(true)); 2567options: TestOptions.DebugDll.WithDeterministic(true)); 2580options: TestOptions.DebugDll.WithDeterministic(true).WithOutputKind(OutputKind.NetModule)); 2594options: TestOptions.DebugDll.WithDeterministic(true).WithOutputKind(OutputKind.NetModule)); 2653options: TestOptions.DebugDll.WithDeterministic(true));
Emit\DeterministicTests.cs (6)
39options: options.WithDeterministic(true).WithPlatform(platform)); 53var options = (optimize ? TestOptions.ReleaseExe : TestOptions.DebugExe).WithPlatform(platform).WithDeterministic(true); 77options: TestOptions.DebugDll.WithDeterministic(true)); 82options: TestOptions.DebugDll.WithDeterministic(false)); 268TestOptions.DebugExe.WithDeterministic(true)); 476.WithDeterministic(true)
Emit\DynamicAnalysis\DynamicInstrumentationTests.cs (2)
3646options: (options ?? TestOptions.ReleaseExe).WithDeterministic(true), 3661var compilation = CreateCompilation(trees.ToArray(), options: (options ?? TestOptions.ReleaseExe).WithDeterministic(true));
Emit\EmitMetadataTests.cs (2)
2234options: TestOptions.ReleaseDll.WithDeterministic(true), 2423options: TestOptions.DebugExe.WithPlatform(Platform.X64).WithDeterministic(true),
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
PDB\PDBTests.cs (1)
314var compilation = CreateCompilation(source0, options: TestOptions.DebugDll.WithDeterministic(true));
PDB\PortablePdbTests.cs (1)
226var c = CreateCompilation(Parse(source, "goo.cs"), options: TestOptions.DebugDll.WithDeterministic(true));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Attributes\AttributeTests.cs (1)
40var comp = CreateCompilation(source, options: TestOptions.DebugDll.WithDeterministic(true));
Attributes\AttributeTests_Assembly.cs (2)
118var comp = CreateCompilation(s, options: TestOptions.ReleaseDll.WithDeterministic(true)); 131var comp = CreateCompilation(s, options: TestOptions.ReleaseDll.WithDeterministic(true));
Attributes\InternalsVisibleToAndStrongNameTests.cs (1)
1735.WithDeterministic(true)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\Source\FileModifierTests.cs (1)
834var options = TestOptions.DebugDll.WithDeterministic(true);
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
OptionRoundTripTests.cs (1)
27public static readonly CSharpCompilationOptions BaseCSharpCompilationOptions = TestOptions.DebugExe.WithDeterministic(true);