"error CS1545: Property, indexer, or event is not supported by the language" on attempt to _read_ init-only property
alexyakunin opened this issue · 1 comments
alexyakunin commented
Describe the bug
Attempting to access any init-only property produces "error CS1545: Property, indexer, or event is not supported by the language" in dotnet-try tool.
Did this error occur while using dotnet try
or online?
-
dotnet-try
- online
What kind of error was it?
- User Interface (UI): For example the output never displayed
- Service Error: For example "The service is temporarily unavailable. We are working on it"
- Other:
Screenshots
Please complete the following:
- OS
- Windows 10
- macOS
- Linux (Please specify distro)
- iOS
- Android
- Browser
- Chrome
- Edge
- Safari
alexyakunin commented
The problem is severe: it prevents using dotnet-try w/ any NuGet packages involving this C# 9 feature.