Until this very day, I could make use of primary constructors, such as:
public class Test(string text)
{
private string mText = text;
}
To be able to do this, in the previous Visual Studio CTP, I had to add this to the csproj-file:
<LangVersion>Experimental</LangVersion>
Anyhow, this no longer works in the Visual Studio 2015 Preview (with or without LangVersion
). Does anyone have any ideas about what could be going on?