remove `#nullable disable` in mod build package (#837)

Since it targets .NET Standard 2.0, they're not available anyway.
This commit is contained in:
Jesse Plamondon-Willard 2022-04-12 19:19:37 -04:00
parent 0b48c1748b
commit 4e0e928c94
No known key found for this signature in database
GPG Key ID: CF8B1456B3E29F49
6 changed files with 3 additions and 15 deletions

View File

@ -1,5 +1,3 @@
#nullable disable
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp;
@ -42,8 +40,8 @@ namespace StardewModdingAPI.ModBuildConfig.Analyzer
// invalid // invalid
fromExpression = null; fromExpression = null;
fromType = default(TypeInfo); fromType = default;
toType = default(TypeInfo); toType = default;
return false; return false;
} }
@ -76,7 +74,7 @@ namespace StardewModdingAPI.ModBuildConfig.Analyzer
// invalid // invalid
declaringType = null; declaringType = null;
memberType = default(TypeInfo); memberType = default;
memberName = null; memberName = null;
return false; return false;
} }

View File

@ -1,5 +1,3 @@
#nullable disable
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.Immutable; using System.Collections.Immutable;

View File

@ -1,5 +1,3 @@
#nullable disable
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.Immutable; using System.Collections.Immutable;

View File

@ -1,5 +1,3 @@
#nullable disable
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;

View File

@ -1,5 +1,3 @@
#nullable disable
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;

View File

@ -1,5 +1,3 @@
#nullable disable
using System; using System;
namespace StardewModdingAPI.ModBuildConfig.Framework namespace StardewModdingAPI.ModBuildConfig.Framework