Visual Studio doesn't understand func? [Need class name]

What’s the compilation error?
You can find it in Output window.