V10: fix more nullable references (#12321)

* Add Nullable and WarningsAsErrors to Build.props

* Remove Nullable from cs proj, add ImplicitUsings to build.props

* Fix errors in core

* Fix in JsonSchema

* Fix infrastructure

* Add non-ambiguous using

* Fix Web/Lucene

* Fix backoffice

* Fix up new build errors from merge

Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk>
This commit is contained in:
Nikolaj Geisle
2022-04-29 15:02:36 +02:00
committed by GitHub
parent 285c7e75a2
commit f23b57db65
49 changed files with 212 additions and 151 deletions

View File

@@ -10,7 +10,7 @@ namespace Umbraco.Cms.Core.Extensions
/// </summary>
public static class HostEnvironmentExtensions
{
private static string s_temporaryApplicationId;
private static string? s_temporaryApplicationId;
/// <summary>
/// Maps a virtual path to a physical path to the application's content root.