try
try copied to clipboard
"error CS1545: Property, indexer, or event is not supported by the language" on attempt to _read_ init-only property
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?
- [x]
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
- [x] Windows 10
- [ ] macOS
- [ ] Linux (Please specify distro)
- [ ] iOS
- [ ] Android
- Browser
- [x] Chrome
- [x] Edge
- [ ] Safari
The problem is severe: it prevents using dotnet-try w/ any NuGet packages involving this C# 9 feature.