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