I have been having this issues while testing the new features of C# 9.0 with Visual Studio 2019 Preview. I was testing the init setter, but the compiler shows error with the message:
Error CS0518 Predefined type 'System.Runtime.CompilerServices.IsExternalInit' is not defined or imported. Below is the code snippet that I've tried:
public class Book
{
string ISBN { get; init; }
}