Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git] / mcs / errors / cs0126-2.cs
blobc472df74e87557a35f484afc7e1bccf256d01ce1
1 // CS0126: An object of a type convertible to `string' is required for the return statement
2 // Line: 7
4 using System.Threading.Tasks;
6 class A
8 static async Task<string> Test ()
10 await CallAsync ();
11 return;
14 static Task<string> CallAsync ()
16 return null;