36 references to CompileConsoleApp
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (36)
Emit\EntryPointTests.cs (36)
31var compilation = CompileConsoleApp(source); 72var compilation = CompileConsoleApp(source); 103var compilation = CompileConsoleApp(source); 125var compilation = CompileConsoleApp(source, parseOptions: TestOptions.Regular7_1); 144var compilation = CompileConsoleApp(source, parseOptions: TestOptions.Regular7); 162var compilation = CompileConsoleApp(source); 187var compilation = CompileConsoleApp(source); 214var compilation = CompileConsoleApp(source); 239var compilation = CompileConsoleApp(source, mainTypeName: "D"); 242var compilation2 = CompileConsoleApp(source, mainTypeName: "C"); 260var compilation = CompileConsoleApp(source, mainTypeName: "C"); 311var compilation = CompileConsoleApp(source); 336var compilation = CompileConsoleApp(source); 358CompileConsoleApp(source).VerifyDiagnostics( 711var compilation = CompileConsoleApp(source); 951CompileConsoleApp(source).VerifyDiagnostics(// (4,24): warning CS0028: 'B.Main(string[*,*])' has the wrong signature to be an entry point 969CompileConsoleApp(source).VerifyDiagnostics(// (4,24): warning CS0028: 'B.Main(string[][])' has the wrong signature to be an entry point 988CompileConsoleApp(source).VerifyDiagnostics(// (5,24): warning CS0028: 'B.Main(System.Array)' has the wrong signature to be an entry point 1004CompileConsoleApp(source).VerifyDiagnostics( 1021CompileConsoleApp(source).VerifyDiagnostics( 1040CompileConsoleApp(source).VerifyDiagnostics(); 1054CompileConsoleApp(source).VerifyDiagnostics(// (4,24): warning CS0028: 'B.Main(int, params string[])' has the wrong signature to be an entry point 1072CompileConsoleApp(source).VerifyDiagnostics(// (4,24): warning CS0028: 'B.Main(string[], params string[])' has the wrong signature to be an entry point 1090CompileConsoleApp(source).VerifyDiagnostics(// (4,24): warning CS0028: 'B.Main(params int[])' has the wrong signature to be an entry point 1108CompileConsoleApp(source).VerifyDiagnostics(); 1122CompileConsoleApp(source).VerifyDiagnostics(// (4,24): warning CS0028: 'B.Main(int)' has the wrong signature to be an entry point 1140CompileConsoleApp(source).VerifyDiagnostics(// (4,24): warning CS0028: 'B.Main(string[*,*])' has the wrong signature to be an entry point 1227CompileConsoleApp(source).VerifyDiagnostics( 1242CompileConsoleApp(source).VerifyDiagnostics( 1264CompileConsoleApp(source).VerifyDiagnostics( 1283CompileConsoleApp(source).VerifyDiagnostics( 1305CompileConsoleApp(source).VerifyDiagnostics(); 1319CompileConsoleApp(source).VerifyDiagnostics(); 1337CompileConsoleApp(source).VerifyDiagnostics( 1361CompileConsoleApp(source).VerifyDiagnostics( 1375CompileConsoleApp(source).VerifyDiagnostics(