CS8107 Feature 'nullable reference types' is not available in C# 7.0. Please use language version 8.0 or greater #31666
Labels
Area-Compilers
Bug
Developer Community
The issue was originally reported on https://developercommunity.visualstudio.com
This error reported for this sequence of code
This issue has been moved from https://developercommunity.visualstudio.com/content/problem/400852/cs8107-feature-nullable-reference-types-is-not-ava.html
VSTS ticketId: 742071
These are the original issue comments:
Alexey Kuznetsov on 12/7/2018, 01:15 AM (3 days ago): The similar problem.The code the something like that:object value = new string[0];object resultValue = value is string[]? value as string[] : new[] { value.ToString() };Lang c#7. Works in VS 2017.
These are the original issue solutions:
(no solutions)
The text was updated successfully, but these errors were encountered: