I'm trying to compile a standalone C# file using the Microsoft.CSharp.CSharpCodeProvider in mscorlib version 4.
It's complaining about properties that are using expression bodies instead of statement bodies.
I.e., this it will compile:
protected Foo MyFoo
{
get { return this.myFoo; }
}
But this it won't:
protected Foo MyFoo => this.myFoo;
Is there a more recent version of mscorlib I should be using?