70 references to CompileAndVerify
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (70)
Semantics\RecordTests.cs (70)
876var verifier = CompileAndVerify(src, expectedOutput: @"
961CompileAndVerify(src, expectedOutput: @"
986CompileAndVerify(src, expectedOutput: @"
1558var verifier = CompileAndVerify(src, expectedOutput: "True");
1689var verifier = CompileAndVerify(src, expectedOutput: "12");
1801CompileAndVerify(src, expectedOutput: @"1
2016var verifier = CompileAndVerify(src, expectedOutput: @"0
2055var verifier = CompileAndVerify(src, expectedOutput: @"0 1
2095var verifier = CompileAndVerify(src, expectedOutput: @"0 1
2379var verifier = CompileAndVerify(src, expectedOutput: "2").VerifyDiagnostics();
4230CompileAndVerify(source3, references: new[] { comp1Ref, comp2Ref }, expectedOutput: @"1
4360CompileAndVerify(source3, references: new[] { comp1Ref, comp2Ref }, expectedOutput: @"1
7647var verifier = CompileAndVerify(source, expectedOutput: @"1
7689var verifier = CompileAndVerify(source, expectedOutput: @"1
7729var verifier = CompileAndVerify(source, expectedOutput: @"1
7763var verifier = CompileAndVerify(source, expectedOutput: @"1
7797var verifier = CompileAndVerify(source, expectedOutput: @"1
7832var verifier = CompileAndVerify(source, expectedOutput: @"1
7870CompileAndVerify(src, expectedOutput: @"
7900CompileAndVerify(src, expectedOutput: @"
8066var verifier = CompileAndVerify(src, expectedOutput: @"
8243var verifier = CompileAndVerify(src, expectedOutput: "11").VerifyDiagnostics();
8289var verifier = CompileAndVerify(src, expectedOutput: @"
8341var verifier = CompileAndVerify(src, expectedOutput: @"
8391CompileAndVerify(src, expectedOutput: "abc").VerifyDiagnostics();
8423var verifier = CompileAndVerify(src, expectedOutput: @"
9513var verifier = CompileAndVerify(src, expectedOutput: @"
9544var verifier = CompileAndVerify(@"
9593var verifier = CompileAndVerify(src, expectedOutput: @"
10123CompileAndVerify(source, expectedOutput:
14102var verifier = CompileAndVerify(source, expectedOutput: "12");
14160var verifier = CompileAndVerify(source, expectedOutput: "1");
14197var verifier = CompileAndVerify(source, expectedOutput: "123");
14258var verifier = CompileAndVerify(source, expectedOutput: "32");
14378var verifier = CompileAndVerify(source, expectedOutput: "02");
14592var verifier = CompileAndVerify(source, expectedOutput: "1");
14670var verifier = CompileAndVerify(source, expectedOutput: "0101");
14719var verifier = CompileAndVerify(source, expectedOutput: "01201");
14768var verifier = CompileAndVerify(source, expectedOutput: "0101");
14852var verifier = CompileAndVerify(source, expectedOutput: "0123456");
15074var verifier = CompileAndVerify(source, expectedOutput: "12");
15109var verifier = CompileAndVerify(source, expectedOutput: "12");
15141var verifier = CompileAndVerify(source, expectedOutput: "12");
15244var verifier = CompileAndVerify(source, expectedOutput: "12");
15284var verifier = CompileAndVerify(source, expectedOutput: "123");
15361var verifier = CompileAndVerify(source, expectedOutput: "1");
15440var verifier = CompileAndVerify(source, expectedOutput: "12");
15476var verifier = CompileAndVerify(source, expectedOutput: "12");
15621var verifier = CompileAndVerify(source, expectedOutput: "1");
15655var verifier = CompileAndVerify(source, expectedOutput: "2");
20330var verifier = CompileAndVerify(source, expectedOutput:
20435var verifier = CompileAndVerify(source, expectedOutput:
20685CompileAndVerify(source2, references: new[] { useImageReference ? comp1.EmitToImageReference() : comp1.ToMetadataReference() }, expectedOutput:
20815CompileAndVerify(src, expectedOutput: @"
20863var verifier = CompileAndVerify(src2,
21123var verifier = CompileAndVerify(src, expectedOutput: @"
21370var verifier = CompileAndVerify(src, expectedOutput: @"
22058var verifier = CompileAndVerify(src, expectedOutput: @"
22127var verifier = CompileAndVerify(src, expectedOutput: @"1").VerifyDiagnostics();
22614var verifier = CompileAndVerify(source, expectedOutput:
23218var verifier = CompileAndVerify(source, expectedOutput:
23683CompileAndVerify(source, expectedOutput:
24647var verifier = CompileAndVerify(src, expectedOutput: @"2").VerifyDiagnostics();
24751var verifier = CompileAndVerify(src, expectedOutput: @"2").VerifyDiagnostics();
24798var verifier = CompileAndVerify(src, expectedOutput: @"
27733var verifier = CompileAndVerify(src, expectedOutput: "True");
27786var verifier = CompileAndVerify(src, expectedOutput: "True");
27967CompileAndVerify(src, expectedOutput: "System.InsufficientExecutionStackException");
27994CompileAndVerify(src, expectedOutput: "System.InsufficientExecutionStackException");
28024CompileAndVerify(src, expectedOutput: "System.InsufficientExecutionStackException");