Search Unity

  1. Get the latest news, tutorials and offers directly to your inbox with our newsletters. Sign up now.
    Dismiss Notice

Bug Don't report <LangVersion>latest</LangVersion> because it triggers some analyzers

Discussion in '2021.1 Beta' started by aybe, Nov 11, 2020.

  1. aybe

    aybe

    Joined:
    Feb 20, 2019
    Posts:
    25
    Issues such as IDE0090: 'new' expression can be simplified are inappropriately raised because C# 9 isn't yet supported by Unity.

    Thanks :)
     
    escape_artist likes this.
  2. Stakk3r

    Stakk3r

    Joined:
    Mar 10, 2020
    Posts:
    1
    Still having this problem with 2021... very annoying to see those problem markers all around my code! Is there a way to manually fix the LangVersion?
     
unityunity