"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / errors / cs4016.cs
blob8d3d4359c0b2f5755e2ec6c6e711833d972660f9
1 // CS4016: `C.GetValue()': The return expression type of async method must be `int' rather than `Task<int>'
2 // Line: 12
4 using System;
5 using System.Threading.Tasks;
7 class C
9 public async Task<int> GetValue()
11 await Task.FromResult (0);
12 return Task.FromResult (1);