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