429 references to Passes
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (151)
CodeGen\CodeGenAsyncIteratorTests.cs (7)
8857
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
9055
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
9096
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
9141
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
9182
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
9378
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
9424
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
CodeGen\CodeGenAsyncSpillTests.cs (1)
960
CompileAndVerify(source, verify: Verification.
Passes
, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), symbolValidator: module =>
CodeGen\CodeGenAsyncTests.cs (3)
1148
CompileAndVerify(source, expectedOutput: "0", options: TestOptions.UnsafeDebugExe, verify: Verification.
Passes
);
1209
CompileAndVerify(source, expectedOutput: "0", options: TestOptions.UnsafeDebugExe, verify: Verification.
Passes
);
1250
CompileAndVerify(source, expectedOutput: "0", options: TestOptions.UnsafeDebugExe, verify: Verification.
Passes
);
CodeGen\CodeGenAwaitForeachTests.cs (1)
9484
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
CodeGen\CodeGenAwaitUsingTests.cs (2)
3723
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
3752
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
CodeGen\CodeGenClosureLambdaTests.cs (1)
2569
CompileAndVerify(source, options: TestOptions.UnsafeReleaseExe, expectedOutput: "F", verify: Verification.
Passes
);
CodeGen\CodeGenDeconstructTests.cs (1)
7640
var comp = CompileAndVerify(source, expectedOutput: "42", verify: Verification.
Passes
);
CodeGen\CodeGenExprLambdaTests.cs (1)
5263
var reference1 = BasicCompilationUtils.CompileToMetadata(source1, verify: Verification.
Passes
);
CodeGen\CodeGenInParametersTests.cs (8)
1446
var comp = CompileAndVerify(text, parseOptions: TestOptions.Regular, verify: Verification.
Passes
, expectedOutput: @"42");
1479
var comp = CompileAndVerify(text, parseOptions: TestOptions.Regular, verify: Verification.
Passes
, expectedOutput: @"42");
1529
CompileAndVerify(comp, verify: Verification.
Passes
, expectedOutput: @"6");
1877
CompileAndVerify(comp, verify: Verification.
Passes
, expectedOutput: @"6");
2431
v = CompileAndVerify(comp, verify: Verification.
Passes
, expectedOutput: @"
2574
var comp = CompileAndVerify(text, parseOptions: TestOptions.Regular, verify: Verification.
Passes
, expectedOutput: @"0");
2632
var comp = CompileAndVerify(text, parseOptions: TestOptions.Regular, verify: Verification.
Passes
, expectedOutput: @"");
2724
var comp = CompileAndVerify(text, parseOptions: TestOptions.Regular, verify: Verification.
Passes
, expectedOutput: @"4242420");
CodeGen\CodeGenLocalFunctionTests.cs (1)
4609
VerifyOutput(source, output, TestOptions.ReleaseExe.WithAllowUnsafe(true).WithWarningLevel(0), verify: Verification.
Passes
);
CodeGen\CodeGenReadOnlySpanConstructionTest.cs (12)
131
CompileAndVerify(comp, expectedOutput: "TrueTrue", verify: Verification.
Passes
).VerifyIL("Test.Main", @"
194
verify: type == "byte" ? Verification.
Passes
: Verification.Skipped).VerifyIL("Test.Main", @$"
254
CompileAndVerify(comp, expectedOutput: "TrueTrue", verify: Verification.
Passes
).VerifyIL("Test.Main", @"
307
CompileAndVerify(comp, expectedOutput: "True", verify: Verification.
Passes
).VerifyIL("Test.Main", @"
364
CompileAndVerify(comp, expectedOutput: "True", verify: Verification.
Passes
).VerifyIL("Test.Main", @"
418
CompileAndVerify(comp, expectedOutput: "3", verify: Verification.
Passes
).VerifyIL("Test.Main", @"
537
CompileAndVerify(comp, expectedOutput: "BlueTrue", verify: Verification.
Passes
).VerifyIL("Test.Main", @"
658
var cv = CompileAndVerify(comp, expectedOutput: "", verify: Verification.
Passes
);
726
var cv = CompileAndVerify(comp, expectedOutput: "100", verify: Verification.
Passes
);
1516
var verifier = CompileAndVerify(compilation, verify: Verification.
Passes
);
1549
var verifier = CompileAndVerify(compilation, expectedOutput: "000000", verify: Verification.
Passes
);
3528
var verifier = CompileAndVerify(compilation, verify: Verification.
Passes
);
CodeGen\CodeGenReadonlyStructTests.cs (10)
67
comp = CompileAndVerify(text, parseOptions: TestOptions.Regular.WithPEVerifyCompatFeature(), verify: Verification.
Passes
, expectedOutput: @"12");
138
comp = CompileAndVerify(text, new[] { ref1 }, parseOptions: TestOptions.Regular.WithPEVerifyCompatFeature(), verify: Verification.
Passes
, expectedOutput: @"12");
206
comp = CompileAndVerify(text, parseOptions: TestOptions.Regular.WithPEVerifyCompatFeature(), verify: Verification.
Passes
, expectedOutput: @"12");
281
comp = CompileAndVerify(text, parseOptions: TestOptions.Regular.WithPEVerifyCompatFeature(), verify: Verification.
Passes
, expectedOutput: @"hello2");
362
comp = CompileAndVerify(text, new[] { ref1 }, parseOptions: TestOptions.Regular.WithPEVerifyCompatFeature(), verify: Verification.
Passes
, expectedOutput: @"hello2");
416
var comp = CompileAndVerify(text, parseOptions: TestOptions.Regular, verify: Verification.
Passes
, expectedOutput: @"12");
462
var comp = CompileAndVerify(text, parseOptions: TestOptions.Regular, verify: Verification.
Passes
, expectedOutput: @"12");
513
var comp = CompileAndVerify(text, parseOptions: TestOptions.Regular, verify: Verification.
Passes
, expectedOutput: @"Program+S1Program+S1");
570
var comp = CompileAndVerify(text, parseOptions: TestOptions.Regular, verify: Verification.
Passes
, expectedOutput: @"4242");
2560
{ false, TestOptions.Regular7_3, Verification.
Passes
},
CodeGen\CodeGenRefConditionalOperatorTests.cs (8)
129
var comp = CompileAndVerify(source, expectedOutput: "44", verify: Verification.
Passes
);
165
var comp = CompileAndVerify(source, expectedOutput: "55", verify: Verification.
Passes
);
203
var comp = CompileAndVerify(source, expectedOutput: "5555", verify: Verification.
Passes
);
304
var comp = CompileAndVerify(source, expectedOutput: "446767", verify: Verification.
Passes
);
837
var comp = CompileAndVerify(source, expectedOutput: "1", verify: Verification.
Passes
);
881
var comp = CompileAndVerify(source, expectedOutput: "1", verify: Verification.
Passes
);
912
var comp = CompileAndVerify(source, expectedOutput: "1", verify: Verification.
Passes
);
1221
verify(TestOptions.UnsafeReleaseExe, Verification.
Passes
, @"
CodeGen\CodeGenRefLocalTests.cs (5)
3952
CompileAndVerify(text, options: TestOptions.UnsafeDebugDll, verify: Verification.
Passes
).VerifyIL("Program.Main()", @"
4207
verify(TestOptions.UnsafeReleaseExe, Verification.
Passes
, @"
4332
verify(TestOptions.UnsafeReleaseExe, Verification.
Passes
, @"
4395
verify(TestOptions.UnsafeReleaseExe, Verification.
Passes
, @"
4447
verify(TestOptions.UnsafeReleaseExe, Verification.
Passes
, @"
CodeGen\CodeGenRefReadonlyReturnTests.cs (1)
805
var comp = CompileAndVerifyWithMscorlib40(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }, parseOptions: TestOptions.Regular, verify: Verification.
Passes
);
CodeGen\CodeGenRefReturnTests.cs (5)
310
var compilation = CompileAndVerifyRef(text, verify: Verification.
Passes
);
502
var compilation = CompileAndVerifyRef(text, verify: Verification.
Passes
);
3455
CompileAndVerify(source, parseOptions: TestOptions.Regular, expectedOutput: "Base", verify: Verification.
Passes
);
3548
CompileAndVerify(source, parseOptions: TestOptions.Regular, expectedOutput: "Program+RefFunc1`2[Derived2,Derived1]", verify: Verification.
Passes
);
3589
Program+RefFunc1`2[Derived1,Base]", verify: Verification.
Passes
);
CodeGen\CodeGenShortCircuitOperatorTests.cs (1)
7349
comp = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: @"", parseOptions: TestOptions.Regular.WithPEVerifyCompatFeature(), verify: Verification.
Passes
);
CodeGen\CodeGenStackAllocInitializerTests.cs (1)
413
verify: Verification.
Passes
).VerifyIL("C.Main",
CodeGen\CodeGenTests.cs (5)
5101
var compilation = CompileAndVerify(source, expectedOutput: @"PASS", verify: Verification.
Passes
);
5189
compilation = CompileAndVerify(source, expectedOutput: @"hi", verify: Verification.
Passes
, parseOptions: TestOptions.Regular.WithPEVerifyCompatFeature());
12332
comp = CompileAndVerify(source, expectedOutput: @"42", verify: Verification.
Passes
, parseOptions: TestOptions.Regular.WithPEVerifyCompatFeature());
12364
comp = CompileAndVerify(source, expectedOutput: @"42", verify: Verification.
Passes
, parseOptions: TestOptions.Regular7_1);
12482
comp = CompileAndVerify(source, expectedOutput: @"-10", verify: Verification.
Passes
, parseOptions: TestOptions.Regular.WithPEVerifyCompatFeature());
CodeGen\CodeGenTupleTest.cs (1)
23901
var comp = CompileAndVerify(source, expectedOutput: "42qq", references: new[] { libCompRef }, options: TestOptions.DebugExe, verify: Verification.
Passes
);
CodeGen\FixedSizeBufferTests.cs (6)
176
CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: "12", verify: Verification.
Passes
)
227
CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: "12", verify: Verification.
Passes
)
278
CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: "12", verify: Verification.
Passes
)
569
var comp1 = CompileAndVerify(s1, options: TestOptions.UnsafeReleaseDll, verify: Verification.
Passes
).Compilation;
978
CompileAndVerify(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.
Passes
,
1010
CompileAndVerify(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.
Passes
,
CodeGen\ForeachTest.cs (1)
500
CompileAndVerify(comp, expectedOutput: "hello", verify: Verification.
Passes
).VerifyIL("Test.Main", @"
CodeGen\GotoTest.cs (2)
933
CompileAndVerify(compilation, expectedOutput: expectedOutput, verify: Verification.
Passes
);
1067
CompileAndVerify(compilation, expectedOutput: expectedOutput, verify: Verification.
Passes
);
CodeGen\IndexAndRangeTests.cs (1)
2100
var verifier = CompileAndVerify(comp, verify: Verification.
Passes
, expectedOutput: @"3
CodeGen\UnsafeTests.cs (22)
32
var compVerifier = CompileAndVerify(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.
Passes
);
219
var compVerifier = CompileAndVerify(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.
Passes
);
6636
CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.
Passes
).VerifyIL("C.M", expectedIL);
6637
CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.
Passes
).VerifyIL("C.M", expectedIL);
6705
CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.
Passes
).VerifyIL("C.M", expectedIL);
6706
CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.
Passes
).VerifyIL("C.M", expectedIL);
6984
CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.
Passes
).VerifyIL("C.Main", @"
7071
CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.
Passes
).VerifyIL("C.Main", @"
7113
CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.
Passes
).VerifyIL("C.Main", @"
9122
CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, verify: Verification.
Passes
, expectedOutput: @"
9172
CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.
Passes
);
10497
CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: @"2", verify: Verification.
Passes
);
10768
CompileAndVerify(string.Format(template, "int"), options: TestOptions.UnsafeReleaseExe, expectedOutput: @"True", verify: Verification.
Passes
);
10769
CompileAndVerify(string.Format(template, "int*"), options: TestOptions.UnsafeReleaseExe, expectedOutput: @"True", verify: Verification.
Passes
);
10770
CompileAndVerify(string.Format(template, "int**"), options: TestOptions.UnsafeReleaseExe, expectedOutput: @"True", verify: Verification.
Passes
);
10771
CompileAndVerify(string.Format(template, "int[]"), options: TestOptions.UnsafeReleaseExe, expectedOutput: @"True", verify: Verification.
Passes
);
10772
CompileAndVerify(string.Format(template, "int[][]"), options: TestOptions.UnsafeReleaseExe, expectedOutput: @"True", verify: Verification.
Passes
);
10773
CompileAndVerify(string.Format(template, "int*[]"), options: TestOptions.UnsafeReleaseExe, expectedOutput: @"True", verify: Verification.
Passes
);
10927
CompileAndVerify(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.
Passes
).VerifyDiagnostics(
11315
var verifier = CompileAndVerify(text, options: TestOptions.UnsafeReleaseDll.WithConcurrentBuild(false), verify: Verification.
Passes
);
11559
var compVerifier = CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: "0", verify: Verification.
Passes
);
11832
CompileAndVerify(source, options: TestOptions.UnsafeReleaseExe, expectedOutput: "OK", verify: Verification.
Passes
);
Emit\CompilationEmitTests.cs (18)
2128
CompileAndVerify(comp, emitOptions: EmitOptions.Default, verify: Verification.
Passes
);
2160
CompileAndVerify(comp, emitOptions: emitRegularWithoutPrivateMembers, verify: Verification.
Passes
);
2188
CompileAndVerify(comp, emitOptions: emitMetadataOnly, verify: Verification.
Passes
);
2217
CompileAndVerify(comp, emitOptions: emitRefOnly, verify: Verification.
Passes
);
2266
CompileAndVerify(comp, emitOptions: EmitOptions.Default, verify: Verification.
Passes
);
2276
CompileAndVerify(comp, emitOptions: emitMetadataOnly, verify: Verification.
Passes
);
2288
CompileAndVerify(comp, emitOptions: emitRefOnly, verify: Verification.
Passes
);
2333
CompileAndVerify(comp, emitOptions: EmitOptions.Default, verify: Verification.
Passes
);
2343
CompileAndVerify(comp, emitOptions: emitMetadataOnly, verify: Verification.
Passes
);
2355
CompileAndVerify(comp, emitOptions: emitRefOnly, verify: Verification.
Passes
);
2400
CompileAndVerify(comp, emitOptions: EmitOptions.Default, verify: Verification.
Passes
);
2410
CompileAndVerify(comp, emitOptions: emitMetadataOnly, verify: Verification.
Passes
);
2422
CompileAndVerify(comp, emitOptions: emitRefOnly, verify: Verification.
Passes
);
2461
CompileAndVerify(comp, emitOptions: emitRefOnly, verify: Verification.
Passes
);
2506
CompileAndVerify(comp, emitOptions: emitRefOnly, verify: Verification.
Passes
);
4254
CompileAndVerify(compilation, verify: Verification.
Passes
, symbolValidator: module =>
4497
CompileAndVerify(compilation, verify: Verification.
Passes
, symbolValidator: module =>
4554
CompileAndVerify(compilation, verify: Verification.
Passes
, symbolValidator: module =>
Emit\EmitCustomModifiers.cs (1)
47
CompileAndVerify(c, verify: Verification.
Passes
, expectedOutput:
Emit\InAttributeModifierTests.cs (25)
1660
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
1680
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
1701
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
1721
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
1742
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
1763
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
1784
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
1804
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
1825
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
1846
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
1866
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
1886
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
1907
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
1928
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
1949
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
1974
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
1995
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
2015
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
2035
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
2055
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
2075
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
2099
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
2119
CompileAndVerify(code, verify: Verification.
Passes
, sourceSymbolValidator: validator, symbolValidator: validator);
4498
CompileAndVerify(code, verify: Verification.
Passes
, symbolValidator: module =>
4541
CompileAndVerify(code, verify: Verification.
Passes
, symbolValidator: module =>
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (8)
Emit\EditAndContinue\AssemblyReferencesTests.cs (1)
590
var v0 = CompileAndVerify(compilation0, verify: Verification.
Passes
);
Emit\EditAndContinue\EditAndContinueStateMachineTests.cs (5)
11070
var v0 = CompileAndVerify(compilation0, verify: Verification.
Passes
);
11175
var v0 = CompileAndVerify(compilation0, verify: Verification.
Passes
);
11236
var v0 = CompileAndVerify(compilation0, verify: Verification.
Passes
);
11291
var v0 = CompileAndVerify(compilation0, verify: Verification.
Passes
);
11358
var v0 = CompileAndVerify(compilation0, verify: Verification.
Passes
);
Emit\RuntimeProbing\ModuleCancellationTests.cs (1)
30
verify: verification ?? Verification.
Passes
,
Emit\RuntimeProbing\StackOverflowProbingTests.cs (1)
29
verify: verification ?? Verification.
Passes
,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (182)
Attributes\AttributeTests_Dynamic.cs (1)
105
CompileAndVerify(comp, verify: Verification.
Passes
, symbolValidator: module =>
Attributes\AttributeTests_Embedded.cs (2)
193
CompileAndVerify(code, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), verify: Verification.
Passes
, expectedOutput: "3");
290
CompileAndVerify(code, verify: Verification.
Passes
, references: new[] { reference }, symbolValidator: module =>
Attributes\AttributeTests_IsByRefLike.cs (14)
49
CompileAndVerify(new[] { text, GetCompilerFeatureRequiredAttributeText(includeCompilerFeatureRequired) }, verify: Verification.
Passes
, symbolValidator: validate);
60
CompileAndVerify(new[] { text, GetCompilerFeatureRequiredAttributeText(includeCompilerFeatureRequired) }, verify: Verification.
Passes
, symbolValidator: module =>
78
CompileAndVerify(new[] { text, GetCompilerFeatureRequiredAttributeText(includeCompilerFeatureRequired) }, verify: Verification.
Passes
, symbolValidator: module =>
120
CompileAndVerify(new[] { text, GetCompilerFeatureRequiredAttributeText(includeCompilerFeatureRequired) }, verify: Verification.
Passes
, symbolValidator: module =>
146
CompileAndVerify(codeB, verify: Verification.
Passes
, references: new[] { referenceA }, symbolValidator: module =>
370
CompileAndVerify(code2, verify: Verification.
Passes
, symbolValidator: module =>
461
var comp1 = CompileAndVerify(code1, options: options, verify: Verification.
Passes
, symbolValidator: module =>
494
CompileAndVerify(text, references: new[] { RefSafetyRulesAttributeLib }, verify: Verification.
Passes
, symbolValidator: module =>
688
CompileAndVerify(new[] { text, GetCompilerFeatureRequiredAttributeText(includeCompilerFeatureRequired) }, verify: Verification.
Passes
, symbolValidator: validate, sourceSymbolValidator: validate);
711
CompileAndVerify(text, verify: Verification.
Passes
, symbolValidator: module =>
754
CompileAndVerify(new[] { text, GetCompilerFeatureRequiredAttributeText(includeCompilerFeatureRequired) }, verify: Verification.
Passes
, symbolValidator: module =>
805
CompileAndVerify(new[] { text, GetCompilerFeatureRequiredAttributeText(includeCompilerFeatureRequired) }, verify: Verification.
Passes
, symbolValidator: module =>
870
CompileAndVerify(new[] { text, GetCompilerFeatureRequiredAttributeText(includeCompilerFeatureRequired) }, verify: Verification.
Passes
, symbolValidator: module =>
1029
CompileAndVerify(new[] { text, GetCompilerFeatureRequiredAttributeText(includeCompilerFeatureRequired) }, verify: Verification.
Passes
, symbolValidator: module =>
Attributes\AttributeTests_ReadOnlyStruct.cs (9)
37
CompileAndVerify(text, verify: Verification.
Passes
, symbolValidator: module =>
56
CompileAndVerify(text, verify: Verification.
Passes
, symbolValidator: module =>
74
CompileAndVerify(text, verify: Verification.
Passes
, symbolValidator: module =>
92
CompileAndVerify(text, verify: Verification.
Passes
, symbolValidator: module =>
110
CompileAndVerify(text, verify: Verification.
Passes
, symbolValidator: module =>
136
CompileAndVerify(codeB, verify: Verification.
Passes
, references: new[] { referenceA }, symbolValidator: module =>
360
CompileAndVerify(code2, verify: Verification.
Passes
, symbolValidator: module =>
453
var comp1 = CompileAndVerify(code1, options: options, verify: Verification.
Passes
, symbolValidator: module =>
486
CompileAndVerify(text, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), verify: Verification.
Passes
, symbolValidator: module =>
Attributes\AttributeTests_RefReadOnly.cs (12)
1586
CompileAndVerify(code, verify: Verification.
Passes
, symbolValidator: module =>
1628
CompileAndVerify(code, verify: Verification.
Passes
, symbolValidator: module =>
1673
CompileAndVerify(code, verify: Verification.
Passes
, symbolValidator: module =>
1722
CompileAndVerify(code, verify: Verification.
Passes
, symbolValidator: module =>
1769
CompileAndVerify(code, verify: Verification.
Passes
, references: new[] { reference }, symbolValidator: module =>
1812
CompileAndVerify(code, verify: Verification.
Passes
, symbolValidator: module =>
1861
CompileAndVerify(code, verify: Verification.
Passes
, references: new[] { reference }, symbolValidator: module =>
1901
CompileAndVerify(code, verify: Verification.
Passes
, symbolValidator: module =>
1970
CompileAndVerify(code, verify: Verification.
Passes
, symbolValidator: module =>
2019
CompileAndVerify(code, verify: Verification.
Passes
, references: new[] { reference }, symbolValidator: module =>
2060
CompileAndVerify(code, verify: Verification.
Passes
, symbolValidator: module =>
2102
CompileAndVerify(code, verify: Verification.
Passes
, references: new[] { reference }, symbolValidator: module =>
Attributes\AttributeTests_Security.cs (2)
1304
CompileAndVerify(compilation, verify: Verification.
Passes
, symbolValidator: module =>
1384
CompileAndVerify(compilation, verify: Verification.
Passes
, symbolValidator: module =>
Attributes\AttributeTests_Synthesized.cs (15)
798
verify: ExecutionConditionUtil.IsCoreClr ? Verification.
Passes
: Verification.Fails);
982
CompileAndVerify(source, options: options, verify: outputKind.IsNetModule() ? Verification.Skipped : Verification.
Passes
, symbolValidator: module =>
1017
CompileAndVerify(source, options: options, verify: outputKind.IsNetModule() ? Verification.Skipped : Verification.
Passes
, symbolValidator: module =>
1052
CompileAndVerify(source, options: options, verify: outputKind.IsNetModule() ? Verification.Skipped : Verification.
Passes
, symbolValidator: module =>
1087
CompileAndVerify(source, options: options, verify: outputKind.IsNetModule() ? Verification.Skipped : Verification.
Passes
, symbolValidator: module =>
1124
CompileAndVerify(source, parseOptions: parseOptions, options: options, verify: outputKind.IsNetModule() ? Verification.Skipped : Verification.
Passes
, symbolValidator: module =>
1162
CompileAndVerify(source, options: options, verify: outputKind.IsNetModule() ? Verification.Skipped : Verification.
Passes
, symbolValidator: module =>
1198
CompileAndVerify(source, parseOptions: parseOptions, options: options, verify: outputKind.IsNetModule() ? Verification.Skipped : Verification.
Passes
, symbolValidator: module =>
1236
CompileAndVerify(source, parseOptions: parseOptions, options: options, verify: outputKind.IsNetModule() ? Verification.Skipped : Verification.
Passes
, symbolValidator: module =>
1308
CompileAndVerify(compilation, verify: outputKind.IsNetModule() ? Verification.Skipped : Verification.
Passes
, symbolValidator: module =>
1357
CompileAndVerify(compilation, verify: outputKind.IsNetModule() ? Verification.Skipped : Verification.
Passes
, symbolValidator: module =>
1404
CompileAndVerify(compilation, verify: outputKind.IsNetModule() ? Verification.Skipped : Verification.
Passes
, symbolValidator: module =>
1448
CompileAndVerify(compilation, verify: outputKind.IsNetModule() ? Verification.Skipped : Verification.
Passes
, symbolValidator: module =>
1533
CompileAndVerify(source, references: new[] { reference }, options: options, verify: outputKind.IsNetModule() ? Verification.Skipped : Verification.
Passes
, symbolValidator: module =>
1574
CompileAndVerify(source, references: new[] { reference }, options: options, verify: outputKind.IsNetModule() ? Verification.Skipped : Verification.
Passes
, symbolValidator: module =>
Attributes\AttributeTests_Tuples.cs (2)
120
CompileAndVerify(comp, verify: Verification.
Passes
, symbolValidator: module =>
241
verify: Verification.
Passes
,
Attributes\AttributeTests_WellKnownAttributes.cs (2)
11498
var verifier = CompileAndVerifyWithSkipLocalsInit(source, TestOptions.UnsafeReleaseExe, verify: Verification.
Passes
);
11582
var comp2 = CompileAndVerify(source2, references: new[] { reference }, verify: Verification.
Passes
);
RefStructInterfacesTests.cs (95)
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();
6069
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
6601
Verification.
Passes
:
6737
Verification.
Passes
:
6854
Verification.
Passes
:
6975
Verification.
Passes
:
7114
Verification.
Passes
:
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(
12029
Verification.
Passes
:
12296
Verification.
Passes
:
12542
Verification.
Passes
:
12801
Verification.
Passes
:
13071
Verification.
Passes
:
13330
Verification.
Passes
:
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(
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();
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();
20406
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).
20453
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).
20498
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).
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();
21837
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
21972
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).
22478
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped,
22534
verify: ExecutionConditionUtil.IsMonoOrCoreClr && !s2IsRefStruct ? Verification.
Passes
: Verification.Skipped,
22589
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
22637
verify: ExecutionConditionUtil.IsMonoOrCoreClr && !s2IsRefStruct ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
22681
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped,
22730
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped,
22782
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped
23623
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
23676
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
23738
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
24035
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).
24138
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).
24196
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).
24271
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).
24370
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).
24539
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).
24652
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).
24795
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).
24887
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
25031
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).
25115
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).
25335
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
25579
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
27184
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
27294
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
27528
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
27713
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
27823
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
27955
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
28264
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
28322
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
28499
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
28559
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
28890
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped).VerifyDiagnostics();
Semantics\CollectionExpressionTests.cs (3)
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 (3)
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(
Semantics\ParamsCollectionTests.cs (20)
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,
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,
12529
: Verification.
Passes
12840
Verification.
Passes
:
13348
verify: image ? Verification.
Passes
: Verification.Skipped,
13414
verify: image ? Verification.
Passes
: Verification.Skipped,
13478
verify: image ? Verification.
Passes
: Verification.Skipped,
13582
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped,
13683
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped,
Semantics\PrimaryConstructorTests.cs (1)
12394
var verifier = CompileAndVerify(comp, expectedOutput: @"123123124-1-2-3", verify: Verification.
Passes
).VerifyDiagnostics(
Semantics\RecordTests.cs (1)
2424
verify: Verification.
Passes
,
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
IOperation\IOperationTests_IObjectCreationExpression.cs (1)
15270
var reference1 = BasicCompilationUtils.CompileToMetadata(source1, verify: Verification.
Passes
);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (19)
Semantics\BetterCandidates.cs (1)
986
var reference1 = BasicCompilationUtils.CompileToMetadata(source1, verify: Verification.
Passes
);
Semantics\DelegateTypeTests.cs (1)
16500
verify: ExecutionConditionUtil.IsCoreClr ? Verification.
Passes
: Verification.Skipped,
Semantics\FunctionPointerTests.cs (2)
2698
", options: TestOptions.UnsafeReleaseExe, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped);
2723
", options: TestOptions.UnsafeReleaseExe, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped);
Semantics\GenericConstraintsTests.cs (4)
2437
options: TestOptions.UnsafeReleaseExe, references: new[] { reference, reference1 }, verify: Verification.
Passes
, expectedOutput: "123");
2613
options: TestOptions.UnsafeReleaseExe, verify: Verification.
Passes
, expectedOutput: "NotNullableValueTypeConstraint, DefaultConstructorConstraint");
2638
}", options: TestOptions.UnsafeReleaseExe, verify: Verification.
Passes
, expectedOutput: "4");
2673
}", options: TestOptions.UnsafeReleaseExe, verify: Verification.
Passes
, expectedOutput: "8");
Semantics\InterpolationTests.cs (1)
4628
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped);
Semantics\NativeIntegerTests.cs (1)
9512
var verifier = CompileAndVerify(comp, verify: useUnsafeContext || !verify ? Verification.Skipped : Verification.
Passes
);
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\RawInterpolationTests_Handler.cs (1)
2929
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped);
Semantics\RefEscapingTests.cs (1)
5388
var compiled = CompileAndVerify(comp, verify: Verification.
Passes
);
Semantics\SemanticErrorTests.cs (1)
13441
var reference1 = BasicCompilationUtils.CompileToMetadata(source1, verify: Verification.
Passes
);
Semantics\UnsafeTests.cs (1)
12412
var comp1 = CompileAndVerify(s1, options: TestOptions.UnsafeReleaseDll, verify: Verification.
Passes
).Compilation;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (27)
Compilation\IndexedProperties_BindingTests.cs (1)
205
var reference = BasicCompilationUtils.CompileToMetadata(COMSource, verify: Verification.
Passes
);
Compilation\ReferenceManagerTests.cs (1)
1741
verify: Verification.
Passes
);
Symbols\AnonymousTypesSymbolTests.cs (1)
1472
verify: Verification.
Passes
Symbols\DefaultInterfaceImplementationTests.cs (1)
48
return ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped;
Symbols\IndexedPropertyTests.cs (12)
1085
var compilation2 = CompileAndVerify(source2, references: new[] { reference1 }, verify: Verification.
Passes
);
1173
var reference1 = BasicCompilationUtils.CompileToMetadata(source1, verify: Verification.
Passes
);
1209
var reference1 = BasicCompilationUtils.CompileToMetadata(source1, verify: Verification.
Passes
);
1957
var reference1 = BasicCompilationUtils.CompileToMetadata(source1, verify: Verification.
Passes
);
1969
var compilation2 = CompileAndVerify(source2, new[] { reference1 }, verify: Verification.
Passes
, expectedOutput:
2045
var reference1 = BasicCompilationUtils.CompileToMetadata(source1, verify: Verification.
Passes
);
2237
var reference1 = BasicCompilationUtils.CompileToMetadata(source1, verify: Verification.
Passes
);
2261
var compilation2 = CompileAndVerify(source2, new[] { reference1 }, verify: Verification.
Passes
, expectedOutput:
2309
var reference1 = BasicCompilationUtils.CompileToMetadata(source1, verify: Verification.
Passes
);
2331
var compilation2 = CompileAndVerify(source2, new[] { reference1 }, verify: Verification.
Passes
, expectedOutput:
2386
var reference1 = BasicCompilationUtils.CompileToMetadata(source1, verify: Verification.
Passes
);
2406
var compilation2 = CompileAndVerify(source2, new[] { reference1 }, verify: Verification.
Passes
, expectedOutput:
Symbols\ModuleInitializers\AccessibilityTests.cs (1)
381
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped);
Symbols\ModuleInitializers\ModuleInitializersTests.cs (2)
280
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.
Passes
: Verification.Skipped);
357
verify: !ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Skipped : Verification.
Passes
);
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\RecordTests.cs (3)
971
}", verify: Verification.
Passes
, expectedOutput: @"False
1055
}", verify: Verification.
Passes
).VerifyDiagnostics(
1526
var verifier = CompileAndVerify(comp, expectedOutput: "", verify: Verification.
Passes
).VerifyDiagnostics();
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (2)
Metadata\WinMdEventTests.cs (1)
2449
verify: OSVersion.IsWin8 ? Verification.
Passes
: Verification.Fails);
WinRTUtil.cs (1)
26
verify: isWin8 ? Verification.
Passes
: Verification.Fails);
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (35)
Attributes\AttributeTests_Synthesized.vb (14)
763
verify:=If(outputKind.IsNetModule(), Verification.Skipped, Verification.
Passes
),
802
verify:=If(outputKind.IsNetModule(), Verification.Skipped, Verification.
Passes
),
844
verify:=If(outputKind.IsNetModule(), Verification.Skipped, Verification.
Passes
),
887
verify:=If(outputKind.IsNetModule(), Verification.Skipped, Verification.
Passes
),
956
verify:=If(outputKind.IsNetModule(), Verification.Skipped, Verification.
Passes
),
1026
verify:=If(outputKind.IsNetModule(), Verification.Skipped, Verification.
Passes
),
1090
CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.
Passes
, Verification.Skipped), symbolValidator:=validator)
1128
CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.
Passes
, Verification.Skipped), symbolValidator:=validator)
1165
CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.
Passes
, Verification.Skipped), symbolValidator:=validator)
1209
CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.
Passes
, Verification.Skipped), symbolValidator:=validator)
1284
CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.
Passes
, Verification.Skipped), symbolValidator:=validator)
1336
CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.
Passes
, Verification.Skipped), symbolValidator:=validator)
1383
CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.
Passes
, Verification.Skipped), symbolValidator:=validator)
1432
CompileAndVerify(comp, verify:=If(outputKind <> OutputKind.NetModule, Verification.
Passes
, Verification.Skipped), symbolValidator:=validator)
CodeGen\CodeGenTests.vb (1)
11769
CompileAndVerify(compilation, sourceSymbolValidator:=validator, symbolValidator:=validator, verify:=Verification.
Passes
)
Emit\CompilationEmitTests.vb (13)
678
CompileAndVerify(source, emitOptions:=emitRefAssembly, verify:=Verification.
Passes
, validator:=assemblyValidator)
720
CompileAndVerify(source, emitOptions:=emitRefAssembly, verify:=Verification.
Passes
, validator:=assemblyValidator)
1471
Dim verifier = CompileAndVerify(comp, emitOptions:=EmitOptions.Default.WithEmitMetadataOnly(True), verify:=Verification.
Passes
)
1504
CompileAndVerify(comp, emitOptions:=emitMetadataOnly, verify:=Verification.
Passes
)
1538
CompileAndVerify(comp, emitOptions:=emitRefOnly, verify:=Verification.
Passes
)
1588
Dim verifier = CompileAndVerify(comp, emitOptions:=EmitOptions.Default.WithEmitMetadataOnly(True), verify:=Verification.
Passes
)
1606
CompileAndVerify(comp, emitOptions:=emitMetadataOnly, verify:=Verification.
Passes
)
1625
CompileAndVerify(comp, emitOptions:=emitRefOnly, verify:=Verification.
Passes
)
1666
Dim verifier = CompileAndVerify(comp, emitOptions:=EmitOptions.Default.WithEmitMetadataOnly(True), verify:=Verification.
Passes
)
1685
CompileAndVerify(comp, emitOptions:=emitMetadataOnly, verify:=Verification.
Passes
)
1705
CompileAndVerify(comp, emitOptions:=emitRefOnly, verify:=Verification.
Passes
)
1733
Dim verifier = CompileAndVerify(comp, emitOptions:=EmitOptions.Default.WithEmitMetadataOnly(True), verify:=Verification.
Passes
)
1737
CompileAndVerify(comp, emitOptions:=emitRefOnly, verify:=Verification.
Passes
)
Emit\EditAndContinue\AssemblyReferencesTests.vb (1)
452
Dim v0 = CompileAndVerify(compilation0, verify:=Verification.
Passes
)
Emit\EditAndContinue\EditAndContinueStateMachineTests.vb (6)
8866
Dim v0 = CompileAndVerify(compilation0, verify:=Verification.
Passes
)
8925
Dim v0 = CompileAndVerify(compilation0, verify:=Verification.
Passes
)
8980
Dim v0 = CompileAndVerify(compilation0, verify:=Verification.
Passes
)
9043
Dim v0 = CompileAndVerify(compilation0, verify:=Verification.
Passes
)
9134
Dim v0 = CompileAndVerify(compilation0, verify:=Verification.
Passes
)
9214
Dim v0 = CompileAndVerify(compilation0, verify:=Verification.
Passes
)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (3)
SymbolsTests\DefaultInterfaceImplementationTests.vb (1)
41
Return If(ExecutionConditionUtil.IsMonoOrCoreClr, Verification.
Passes
, Verification.Skipped)
SymbolsTests\Metadata\WinMdEventTest.vb (1)
852
CompileAndVerify(compilation, verify:=If(OSVersion.IsWin8, Verification.
Passes
, Verification.Skipped)).VerifyIL("abcdef.goo", expectedIL.Value())
SymbolsTests\RefStructInterfacesTests.vb (1)
99
verify:=If(ExecutionConditionUtil.IsMonoOrCoreClr, Verification.
Passes
, Verification.Skipped),
Roslyn.Test.PdbUtilities (1)
EditAndContinue\EditAndContinueTest.cs (1)
25
private readonly Verification _verification = verification ?? Verification.
Passes
;