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 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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace StardewModdingAPI.ModBuildConfig.Framework
|
namespace StardewModdingAPI.ModBuildConfig.Framework
|
||||||
|
|
Loading…
Reference in New Issue