26 references to WithDisableLengthBasedSwitch
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (7)
CodeGen\SwitchTests.cs (7)
2900
parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
(), expectedOutput: "True");
3349
parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
(), expectedOutput: "PASS");
4032
var compVerifier = CompileAndVerify(text, expectedOutput: "1", parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
());
7161
var compVerifier = CompileAndVerify(text, parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
(), expectedOutput: "3");
7852
var comp = CreateCompilation(text, parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
(),
8092
var comp = CreateCompilation(text, parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
(),
8223
comp = CreateCompilation(text, parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
());
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (19)
CodeGen\CodeGenLengthBasedSwitchTests.cs (15)
267
comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
());
776
comp = CreateCompilationWithSpanAndMemoryExtensions(source, parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
());
1214
comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
());
1537
comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
());
2172
comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
());
2606
comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
());
7503
comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
());
8926
comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
());
9323
comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
());
10084
comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
());
11385
comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
());
12389
comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
());
12850
comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
());
13327
comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
());
13762
comp = CreateCompilation(source, parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
());
Semantics\PatternMatchingTests.cs (4)
7668
parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
());
7985
parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
());
9265
parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
());
9583
parseOptions: TestOptions.RegularPreview.
WithDisableLengthBasedSwitch
());