842 references to ExecutionConditionUtil
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (4)
CommandLineTestBase.cs (1)
38
if (
ExecutionConditionUtil
.IsCoreClr)
CommandLineTests.cs (3)
54
private static readonly string s_DotnetCscRun =
ExecutionConditionUtil
.IsMonoDesktop ? "mono" : string.Empty;
9821
if (
ExecutionConditionUtil
.OperatingSystemRestrictsFileNames)
12389
private static readonly string s_rootPath =
ExecutionConditionUtil
.IsWindows
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (74)
CodeGen\CodeGenAsyncIteratorTests.cs (15)
37
return
ExecutionConditionUtil
.IsMonoOrCoreClr ? output : null;
8856
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "first True second" : null,
8857
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
9054
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "first True second" : null,
9055
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
9095
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "424243" : null,
9096
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
9140
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "424243" : null,
9141
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
9181
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "first True second" : null,
9182
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
9377
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "first True second" : null,
9378
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
9423
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "42False43" : null,
9424
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
CodeGen\CodeGenAsyncMainTests.cs (1)
731
if (
ExecutionConditionUtil
.IsWindows)
CodeGen\CodeGenAsyncTests.cs (1)
23
return
ExecutionConditionUtil
.IsMonoOrCoreClr ? output : null;
CodeGen\CodeGenAwaitForeachTests.cs (2)
9483
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "D" : null,
9484
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
CodeGen\CodeGenAwaitUsingTests.cs (4)
3722
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "123D" : null,
3723
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
3751
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "ran" : null,
3752
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
CodeGen\CodeGenDisplayClassOptimisationTests.cs (1)
20
if (
ExecutionConditionUtil
.IsDesktop)
CodeGen\CodeGenDynamicTests.cs (1)
16414
if (
ExecutionConditionUtil
.IsCoreClr)
CodeGen\CodeGenForEachTests.cs (5)
5368
expectedOutput:
ExecutionConditionUtil
.IsDesktop ? null : "111").VerifyDiagnostics();
5408
expectedOutput:
ExecutionConditionUtil
.IsDesktop ? null : "222").VerifyDiagnostics();
5454
expectedOutput:
ExecutionConditionUtil
.IsDesktop ? null : "111").VerifyDiagnostics();
5535
expectedOutput:
ExecutionConditionUtil
.IsDesktop ? null : "111").VerifyDiagnostics();
5593
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "42" : null, verify: Verification.Skipped)
CodeGen\CodeGenFunctionPointersTests.cs (8)
2490
", expectedOutput:
ExecutionConditionUtil
.IsCoreClr ? "System.Void()" : "System.IntPtr");
11673
var verifier = CompileAndVerify(source, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "True" : null, options: TestOptions.UnsafeDebugExe, symbolValidator: static module =>
11736
var verifier = CompileAndVerify(source, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "True" : null, options: TestOptions.UnsafeDebugExe, symbolValidator: static module =>
11799
var verifier = CompileAndVerify(source, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "True" : null, options: TestOptions.UnsafeDebugExe, symbolValidator: static module =>
12133
var verifier = CompileAndVerify(source, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "True" : null, options: TestOptions.UnsafeDebugExe, symbolValidator: static module =>
12276
var verifier = CompileAndVerify(source, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "True" : null, options: TestOptions.UnsafeDebugExe, symbolValidator: static module =>
12315
var verifier = CompileAndVerify(source, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "True" : null, options: TestOptions.UnsafeDebugExe, symbolValidator: static module =>
12357
var expectedOutput =
ExecutionConditionUtil
.IsMonoOrCoreClr ? (initializer == "()" ? "0" : "null") : null;
CodeGen\CodeGenOverridingAndHiding.cs (2)
1217
else if (
ExecutionConditionUtil
.IsCoreClr ||
ExecutionConditionUtil
.IsDesktop)
CodeGen\CodeGenRefConditionalOperatorTests.cs (6)
2383
CompileAndVerify(source, targetFramework: TargetFramework.NetCoreApp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? expectedOutput : null, options: TestOptions.ReleaseExe, verify: Verification.FailsPEVerify);
2384
CompileAndVerify(source, targetFramework: TargetFramework.NetCoreApp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? expectedOutput : null, options: TestOptions.DebugExe, verify: Verification.FailsPEVerify);
2422
CompileAndVerify(source, targetFramework: TargetFramework.NetCoreApp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? expectedOutput : null, options: TestOptions.ReleaseExe, verify: Verification.FailsPEVerify);
2423
CompileAndVerify(source, targetFramework: TargetFramework.NetCoreApp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? expectedOutput : null, options: TestOptions.DebugExe, verify: Verification.FailsPEVerify);
2473
CompileAndVerify(source, targetFramework: TargetFramework.NetCoreApp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? expectedOutput : null, options: TestOptions.ReleaseExe, verify: Verification.FailsPEVerify);
2474
CompileAndVerify(source, targetFramework: TargetFramework.NetCoreApp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? expectedOutput : null, options: TestOptions.DebugExe, verify: Verification.FailsPEVerify);
CodeGen\CodeGenRefLocalTests.cs (5)
3486
var verifier = CompileAndVerify(source, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "22" : null,
3526
var verifier = CompileAndVerify(source, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "32" : null,
3563
var verifier = CompileAndVerify(source, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "2" : null,
3611
var verifier = CompileAndVerify(source, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? expectedOutput : null,
3664
var verifier = CompileAndVerify(source, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? expectedOutput : null,
CodeGen\CodeGenStackAllocInitializerTests.cs (16)
913
var verifier = CompileAndVerify(source, expectedOutput:
ExecutionConditionUtil
.IsCoreClr ? "" : null,
950
var expectedOutput =
ExecutionConditionUtil
.IsCoreClr ? "123" : null;
1004
var verifier = CompileAndVerify(source, expectedOutput:
ExecutionConditionUtil
.IsCoreClr ? "" : null,
1106
var expectedOutput =
ExecutionConditionUtil
.IsCoreClr ? "123" : null;
1161
var verifier = CompileAndVerify(source, expectedOutput:
ExecutionConditionUtil
.IsCoreClr ? "123" : null,
1205
var expectedOutput =
ExecutionConditionUtil
.IsCoreClr ? "123" : null;
1262
var expectedOutput =
ExecutionConditionUtil
.IsCoreClr ? "1 2.9 3.8" : null;
1317
var expectedOutput =
ExecutionConditionUtil
.IsCoreClr ? "XYZ" : null;
1371
var verifier = CompileAndVerify(source, expectedOutput:
ExecutionConditionUtil
.IsCoreClr ? "12" : null,
1418
var verifier = CompileAndVerify(source, expectedOutput:
ExecutionConditionUtil
.IsCoreClr ? "" : null,
1456
var verifier = CompileAndVerify(source, expectedOutput:
ExecutionConditionUtil
.IsCoreClr ? "" : null,
1497
var verifier = CompileAndVerify(source, expectedOutput:
ExecutionConditionUtil
.IsCoreClr ? output : null,
1523
CompileAndVerify(source, expectedOutput:
ExecutionConditionUtil
.IsCoreClr ? output : null,
1528
verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsCoreClr ? output : null, verify: Verification.Fails);
1579
var verifier = CompileAndVerify(source, expectedOutput:
ExecutionConditionUtil
.IsCoreClr ? "123" : null,
1635
var expectedOutput =
ExecutionConditionUtil
.IsCoreClr ? "1234" : null;
CodeGen\CodeGenTests.cs (2)
10715
if (
ExecutionConditionUtil
.IsCoreClr)
10730
else if (
ExecutionConditionUtil
.IsDesktop)
CodeGen\CodeGenTupleTest.cs (1)
27343
if (
ExecutionConditionUtil
.IsCoreClr)
CodeGen\CodeGenUsingStatementTests.cs (3)
3170
expectedOutput:
ExecutionConditionUtil
.IsDesktop ? null : "1").VerifyDiagnostics();
3202
expectedOutput:
ExecutionConditionUtil
.IsDesktop ? null : "2").VerifyDiagnostics();
3240
expectedOutput:
ExecutionConditionUtil
.IsDesktop ? null : "1").VerifyDiagnostics();
Emit\CovariantReturnTests.cs (1)
433
var expectedOutput = !
ExecutionConditionUtil
.RuntimeSupportsCovariantReturnsOfClasses ? null : @"
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (3)
CodeGen\CodeGenSpanBasedStringConcatTests.cs (1)
5486
var verifier = CompileAndVerify(compilation: comp, expectedOutput: RuntimeUtilities.IsCoreClr8OrHigherRuntime ? "scsssssssc" : null, verify:
ExecutionConditionUtil
.IsCoreClr ? default : Verification.Skipped);
Emit\NumericIntPtrTests.cs (2)
30
private static string IncludeExpectedOutput(string expectedOutput) =>
ExecutionConditionUtil
.IsMonoOrCoreClr ? expectedOutput : null;
2353
if (!
ExecutionConditionUtil
.IsWindowsDesktop)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (288)
Attributes\AttributeTests_CallerInfoAttributes.cs (1)
4275
var expectedStarPath =
ExecutionConditionUtil
.IsCoreClr
Attributes\AttributeTests_Synthesized.cs (1)
798
verify:
ExecutionConditionUtil
.IsCoreClr ? Verification.Passes : Verification.Fails);
Attributes\InternalsVisibleToAndStrongNameTests.cs (1)
36
if (
ExecutionConditionUtil
.IsWindows)
FieldKeywordTests.cs (1)
22
private static string IncludeExpectedOutput(string expectedOutput) =>
ExecutionConditionUtil
.IsMonoOrCoreClr ? expectedOutput : null;
FirstClassSpanTests.cs (7)
364
var expectedOutput =
ExecutionConditionUtil
.IsCoreClr ? "ArrayTypeMismatchException" : "2";
513
var expectedOutput =
ExecutionConditionUtil
.IsCoreClr ? "ArrayTypeMismatchException" : "2";
1026
var owner =
ExecutionConditionUtil
.IsCoreClr ? "string" : "System.ReadOnlySpan<char>";
1926
if (
ExecutionConditionUtil
.IsCoreClr)
5363
if (
ExecutionConditionUtil
.IsCoreClr)
7304
var owner =
ExecutionConditionUtil
.IsCoreClr ? "string" : "System.ReadOnlySpan<char>";
7999
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsCoreClr ? "1123" : "1121").VerifyDiagnostics();
RefStructInterfacesTests.cs (231)
38
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr || !isVirtual ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
151
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr || !isVirtual ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
398
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr || !isVirtual ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
4368
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
4370
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
4424
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
5758
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
5786
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
5819
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
5986
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"S1.M1 S1.M1" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
6067
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"S1.M1 y - S1.M2 z - S1.M1 y - S1.M2 z" : null,
6068
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
6598
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
6599
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
6734
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D456D" : null,
6735
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
6851
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
6852
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
6972
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
6973
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
7111
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
7112
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
7434
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
7624
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
7842
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123456" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
8039
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
8232
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
8507
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics(
8892
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
8893
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
9096
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
9097
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
9459
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
9460
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
9671
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
9672
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
9895
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
9896
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
10107
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
10108
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
10503
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
10504
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
10700
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
10701
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
10939
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D456D" : null,
10940
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
11155
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
11156
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
11382
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
11383
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
11942
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
11943
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
11990
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null,
11991
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
12026
comp1, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
12027
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
12293
comp1, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D456D" : null,
12294
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
12539
comp1, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
12540
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
12798
comp1, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
12799
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
13068
comp1, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
13069
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
13327
comp1, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
13328
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
13668
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "123D" : null,
13669
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
13968
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
14309
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
14670
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123456" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
15021
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
15369
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
15799
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics(
16334
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
17613
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
17810
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
18032
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123456" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
18235
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
18436
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
18716
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics(
19099
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null,
19100
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
19270
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null,
19271
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
19595
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null,
19596
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
19780
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
19781
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
20038
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"Called" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
20051
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"Called" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
20083
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"Called" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
20094
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"Called" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
20192
CompileAndVerify(comp, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : @"
20202
Called System.Int64", verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
20295
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"Called" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
20308
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"Called" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
20340
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"Called" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
20351
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"Called" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
20404
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "Done" : null,
20405
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
20451
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "Done" : null,
20452
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
20496
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "Done" : null,
20497
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
20541
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "Done" : null,
20542
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
21257
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
21505
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
21642
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
21703
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
21835
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "S False Program True" : null,
21836
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
21971
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
22476
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"<>A`2[S1,S2] Test1 S1" : null,
22477
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
22532
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"<>F`2[S1,S2] Test1 S1" : null,
22533
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr && !s2IsRefStruct ? Verification.Passes : Verification.Skipped,
22587
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"System.Action`2[S1,S2] Test1 S1" : null,
22588
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
22635
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"System.Func`2[S1,S2] Test1 S1" : null,
22636
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr && !s2IsRefStruct ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
22679
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"<>f__AnonymousDelegate0`1[S1] Test1 S1" : null,
22680
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
22728
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"<>f__AnonymousDelegate0`1[S1] Test1 S1" : null,
22729
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
22780
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"<>f__AnonymousDelegate0 Test1" : null,
22781
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped
22826
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"<>f__AnonymousDelegate0 Test1" : null,
22844
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`1[System.Int32]" : null);
22868
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`2[System.String,System.Int32]" : null);
22896
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0" : null);
22926
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`1[System.String]" : null);
22957
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`1[System.String]" : null);
22988
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`1[System.String]" : null);
23019
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`1[System.String]" : null);
23051
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`1[System.String]" : null);
23082
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`1[System.Int16]" : null);
23113
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`1[System.Int16]" : null);
23137
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0" : null);
23167
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`1[System.Int16]" : null);
23198
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`1[System.Int16]" : null);
23222
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>A{00000001}`2[System.Int16,System.Int32[]]" : null);
23621
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "_M1" : null,
23622
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
23674
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "123" : null,
23675
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
23736
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "123" : null,
23737
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
24033
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "214" : null,
24034
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
24136
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "4" : null,
24137
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
24194
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "112" : null,
24195
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
24269
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "113" : null,
24270
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
24368
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "4" : null,
24369
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
24531
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
24538
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
24650
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "4" : null,
24651
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
24793
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "2124" : null,
24794
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
24885
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "21" : null,
24886
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
25029
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "112" : null,
25030
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
25113
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "113" : null,
25114
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
25327
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
25334
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
25577
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "242" : null,
25578
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
27182
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "False False True True True True False False False False True True" : null,
27183
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
27292
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "False True True False False True" : null,
27293
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
27526
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "False False True True True True False False False False True True" : null,
27527
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
27711
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "False False True True True True False False False False True True" : null,
27712
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
27821
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "False True True False False True" : null,
27822
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
27953
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "False False True True True True False False False False True True" : null,
27954
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
28087
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "0 1 0 1 0 1" : null,
28088
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
28262
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "123" : null,
28263
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
28320
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "123" : null,
28321
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
28389
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "0 0 123" : null,
28390
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
28497
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "123 246 369" : null,
28498
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
28557
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "123" : null,
28558
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
28632
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "0 0 123" : null,
28633
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
28888
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "123 246" : null,
28889
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
RefUnsafeInIteratorAndAsyncTests.cs (1)
15
=>
ExecutionConditionUtil
.IsDesktop ? null : expectedOutput;
Semantics\CollectionExpressionTests.cs (5)
32
private static string IncludeExpectedOutput(string expectedOutput) =>
ExecutionConditionUtil
.IsMonoOrCoreClr ? expectedOutput : null;
30082
var comp = CreateCompilation(new[] { sourceA, s_collectionExtensions }, targetFramework: TargetFramework.Net80, options:
ExecutionConditionUtil
.IsMonoOrCoreClr ? TestOptions.DebugExe : TestOptions.DebugDll);
42722
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
42802
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
42890
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
Semantics\InlineArrayTests.cs (5)
60
return
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped;
2154
CompileAndVerify(comp1, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics(
2280
CompileAndVerify(comp1, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics(
17043
var expectedOutput =
ExecutionConditionUtil
.IsCoreClr ? "110" : null;
23342
var verifier = CompileAndVerify(src, expectedOutput:
ExecutionConditionUtil
.IsDesktop ? null : "042",
Semantics\LockTests.cs (2)
133
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "123" : null,
1365
CompileAndVerify(source, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "ELD" : null,
Semantics\ParamsCollectionTests.cs (20)
63
return
ExecutionConditionUtil
.IsMonoOrCoreClr ? output : null;
101
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
281
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
387
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
413
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
594
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
1068
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
1266
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
2606
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
3018
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
4406
CompileAndVerify(comp2, expectedOutput: ExpectedOutput("span"), verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
4409
CompileAndVerify(comp2, expectedOutput: ExpectedOutput("span"), verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
4412
CompileAndVerify(comp2, expectedOutput: ExpectedOutput("array"), verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
4463
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
4525
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
4678
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
5677
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
12527
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
13582
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
13683
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
Semantics\PrimaryConstructorTests.cs (3)
9119
".Replace("[mscorlib]",
ExecutionConditionUtil
.IsDesktop ? "[mscorlib]" : "[netstandard]"));
9310
".Replace("[netstandard]",
ExecutionConditionUtil
.IsDesktop ? "[mscorlib]" : "[netstandard]"));
16042
".Replace("[mscorlib]",
ExecutionConditionUtil
.IsDesktop ? "[mscorlib]" : "[netstandard]"));
Semantics\RecordTests.cs (10)
12596
var verifierA = CompileAndVerify(compA, verify:
ExecutionConditionUtil
.IsCoreClr ? Verification.Skipped : Verification.Fails).VerifyDiagnostics();
12636
var verifierB = CompileAndVerify(compB, expectedOutput: "(1, 2, 3, 4) (1, 2, 3, 4) (10, 2, 30, 4)", verify:
ExecutionConditionUtil
.IsCoreClr ? Verification.Skipped : Verification.Fails).VerifyDiagnostics();
12688
var verifier = CompileAndVerify(comp, expectedOutput: "(1, 2, 3, 4) (10, 20, 30, 40)", verify:
ExecutionConditionUtil
.IsCoreClr ? Verification.Skipped : Verification.Fails).VerifyDiagnostics();
12745
var verifier = CompileAndVerify(comp, verify:
ExecutionConditionUtil
.IsCoreClr ? Verification.Skipped : Verification.Fails).VerifyDiagnostics();
12777
var verifier = CompileAndVerify(comp, verify:
ExecutionConditionUtil
.IsCoreClr ? Verification.Skipped : Verification.Fails).VerifyDiagnostics(
13005
var verifier = CompileAndVerify(comp, expectedOutput: "RAN", verify:
ExecutionConditionUtil
.IsCoreClr ? Verification.Skipped : Verification.Fails).VerifyDiagnostics();
13060
var verifier = CompileAndVerify(comp, expectedOutput: "1 RAN 2", verify:
ExecutionConditionUtil
.IsCoreClr ? Verification.Skipped : Verification.Fails).VerifyDiagnostics();
13182
var verifier = CompileAndVerify(comp, expectedOutput: "(1, 2, 42) RAN (10, 20, 42)", verify:
ExecutionConditionUtil
.IsCoreClr ? Verification.Skipped : Verification.Fails).VerifyDiagnostics();
13222
var verifier = CompileAndVerify(comp, expectedOutput: "(1, 2, 42) (10, 20, 42)", verify:
ExecutionConditionUtil
.IsCoreClr ? Verification.Skipped : Verification.Fails).VerifyDiagnostics();
13502
var verifier = CompileAndVerify(comp, expectedOutput: "(1, 2, 3, 4, 100, 200)", verify:
ExecutionConditionUtil
.IsCoreClr ? Verification.Skipped : Verification.Fails).VerifyDiagnostics();
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (11)
EndToEndTests.cs (11)
123
int numberFluentCalls = (IntPtr.Size,
ExecutionConditionUtil
.Configuration) switch
129
_ => throw new Exception($"Unexpected configuration {IntPtr.Size * 8}-bit {
ExecutionConditionUtil
.Configuration}")
180
int numberFluentCalls = (IntPtr.Size,
ExecutionConditionUtil
.Configuration, RuntimeUtilities.IsDesktopRuntime, RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) switch
189
_ => throw new Exception($"Unexpected configuration {IntPtr.Size * 8}-bit {
ExecutionConditionUtil
.Configuration}, Desktop: {RuntimeUtilities.IsDesktopRuntime}")
219
throw new Exception($"Depth: {i}, Bytes: {IntPtr.Size}, Config: {
ExecutionConditionUtil
.Configuration}, Desktop: {RuntimeUtilities.IsDesktopRuntime}", e);
261
int nestingLevel = (IntPtr.Size,
ExecutionConditionUtil
.Configuration) switch
268
_ => throw new Exception($"Unexpected configuration {IntPtr.Size * 8}-bit {
ExecutionConditionUtil
.Configuration}")
413
int nestingLevel = (IntPtr.Size,
ExecutionConditionUtil
.Configuration) switch
419
_ => throw new Exception($"Unexpected configuration {IntPtr.Size * 8}-bit {
ExecutionConditionUtil
.Configuration}")
548
int n = (IntPtr.Size,
ExecutionConditionUtil
.Configuration) switch
554
_ => throw new Exception($"Unexpected configuration {IntPtr.Size * 8}-bit {
ExecutionConditionUtil
.Configuration}")
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (35)
Semantics\DelegateTypeTests.cs (7)
60
private static readonly string s_expressionOfTDelegate0ArgTypeName =
ExecutionConditionUtil
.IsDesktop ?
63
private static readonly string s_expressionOfTDelegate1ArgTypeName =
ExecutionConditionUtil
.IsDesktop ?
66
private static readonly string s_libPrefix =
ExecutionConditionUtil
.IsDesktop ? "mscorlib" : "netstandard";
67
private static readonly string s_corePrefix =
ExecutionConditionUtil
.IsDesktop ? "System.Core" : "netstandard";
11842
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsCoreClr
16468
verify:
ExecutionConditionUtil
.IsCoreClr ? Verification.Passes : Verification.Skipped,
16469
expectedOutput:
ExecutionConditionUtil
.IsCoreClr ? "callerArgExpression" : null);
Semantics\FunctionPointerTests.cs (3)
2698
", options: TestOptions.UnsafeReleaseExe, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped);
2723
", options: TestOptions.UnsafeReleaseExe, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped);
2946
", expectedOutput: "11", options: TestOptions.UnsafeReleaseExe, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.FailsILVerify : Verification.Skipped);
Semantics\InterpolationTests.cs (3)
4627
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? expectedOutput : null,
4628
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped);
9745
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.FailsILVerify : Verification.Skipped);
Semantics\NativeIntegerTests.cs (1)
6491
if (!
ExecutionConditionUtil
.IsWindowsDesktop)
Semantics\NullableReferenceTypesTests.cs (5)
138543
verify:
ExecutionConditionUtil
.IsDesktop ? Verification.Skipped : Verification.Passes,
138581
verify:
ExecutionConditionUtil
.IsDesktop ? Verification.Skipped : Verification.Passes,
138612
verify:
ExecutionConditionUtil
.IsDesktop ? Verification.Skipped : Verification.Passes,
138646
verify:
ExecutionConditionUtil
.IsDesktop ? Verification.Skipped : Verification.Passes,
138691
verify:
ExecutionConditionUtil
.IsDesktop ? Verification.Skipped : Verification.Passes,
Semantics\QueryTests.cs (3)
4601
expectedOutput:
ExecutionConditionUtil
.IsDesktop ? null : "111").VerifyDiagnostics();
4645
expectedOutput:
ExecutionConditionUtil
.IsDesktop ? null : "222").VerifyDiagnostics();
4695
expectedOutput:
ExecutionConditionUtil
.IsDesktop ? null : "111").VerifyDiagnostics();
Semantics\RawInterpolationTests_Handler.cs (3)
2928
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? expectedOutput : null,
2929
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped);
7958
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.FailsILVerify : Verification.Skipped);
Semantics\RefFieldTests.cs (1)
23
internal static string IncludeExpectedOutput(string expectedOutput) =>
ExecutionConditionUtil
.IsMonoOrCoreClr ? expectedOutput : null;
Semantics\RefLocalsAndReturnsTests.cs (2)
3296
var expectedOutput =
ExecutionConditionUtil
.IsDesktop ? null : "56";
3459
var expectedOutput =
ExecutionConditionUtil
.IsDesktop ? null : "55";
Semantics\StructConstructorTests.cs (1)
55
bool secondCall =
ExecutionConditionUtil
.IsCoreClr; // .NET Framework ignores constructor in second call to Activator.CreateInstance<T>().
Semantics\TopLevelStatementsTests.cs (4)
7630
if (
ExecutionConditionUtil
.IsWindows)
7677
if (
ExecutionConditionUtil
.IsWindows)
7724
if (
ExecutionConditionUtil
.IsWindows)
7793
if (
ExecutionConditionUtil
.IsWindows)
Semantics\Utf8StringsLiteralsTests.cs (2)
3351
string blobId =
ExecutionConditionUtil
.IsWindows ?
3397
string blobId =
ExecutionConditionUtil
.IsWindows ?
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (243)
Symbols\CheckedUserDefinedOperatorsTests.cs (3)
5771
ExecutionConditionUtil
.IsDesktop ?
6039
ExecutionConditionUtil
.IsDesktop ?
6155
ExecutionConditionUtil
.IsDesktop ?
Symbols\CorLibrary\CorTypes.cs (4)
624
(
ExecutionConditionUtil
.IsMonoOrCoreClr ? ", Action" : "") +
670
(
ExecutionConditionUtil
.IsMonoOrCoreClr ? ", Action" : "") +
859
(
ExecutionConditionUtil
.IsMonoOrCoreClr ? ", Action" : "") +
1053
(
ExecutionConditionUtil
.IsMonoOrCoreClr ? ", Action" : "") +
Symbols\DefaultInterfaceImplementationTests.cs (220)
48
return
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped;
60
return
ExecutionConditionUtil
.IsMonoOrCoreClr;
67
return
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.FailsILVerify : Verification.Skipped;
73
return !isStatic &&
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.FailsILVerify : Verification.Skipped;
2286
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
2355
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
2428
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
2501
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
5392
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
5509
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
5654
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
5781
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
7975
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
8253
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
8874
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
9045
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
9980
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "M1", verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateMethodModifiersImplicitInTest2_10(m, Accessibility.Internal)).VerifyDiagnostics();
10054
CompileAndVerify(compilation3, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "M1", verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateMethodModifiersImplicitInTest2_10(m, Accessibility.Internal)).VerifyDiagnostics();
10062
CompileAndVerify(compilation3, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "M1", verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateMethodModifiersImplicitInTest2_10(m, Accessibility.Internal)).VerifyDiagnostics();
10156
CompileAndVerify(compilation1, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "M1" : null, verify: VerifyOnMonoOrCoreClr, symbolValidator: Validate);
10831
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "M1", symbolValidator: Validate);
10886
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "M1" : null,
10932
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "M1" : null,
10943
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "M1" : null,
11060
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
11166
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
11696
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
11720
CompileAndVerify(compilation2, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
11762
CompileAndVerify(compilation4, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
11886
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "M1", verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateMethodModifiersImplicit_10(m, Accessibility.Protected)).VerifyDiagnostics();
11920
CompileAndVerify(compilation3, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "M1", verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateMethodModifiersImplicit_10(m, Accessibility.Protected)).VerifyDiagnostics();
12001
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "M1", verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateMethodModifiersImplicit_10(m, Accessibility.ProtectedOrInternal)).VerifyDiagnostics();
12041
CompileAndVerify(compilation3, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "M1", verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateMethodModifiersImplicit_10(m, Accessibility.ProtectedOrInternal)).VerifyDiagnostics();
12124
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "M1", verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateMethodModifiersImplicit_10(m, Accessibility.ProtectedAndInternal)).VerifyDiagnostics();
12222
CompileAndVerify(compilation1, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "M1" : null, verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateMethodModifiersExplicit_10(m, Accessibility.Protected));
12236
var targetFramework =
ExecutionConditionUtil
.IsMonoOrCoreClr ? TargetFramework.Net50 : TargetFramework.NetFramework;
12284
CompileAndVerify(compilation1, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "M1" : null, verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateMethodModifiersExplicit_10(m, Accessibility.ProtectedOrInternal));
12298
var targetFramework =
ExecutionConditionUtil
.IsMonoOrCoreClr ? TargetFramework.Net50 : TargetFramework.NetFramework;
12346
CompileAndVerify(compilation1, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "M1" : null, verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateMethodModifiersExplicit_10(m, Accessibility.ProtectedAndInternal));
12617
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "M1" : null,
12642
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "M1" : null,
12705
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "M1" : null,
12730
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "M1" : null,
12793
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "M1" : null,
12818
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "M1" : null,
14215
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
14611
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
14925
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
14977
CompileAndVerify(compilation3, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
15122
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
15156
CompileAndVerify(compilation3, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
15249
CompileAndVerify(compilation1, expectedOutput: !(targetFramework == TargetFramework.Standard ||
ExecutionConditionUtil
.IsMonoOrCoreClr) ? null :
15271
CompileAndVerify(compilation3, expectedOutput: !(targetFramework == TargetFramework.Standard ||
ExecutionConditionUtil
.IsMonoOrCoreClr) ? null :
15849
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
15882
CompileAndVerify(compilation3, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
15979
CompileAndVerify(compilation3, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
16233
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
17461
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
17532
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
17546
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
17731
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
18313
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput, verify: VerifyOnMonoOrCoreClr, symbolValidator: Validate1);
18336
CompileAndVerify(compilation3, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput, verify: VerifyOnMonoOrCoreClr, symbolValidator: Validate1);
18469
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
18515
CompileAndVerify(compilation3, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
19842
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
19913
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
19927
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
20319
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
20357
CompileAndVerify(compilation2, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
20431
CompileAndVerify(compilation4, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
20449
CompileAndVerify(compilation5, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
27792
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
28122
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
28430
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
28520
CompileAndVerify(compilation3, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
28627
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
28660
CompileAndVerify(compilation3, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
28754
CompileAndVerify(compilation1, expectedOutput: !(targetFramework == TargetFramework.Standard ||
ExecutionConditionUtil
.IsMonoOrCoreClr) ? null :
28774
CompileAndVerify(compilation3, expectedOutput: !(targetFramework == TargetFramework.Standard ||
ExecutionConditionUtil
.IsMonoOrCoreClr) ? null :
29361
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
29394
CompileAndVerify(compilation3, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
29478
CompileAndVerify(compilation3, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
29620
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
30866
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
30935
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
30949
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
31099
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
31125
CompileAndVerify(compilation2, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
31173
CompileAndVerify(compilation4, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
31930
ValidateNestedTypes_01(source0 + source1, Accessibility.Protected, targetFramework: TargetFramework.NetCoreApp, execute:
ExecutionConditionUtil
.IsMonoOrCoreClr, verify: VerifyOnMonoOrCoreClr_FailsIlVerify);
32030
CompileAndVerify(compilation4, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
32120
ValidateNestedTypes_01(source0 + source1, Accessibility.ProtectedOrInternal, targetFramework: TargetFramework.NetCoreApp, execute:
ExecutionConditionUtil
.IsMonoOrCoreClr, verify: VerifyOnMonoOrCoreClr);
32121
ValidateNestedTypes_01(source0 + source2, Accessibility.ProtectedOrInternal, targetFramework: TargetFramework.NetCoreApp, execute:
ExecutionConditionUtil
.IsMonoOrCoreClr, verify: VerifyOnMonoOrCoreClr);
32164
CompileAndVerify(compilation4, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
32479
ValidateNestedTypes_01(source0 + source1, Accessibility.ProtectedAndInternal, targetFramework: TargetFramework.NetCoreApp, execute:
ExecutionConditionUtil
.IsMonoOrCoreClr, verify: VerifyOnMonoOrCoreClr_FailsIlVerify);
43818
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "1234", symbolValidator: Validate1);
43837
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "112244");
43842
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "112244");
43958
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "1234", symbolValidator: Validate1);
43974
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "124");
43979
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "124");
44088
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "1234", symbolValidator: Validate1);
44104
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "124");
44109
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "124");
44200
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
44226
CompileAndVerify(compilation2, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "1122" : null, verify: VerifyOnMonoOrCoreClr_FailsIlVerify);
44650
CompileAndVerify(compilation1, symbolValidator: ValidateConstructor, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
44696
CompileAndVerify(compilation1, symbolValidator: ValidateConstructor, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
44730
CompileAndVerify(compilation1, symbolValidator: ValidateConstructor, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
44844
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
44889
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
44925
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "I1.I1", verify: VerifyOnMonoOrCoreClr);
44970
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "2");
44988
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "1");
45085
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "1234", symbolValidator: Validate1);
45104
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "112244");
45109
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "112244");
45241
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "1234", symbolValidator: Validate1);
45257
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "124");
45262
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "124");
45379
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "123", symbolValidator: Validate1);
45396
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "1122");
45401
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "1122");
45569
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "1234", symbolValidator: Validate1);
45588
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "112244");
45593
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "112244");
45709
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "1234", symbolValidator: Validate1);
45725
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "1234");
45730
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "1234");
45907
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
45925
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
46349
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "I1.Main");
46375
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "I2.Main");
46593
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput, verify: VerifyOnMonoOrCoreClr);
46603
CompileAndVerify(compilation2, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput, verify: VerifyOnMonoOrCoreClr);
46609
CompileAndVerify(compilation3, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput, verify: VerifyOnMonoOrCoreClr);
46950
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput, verify: VerifyOnMonoOrCoreClr);
46956
CompileAndVerify(compilation2, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput, verify: VerifyOnMonoOrCoreClr);
47083
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : @"
47113
CompileAndVerify(compilation4, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : @"
47226
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
47235
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
47241
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
47318
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
47327
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
47333
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
47394
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
47403
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
47409
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
47524
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
47533
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
47539
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
47605
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
47614
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
47620
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48083
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48092
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48098
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48140
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48149
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48155
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48207
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48216
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48222
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48304
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48313
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48319
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48374
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48383
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48389
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48438
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48447
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48453
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48517
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48526
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48532
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48589
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48598
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48604
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48894
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48903
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48909
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48960
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48969
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
48975
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
49067
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
49076
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
49082
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
49299
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
49308
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
49314
CompileAndVerify(compilation3, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput);
49539
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput, verify: VerifyOnMonoOrCoreClr).VerifyDiagnostics();
49548
CompileAndVerify(compilation2, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput, verify: VerifyOnMonoOrCoreClr).VerifyDiagnostics();
49553
CompileAndVerify(compilation3, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : expectedOutput, verify: VerifyOnMonoOrCoreClr).VerifyDiagnostics();
49958
CompileAndVerify(compilation0, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : @"M1", verify: VerifyOnMonoOrCoreClr);
49984
var verifier = CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : @"M1", verify: VerifyOnMonoOrCoreClr);
50047
CompileAndVerify(compilation0, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : @"M1", verify: VerifyOnMonoOrCoreClr);
50086
CompileAndVerify(compilation0, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : @"M1", verify: VerifyOnMonoOrCoreClr_FailsIlVerify);
50112
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : @"M1", verify: VerifyOnMonoOrCoreClr_FailsIlVerify);
50249
CompileAndVerify(compilation0, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : @"M1", verify: VerifyOnMonoOrCoreClr_FailsIlVerify);
50309
CompileAndVerify(compilation0, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : @"M1", verify: VerifyOnMonoOrCoreClr_FailsIlVerify);
50846
var verifier = CompileAndVerify(compilation0, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : @"M1", verify: VerifyOnMonoOrCoreClr);
50899
var verifier = CompileAndVerify(compilation0, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : @"M1", verify: VerifyOnMonoOrCoreClr);
50952
var verifier = CompileAndVerify(compilation0, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : @"A", verify: VerifyOnMonoOrCoreClr);
62537
CompileAndVerify(compilation1, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "C0.M", verify: VerifyOnMonoOrCoreClr).VerifyDiagnostics();
65163
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
65207
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
65251
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
66755
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
66808
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
66843
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : @"M2");
66874
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
66935
CompileAndVerify(compilation2, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
67006
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
67048
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
67112
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
67937
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "Test",
68001
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
68066
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null :
Symbols\ModuleInitializers\AccessibilityTests.cs (2)
378
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"
381
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped);
Symbols\ModuleInitializers\ModuleInitializersTests.cs (4)
277
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"
280
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped);
356
expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : "1234",
357
verify: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Skipped : Verification.Passes);
Symbols\PartialPropertiesTests.cs (1)
2920
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "1" : null);
Symbols\RequiredMembersTests.cs (5)
3216
CompileAndVerify(originalComp, verify:
ExecutionConditionUtil
.IsCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
3264
CompileAndVerify(originalComp, verify:
ExecutionConditionUtil
.IsCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
3299
CompileAndVerify(originalComp, verify:
ExecutionConditionUtil
.IsCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
3347
CompileAndVerify(originalComp, verify:
ExecutionConditionUtil
.IsCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
3394
CompileAndVerify(originalComp, verify:
ExecutionConditionUtil
.IsCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
Symbols\Source\FileModifierTests.cs (1)
1123
ExecutionConditionUtil
.IsCoreClr
Symbols\StaticAbstractMembersInInterfacesTests.cs (3)
14828
return
ExecutionConditionUtil
.IsMonoOrCoreClr;
17353
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, expectedOutput: !(Execute(isVirtual) &&
ExecutionConditionUtil
.IsMonoOrCoreClr) ? null : (genericFirst ? "T" : "int"), verify: Verification.Skipped).VerifyDiagnostics(
17459
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, expectedOutput: !(Execute(isVirtual) &&
ExecutionConditionUtil
.IsMonoOrCoreClr) ? null : (genericIsStatic ? "T" : "int"), verify: Verification.Skipped).VerifyDiagnostics();
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
CSharpTestBase.cs (2)
2341
if (
ExecutionConditionUtil
.IsCoreClr)
2359
if (
ExecutionConditionUtil
.IsCoreClr)
Microsoft.CodeAnalysis.Test.Utilities (24)
Assert\ConditionalFactAttribute.cs (11)
292
public override bool ShouldSkip => !
ExecutionConditionUtil
.IsWindows;
298
public override bool ShouldSkip => !
ExecutionConditionUtil
.IsWindowsDesktop;
304
public override bool ShouldSkip => !
ExecutionConditionUtil
.RuntimeSupportsCovariantReturnsOfClasses;
316
public override bool ShouldSkip => PathUtilities.IsUnixLikePlatform && !
ExecutionConditionUtil
.IsMacOS;
322
public override bool ShouldSkip =>
ExecutionConditionUtil
.IsMacOS;
328
public override bool ShouldSkip => !
ExecutionConditionUtil
.IsLinux;
346
public override bool ShouldSkip =>
ExecutionConditionUtil
.IsAnyMono;
352
public override bool ShouldSkip => !
ExecutionConditionUtil
.IsCoreClr;
358
public override bool ShouldSkip => !
ExecutionConditionUtil
.IsDesktop;
364
public override bool ShouldSkip => MonoHelpers.IsRunningOnMono() || !
ExecutionConditionUtil
.IsDesktop;
370
public override bool ShouldSkip => !
ExecutionConditionUtil
.IsMonoOrCoreClr;
CommonTestBase.cs (1)
717
if (
ExecutionConditionUtil
.IsWindows)
CompilationVerifier.cs (2)
182
/// See <see cref="
ExecutionConditionUtil
"/>.
221
/// See <see cref="
ExecutionConditionUtil
"/>.
FX\MonoHelpers.cs (2)
13
public static bool IsRunningOnMono() => Roslyn.Test.Utilities.
ExecutionConditionUtil
.IsMonoDesktop;
14
public static bool IsRunningOnMonoCore() => Roslyn.Test.Utilities.
ExecutionConditionUtil
.IsMonoCore;
Metadata\IlasmUtilities.cs (4)
39
if (
ExecutionConditionUtil
.IsWindowsDesktop)
51
if (
ExecutionConditionUtil
.IsWindows)
55
else if (
ExecutionConditionUtil
.IsMacOS)
59
else if (
ExecutionConditionUtil
.IsLinux)
Platform\Custom\SigningTestHelpers.cs (2)
24
internal static readonly string KeyFileDirectory =
ExecutionConditionUtil
.IsWindows
47
if (
ExecutionConditionUtil
.IsWindows)
Platform\Desktop\DesktopRuntimeEnvironment.cs (1)
311
if (!
ExecutionConditionUtil
.IsWindowsDesktop)
TestHelpers.cs (1)
143
if (
ExecutionConditionUtil
.IsWindows)
Microsoft.CodeAnalysis.UnitTests (19)
AnalyzerAssemblyLoaderTests.cs (11)
384
if (
ExecutionConditionUtil
.IsCoreClr || loader is ShadowCopyAnalyzerAssemblyLoader)
697
if (
ExecutionConditionUtil
.IsDesktop && loader is ShadowCopyAnalyzerAssemblyLoader)
858
if (
ExecutionConditionUtil
.IsCoreClr || loader is ShadowCopyAnalyzerAssemblyLoader)
916
if (
ExecutionConditionUtil
.IsDesktop && loader is ShadowCopyAnalyzerAssemblyLoader)
1004
if (
ExecutionConditionUtil
.IsCoreClr || loader is ShadowCopyAnalyzerAssemblyLoader)
1063
if (
ExecutionConditionUtil
.IsDesktop && loader is ShadowCopyAnalyzerAssemblyLoader)
1142
if (
ExecutionConditionUtil
.IsCoreClr)
1414
if (
ExecutionConditionUtil
.IsCoreClr)
1441
Assert.Equal(
ExecutionConditionUtil
.IsCoreClr ? "1" : "42", sb.ToString());
1495
if (loader is ShadowCopyAnalyzerAssemblyLoader || !
ExecutionConditionUtil
.IsWindows)
1520
if (loader is ShadowCopyAnalyzerAssemblyLoader || !
ExecutionConditionUtil
.IsWindows)
Analyzers\AnalyzerConfigTests.cs (2)
2314
=> GlobalConfigIssuesWarningWithInvalidSectionNames(sectionName,
ExecutionConditionUtil
.IsWindows ? isValidWindows : isValidOther);
2590
if (
ExecutionConditionUtil
.IsWindows)
FileSystem\PathUtilitiesTests.cs (6)
327
(" ",
ExecutionConditionUtil
.IsCoreClrUnix),
328
("path/?.txt", !
ExecutionConditionUtil
.IsWindowsDesktop),
329
("path/*.txt", !
ExecutionConditionUtil
.IsWindowsDesktop),
330
("path/:.txt", !
ExecutionConditionUtil
.IsWindowsDesktop),
331
("path/\".txt", !
ExecutionConditionUtil
.IsWindowsDesktop),
336
"IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII.txt", !
ExecutionConditionUtil
.IsWindowsDesktop)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (3)
CommandLineTests.vb (3)
42
Private Shared ReadOnly s_DotnetCscRun As String = If(
ExecutionConditionUtil
.IsMonoDesktop, "mono", String.Empty)
7444
If
ExecutionConditionUtil
.OperatingSystemRestrictsFileNames Then
7451
If
ExecutionConditionUtil
.OperatingSystemRestrictsFileNames Then
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (33)
Attributes\InternalsVisibleToAndStrongNameTests.vb (1)
25
If
ExecutionConditionUtil
.IsWindows Then
CodeGen\CodeGenExpression.vb (30)
78
CheckSingle(Integer.MaxValue - 64F, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
79
CheckSingle(Integer.MaxValue - 0F, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
92
CheckDouble(Integer.MaxValue + 1D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
93
CheckDouble(Integer.MaxValue + 2D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
600
CheckSingle(Integer.MaxValue - 64F, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
601
CheckSingle(Integer.MaxValue - 0F, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
614
CheckDouble(Integer.MaxValue + 1D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
615
CheckDouble(Integer.MaxValue + 2D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
1102
CheckDouble(Integer.MaxValue + 1D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
1103
CheckDouble(Integer.MaxValue + 2D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
1393
CheckDouble(Integer.MaxValue + 1D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
1394
CheckDouble(Integer.MaxValue + 2D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
1682
CheckDouble(Integer.MaxValue + 0.01D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
1683
CheckDouble(Integer.MaxValue + 0.99D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
1684
CheckDouble(Integer.MaxValue + 1D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
1685
CheckDouble(Integer.MaxValue + 2D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
1989
CheckDouble(Integer.MaxValue + 0.01D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
1990
CheckDouble(Integer.MaxValue + 0.99D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
1991
CheckDouble(Integer.MaxValue + 1D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
1992
CheckDouble(Integer.MaxValue + 2D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
2298
CheckDouble(Integer.MaxValue + 1D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
2299
CheckDouble(Integer.MaxValue + 2D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
2605
CheckDouble(Integer.MaxValue + 1D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
2606
CheckDouble(Integer.MaxValue + 2D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
2910
CheckDouble(Integer.MaxValue + 0.99D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
2911
CheckDouble(Integer.MaxValue + 1D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
2912
CheckDouble(Integer.MaxValue + 2D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
3217
CheckDouble(Integer.MaxValue + 0.99D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
3218
CheckDouble(Integer.MaxValue + 1D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
3219
CheckDouble(Integer.MaxValue + 2D, ]]><%= If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "Integer.MaxValue", "Integer.MinValue") %><![CDATA[) ' overflow
CodeGen\CodeGenTests.vb (2)
656
If (
ExecutionConditionUtil
.IsDesktop) Then
669
ElseIf
ExecutionConditionUtil
.IsCoreClr Then
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Binding\SyncLockTests.vb (1)
545
CompileAndVerify(comp, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "12345", Nothing),
Semantics\OptionalArgumentTests.vb (1)
2117
Dim expectedStarPath = If(
ExecutionConditionUtil
.IsCoreClr, "/X/A/B/*", "*")
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (94)
SymbolsTests\CorLibrary\CorTypes.vb (4)
460
If(
ExecutionConditionUtil
.IsMonoOrCoreClr, ", Action", "") +
513
If(
ExecutionConditionUtil
.IsMonoOrCoreClr, ", Action", "") +
732
If(
ExecutionConditionUtil
.IsMonoOrCoreClr, ", Action", "") +
956
If(
ExecutionConditionUtil
.IsMonoOrCoreClr, ", Action", "") +
SymbolsTests\DefaultInterfaceImplementationTests.vb (88)
35
Return If(
ExecutionConditionUtil
.IsMonoOrCoreClr, Verification.Fails, Verification.Skipped)
41
Return If(
ExecutionConditionUtil
.IsMonoOrCoreClr, Verification.Passes, Verification.Skipped)
117
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.M1", Nothing), verify:=VerifyPassesOnMonoOrCoreClr)
202
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.M1", Nothing), verify:=VerifyPassesOnMonoOrCoreClr)
279
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.M1", Nothing), verify:=VerifyPassesOnMonoOrCoreClr)
357
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.M1", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
398
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.M1", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
538
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "I1.M1", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
570
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "I1.M1", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
756
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "I1.M1", Nothing), verify:=VerifyPassesOnMonoOrCoreClr)
842
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "I1.M1", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
881
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "I1.M1", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
1393
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "I1.M1", Nothing), verify:=VerifyPassesOnMonoOrCoreClr)
1462
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "I1.M1", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
1491
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "I1.M1", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
2165
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
2389
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
2859
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
2928
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
3450
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
3533
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
3618
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
3811
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
3860
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
3909
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
3958
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
4007
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
4056
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
4266
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyPassesOnMonoOrCoreClr, sourceSymbolValidator:=validator, symbolValidator:=validator)
4269
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyPassesOnMonoOrCoreClr, sourceSymbolValidator:=validator, symbolValidator:=validator)
4327
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyPassesOnMonoOrCoreClr, sourceSymbolValidator:=validator, symbolValidator:=validator)
4330
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyPassesOnMonoOrCoreClr, sourceSymbolValidator:=validator, symbolValidator:=validator)
4394
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr, sourceSymbolValidator:=validator, symbolValidator:=validator)
4397
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr, sourceSymbolValidator:=validator, symbolValidator:=validator)
4457
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr, sourceSymbolValidator:=validator, symbolValidator:=validator)
4460
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr, sourceSymbolValidator:=validator, symbolValidator:=validator)
4497
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyPassesOnMonoOrCoreClr)
4500
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyPassesOnMonoOrCoreClr)
4538
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr)
4541
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr)
4578
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr)
4581
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr)
4768
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "100", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
4798
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "100", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
4828
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "100", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
4858
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "100", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
4888
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "100", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
4918
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "100", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
5419
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
5596
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
5638
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
5680
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
5722
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
5764
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
5806
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
7101
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr)
7179
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr)
7259
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr)
7349
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
7393
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Get", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
7535
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "100", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
7564
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "100", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
7744
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "I1.P1.Get", Nothing), verify:=VerifyPassesOnMonoOrCoreClr)
7828
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "I1.P1.Get", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
7867
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "I1.P1.Get", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
8362
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyPassesOnMonoOrCoreClr)
8439
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyPassesOnMonoOrCoreClr)
8518
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyPassesOnMonoOrCoreClr)
8607
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
8650
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.P1.Set", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
8797
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "100", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
8829
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "100", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
9009
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "I1.P1.Set", Nothing), verify:=VerifyPassesOnMonoOrCoreClr)
9093
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "I1.P1.Set", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
9132
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "I1.P1.Set", Nothing), verify:=VerifyFailsOnMonoOrCoreClr)
9633
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
9718
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
9805
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
9905
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
9956
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
10047
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
10138
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
10181
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
10388
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
10483
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
10526
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
11048
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.M1", Nothing), verify:=VerifyPassesOnMonoOrCoreClr)
11130
CompileAndVerify(comp1, expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, "C.M1", Nothing), verify:=VerifyPassesOnMonoOrCoreClr)
SymbolsTests\RefStructInterfacesTests.vb (2)
99
verify:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr, Verification.Passes, Verification.Skipped),
100
expectedOutput:=If(
ExecutionConditionUtil
.IsMonoOrCoreClr,
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
NewlyCreatedProjectsFromDotNetNew.cs (1)
81
var ignoredDiagnostics = !
ExecutionConditionUtil
.IsWindows
Roslyn.Test.PdbUtilities (1)
Reader\PdbValidation.cs (1)
240
bool testWindowsPdb = (format == 0 || format == DebugInformationFormat.Pdb) &&
ExecutionConditionUtil
.IsWindows;
VBCSCompiler.UnitTests (5)
CompilerServerApiTest.cs (1)
142
var toolDir =
ExecutionConditionUtil
.IsWindows
NamedPipeTestUtil.cs (4)
53
if (!
ExecutionConditionUtil
.IsUnix || !
ExecutionConditionUtil
.IsCoreClr)
77
if (!
ExecutionConditionUtil
.IsUnix || !
ExecutionConditionUtil
.IsCoreClr)