blob: 1ff2894089f434c2804830d5b7fab56b48a51d29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// CS8030: Anonymous function or lambda expression converted to a void returning delegate cannot return a value
// Line: 11
using System;
using System.Threading.Tasks;
class C
{
public async void GetValue()
{
return await Task.FromResult(100);
}
}
|