841 references to ExecutionConditionUtil
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
CommandLineTestBase.cs (1)
38
if (
ExecutionConditionUtil
.IsCoreClr)
CommandLineTests.cs (2)
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 (289)
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)
365
var expectedOutput =
ExecutionConditionUtil
.IsCoreClr ? "ArrayTypeMismatchException" : "2";
514
var expectedOutput =
ExecutionConditionUtil
.IsCoreClr ? "ArrayTypeMismatchException" : "2";
1027
var owner =
ExecutionConditionUtil
.IsCoreClr ? "string" : "System.ReadOnlySpan<char>";
1927
if (
ExecutionConditionUtil
.IsCoreClr)
5364
if (
ExecutionConditionUtil
.IsCoreClr)
7305
var owner =
ExecutionConditionUtil
.IsCoreClr ? "string" : "System.ReadOnlySpan<char>";
8000
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsCoreClr ? "1123" : "1121").VerifyDiagnostics();
RefStructInterfacesTests.cs (231)
39
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr || !isVirtual ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
152
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr || !isVirtual ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
399
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr || !isVirtual ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
4369
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
4371
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
4425
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
5759
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
5787
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
5820
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
5987
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"S1.M1 S1.M1" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
6068
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"S1.M1 y - S1.M2 z - S1.M1 y - S1.M2 z" : null,
6069
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
6599
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
6600
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
6735
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D456D" : null,
6736
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
6852
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
6853
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
6973
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
6974
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
7112
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
7113
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
7435
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
7625
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
7843
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123456" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
8040
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
8233
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
8508
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics(
8893
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
8894
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
9097
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
9098
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
9460
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
9461
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
9672
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
9673
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
9896
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
9897
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
10108
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
10109
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
10504
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
10505
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
10701
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
10702
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
10940
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D456D" : null,
10941
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
11156
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
11157
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
11383
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
11384
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
11943
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
11944
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
11991
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null,
11992
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
12027
comp1, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
12028
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
12294
comp1, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D456D" : null,
12295
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
12540
comp1, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
12541
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
12799
comp1, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
12800
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
13069
comp1, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
13070
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
13328
comp1, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
13329
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
13669
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "123D" : null,
13670
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
13969
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
14310
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
14671
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123456" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
15022
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
15370
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
15800
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics(
16335
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
17614
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
17811
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
18033
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123456" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
18236
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
18437
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
18717
var verifier = CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics(
19100
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null,
19101
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
19271
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null,
19272
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
19596
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123" : null,
19597
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
19781
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"123D" : null,
19782
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
20039
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"Called" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
20052
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"Called" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
20084
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"Called" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
20095
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"Called" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
20193
CompileAndVerify(comp, expectedOutput: !
ExecutionConditionUtil
.IsMonoOrCoreClr ? null : @"
20203
Called System.Int64", verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
20296
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"Called" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
20309
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"Called" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
20341
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"Called" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
20352
CompileAndVerify(comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"Called" : null, verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
20405
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "Done" : null,
20406
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
20452
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "Done" : null,
20453
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
20497
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "Done" : null,
20498
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
20542
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "Done" : null,
20543
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
21258
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
21506
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
21643
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
21704
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
21836
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "S False Program True" : null,
21837
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
21972
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
22477
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"<>A`2[S1,S2] Test1 S1" : null,
22478
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
22533
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"<>F`2[S1,S2] Test1 S1" : null,
22534
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr && !s2IsRefStruct ? Verification.Passes : Verification.Skipped,
22588
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"System.Action`2[S1,S2] Test1 S1" : null,
22589
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
22636
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"System.Func`2[S1,S2] Test1 S1" : null,
22637
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr && !s2IsRefStruct ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
22680
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"<>f__AnonymousDelegate0`1[S1] Test1 S1" : null,
22681
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
22729
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"<>f__AnonymousDelegate0`1[S1] Test1 S1" : null,
22730
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped,
22781
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"<>f__AnonymousDelegate0 Test1" : null,
22782
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped
22827
comp, expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? @"<>f__AnonymousDelegate0 Test1" : null,
22845
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`1[System.Int32]" : null);
22869
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`2[System.String,System.Int32]" : null);
22897
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0" : null);
22927
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`1[System.String]" : null);
22958
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`1[System.String]" : null);
22989
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`1[System.String]" : null);
23020
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`1[System.String]" : null);
23052
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`1[System.String]" : null);
23083
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`1[System.Int16]" : null);
23114
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`1[System.Int16]" : null);
23138
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0" : null);
23168
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`1[System.Int16]" : null);
23199
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>f__AnonymousDelegate0`1[System.Int16]" : null);
23223
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "<>A{00000001}`2[System.Int16,System.Int32[]]" : null);
23622
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "_M1" : null,
23623
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
23675
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "123" : null,
23676
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
23737
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "123" : null,
23738
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
24034
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "214" : null,
24035
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
24137
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "4" : null,
24138
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
24195
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "112" : null,
24196
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
24270
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "113" : null,
24271
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
24369
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "4" : null,
24370
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
24532
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
24539
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
24651
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "4" : null,
24652
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
24794
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "2124" : null,
24795
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
24886
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "21" : null,
24887
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
25030
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "112" : null,
25031
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
25114
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "113" : null,
25115
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
25328
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
25335
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
25578
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "242" : null,
25579
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
27183
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "False False True True True True False False False False True True" : null,
27184
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
27293
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "False True True False False True" : null,
27294
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
27527
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "False False True True True True False False False False True True" : null,
27528
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
27712
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "False False True True True True False False False False True True" : null,
27713
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
27822
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "False True True False False True" : null,
27823
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
27954
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "False False True True True True False False False False True True" : null,
27955
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
28088
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "0 1 0 1 0 1" : null,
28089
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
28263
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "123" : null,
28264
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
28321
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "123" : null,
28322
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
28390
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "0 0 123" : null,
28391
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
28498
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "123 246 369" : null,
28499
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
28558
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "123" : null,
28559
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).VerifyDiagnostics();
28633
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "0 0 123" : null,
28634
verify:
ExecutionConditionUtil
.IsMonoOrCoreClr ?
28889
expectedOutput:
ExecutionConditionUtil
.IsMonoOrCoreClr ? "123 246" : null,
28890
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 (11)
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();
14100
var verifier = CompileAndVerify(comp2, expectedOutput:
ExecutionConditionUtil
.IsCoreClr ? "False" : null, verify: Verification.FailsPEVerify);
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (11)
EndToEndTests.cs (11)
125
int numberFluentCalls = (IntPtr.Size,
ExecutionConditionUtil
.Configuration) switch
131
_ => throw new Exception($"Unexpected configuration {IntPtr.Size * 8}-bit {
ExecutionConditionUtil
.Configuration}")
182
int numberFluentCalls = (IntPtr.Size,
ExecutionConditionUtil
.Configuration, RuntimeUtilities.IsDesktopRuntime, RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) switch
191
_ => throw new Exception($"Unexpected configuration {IntPtr.Size * 8}-bit {
ExecutionConditionUtil
.Configuration}, Desktop: {RuntimeUtilities.IsDesktopRuntime}")
221
throw new Exception($"Depth: {i}, Bytes: {IntPtr.Size}, Config: {
ExecutionConditionUtil
.Configuration}, Desktop: {RuntimeUtilities.IsDesktopRuntime}", e);
263
int nestingLevel = (IntPtr.Size,
ExecutionConditionUtil
.Configuration) switch
270
_ => throw new Exception($"Unexpected configuration {IntPtr.Size * 8}-bit {
ExecutionConditionUtil
.Configuration}")
415
int nestingLevel = (IntPtr.Size,
ExecutionConditionUtil
.Configuration) switch
421
_ => throw new Exception($"Unexpected configuration {IntPtr.Size * 8}-bit {
ExecutionConditionUtil
.Configuration}")
550
int n = (IntPtr.Size,
ExecutionConditionUtil
.Configuration) switch
556
_ => 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
16500
verify:
ExecutionConditionUtil
.IsCoreClr ? Verification.Passes : Verification.Skipped,
16501
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 (23)
Assert\ConditionalFactAttribute.cs (11)
293
public override bool ShouldSkip => !
ExecutionConditionUtil
.IsWindows;
299
public override bool ShouldSkip => !
ExecutionConditionUtil
.IsWindowsDesktop;
305
public override bool ShouldSkip => !
ExecutionConditionUtil
.RuntimeSupportsCovariantReturnsOfClasses;
317
public override bool ShouldSkip => PathUtilities.IsUnixLikePlatform && !
ExecutionConditionUtil
.IsMacOS;
323
public override bool ShouldSkip =>
ExecutionConditionUtil
.IsMacOS;
329
public override bool ShouldSkip => !
ExecutionConditionUtil
.IsLinux;
347
public override bool ShouldSkip =>
ExecutionConditionUtil
.IsAnyMono;
353
public override bool ShouldSkip => !
ExecutionConditionUtil
.IsCoreClr;
359
public override bool ShouldSkip => !
ExecutionConditionUtil
.IsDesktop;
365
public override bool ShouldSkip => MonoHelpers.IsRunningOnMono() || !
ExecutionConditionUtil
.IsDesktop;
371
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)
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)
7443
If
ExecutionConditionUtil
.OperatingSystemRestrictsFileNames Then
7450
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)