Skip to content

Commit

Permalink
Changed language version to C#8
Browse files Browse the repository at this point in the history
  • Loading branch information
akamsteeg committed Jun 4, 2020
1 parent 53185db commit b22dbcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>net461;netstandard2.0</TargetFrameworks>
<LangVersion>7.2</LangVersion>
<LangVersion>8.0</LangVersion>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<DocumentationFile>docs\AtleX.CommandLineArguments.xml</DocumentationFile>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
Expand Down
2 changes: 1 addition & 1 deletion src/AtleX.CommandLineArguments/CommandLineArguments.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static CommandLineArgumentsConfiguration Configuration
* We only need to create the AutoDetectConfiguration when no
* configuration is supplied yet by the user
*/
return _configuration ?? (_configuration = new AutoDetectConfiguration());
return _configuration ??= new AutoDetectConfiguration();
}
set
{
Expand Down

0 comments on commit b22dbcf

Please sign in to comment.