70 references to CompileAndVerify
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (70)
Semantics\RecordTests.cs (70)
876var verifier = CompileAndVerify(src, expectedOutput: @"
961CompileAndVerify(src, expectedOutput: @"
986CompileAndVerify(src, expectedOutput: @"
1553var verifier = CompileAndVerify(src, expectedOutput: "True");
1684var verifier = CompileAndVerify(src, expectedOutput: "12");
1796CompileAndVerify(src, expectedOutput: @"1
2011var verifier = CompileAndVerify(src, expectedOutput: @"0
2050var verifier = CompileAndVerify(src, expectedOutput: @"0 1
2090var verifier = CompileAndVerify(src, expectedOutput: @"0 1
2374var verifier = CompileAndVerify(src, expectedOutput: "2").VerifyDiagnostics();
4225CompileAndVerify(source3, references: new[] { comp1Ref, comp2Ref }, expectedOutput: @"1
4355CompileAndVerify(source3, references: new[] { comp1Ref, comp2Ref }, expectedOutput: @"1
7642var verifier = CompileAndVerify(source, expectedOutput: @"1
7684var verifier = CompileAndVerify(source, expectedOutput: @"1
7724var verifier = CompileAndVerify(source, expectedOutput: @"1
7758var verifier = CompileAndVerify(source, expectedOutput: @"1
7792var verifier = CompileAndVerify(source, expectedOutput: @"1
7827var verifier = CompileAndVerify(source, expectedOutput: @"1
7865CompileAndVerify(src, expectedOutput: @"
7895CompileAndVerify(src, expectedOutput: @"
8061var verifier = CompileAndVerify(src, expectedOutput: @"
8238var verifier = CompileAndVerify(src, expectedOutput: "11").VerifyDiagnostics();
8284var verifier = CompileAndVerify(src, expectedOutput: @"
8336var verifier = CompileAndVerify(src, expectedOutput: @"
8386CompileAndVerify(src, expectedOutput: "abc").VerifyDiagnostics();
8418var verifier = CompileAndVerify(src, expectedOutput: @"
9508var verifier = CompileAndVerify(src, expectedOutput: @"
9539var verifier = CompileAndVerify(@"
9588var verifier = CompileAndVerify(src, expectedOutput: @"
10118CompileAndVerify(source, expectedOutput:
14145var verifier = CompileAndVerify(source, expectedOutput: "12");
14203var verifier = CompileAndVerify(source, expectedOutput: "1");
14240var verifier = CompileAndVerify(source, expectedOutput: "123");
14301var verifier = CompileAndVerify(source, expectedOutput: "32");
14421var verifier = CompileAndVerify(source, expectedOutput: "02");
14635var verifier = CompileAndVerify(source, expectedOutput: "1");
14713var verifier = CompileAndVerify(source, expectedOutput: "0101");
14762var verifier = CompileAndVerify(source, expectedOutput: "01201");
14811var verifier = CompileAndVerify(source, expectedOutput: "0101");
14895var verifier = CompileAndVerify(source, expectedOutput: "0123456");
15117var verifier = CompileAndVerify(source, expectedOutput: "12");
15152var verifier = CompileAndVerify(source, expectedOutput: "12");
15184var verifier = CompileAndVerify(source, expectedOutput: "12");
15287var verifier = CompileAndVerify(source, expectedOutput: "12");
15327var verifier = CompileAndVerify(source, expectedOutput: "123");
15404var verifier = CompileAndVerify(source, expectedOutput: "1");
15483var verifier = CompileAndVerify(source, expectedOutput: "12");
15519var verifier = CompileAndVerify(source, expectedOutput: "12");
15664var verifier = CompileAndVerify(source, expectedOutput: "1");
15698var verifier = CompileAndVerify(source, expectedOutput: "2");
20364var verifier = CompileAndVerify(source, expectedOutput:
20469var verifier = CompileAndVerify(source, expectedOutput:
20719CompileAndVerify(source2, references: new[] { useImageReference ? comp1.EmitToImageReference() : comp1.ToMetadataReference() }, expectedOutput:
20849CompileAndVerify(src, expectedOutput: @"
20897var verifier = CompileAndVerify(src2,
21157var verifier = CompileAndVerify(src, expectedOutput: @"
21404var verifier = CompileAndVerify(src, expectedOutput: @"
22092var verifier = CompileAndVerify(src, expectedOutput: @"
22161var verifier = CompileAndVerify(src, expectedOutput: @"1").VerifyDiagnostics();
22648var verifier = CompileAndVerify(source, expectedOutput:
23252var verifier = CompileAndVerify(source, expectedOutput:
23717CompileAndVerify(source, expectedOutput:
24681var verifier = CompileAndVerify(src, expectedOutput: @"2").VerifyDiagnostics();
24785var verifier = CompileAndVerify(src, expectedOutput: @"2").VerifyDiagnostics();
24832var verifier = CompileAndVerify(src, expectedOutput: @"
27761var verifier = CompileAndVerify(src, expectedOutput: "True");
27814var verifier = CompileAndVerify(src, expectedOutput: "True");
27995CompileAndVerify(src, expectedOutput: "System.InsufficientExecutionStackException");
28022CompileAndVerify(src, expectedOutput: "System.InsufficientExecutionStackException");
28052CompileAndVerify(src, expectedOutput: "System.InsufficientExecutionStackException");