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:
parent
0b48c1748b
commit
4e0e928c94
|
@ -1,5 +1,3 @@
|
|||
#nullable disable
|
||||
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.CodeAnalysis;
|
||||
using Microsoft.CodeAnalysis.CSharp;
|
||||
|
@ -42,8 +40,8 @@ namespace StardewModdingAPI.ModBuildConfig.Analyzer
|
|||
|
||||
// invalid
|
||||
fromExpression = null;
|
||||
fromType = default(TypeInfo);
|
||||
toType = default(TypeInfo);
|
||||
fromType = default;
|
||||
toType = default;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -76,7 +74,7 @@ namespace StardewModdingAPI.ModBuildConfig.Analyzer
|
|||
|
||||
// invalid
|
||||
declaringType = null;
|
||||
memberType = default(TypeInfo);
|
||||
memberType = default;
|
||||
memberName = null;
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#nullable disable
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Immutable;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#nullable disable
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Immutable;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#nullable disable
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#nullable disable
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#nullable disable
|
||||
|
||||
using System;
|
||||
|
||||
namespace StardewModdingAPI.ModBuildConfig.Framework
|
||||
|
|
Loading…
Reference in New Issue