diff --git a/src/DarkConfig/Attributes.cs b/src/DarkConfig/Attributes.cs index 32badfd..3ffa3cf 100644 --- a/src/DarkConfig/Attributes.cs +++ b/src/DarkConfig/Attributes.cs @@ -1,5 +1,3 @@ -#nullable enable - using System; namespace DarkConfig { diff --git a/src/DarkConfig/ConfigFileInfo.cs b/src/DarkConfig/ConfigFileInfo.cs index 920c629..22d8cf3 100644 --- a/src/DarkConfig/ConfigFileInfo.cs +++ b/src/DarkConfig/ConfigFileInfo.cs @@ -1,5 +1,3 @@ -#nullable enable - using System; namespace DarkConfig { diff --git a/src/DarkConfig/ConfigProcessor.cs b/src/DarkConfig/ConfigProcessor.cs index de53620..0a63834 100644 --- a/src/DarkConfig/ConfigProcessor.cs +++ b/src/DarkConfig/ConfigProcessor.cs @@ -1,5 +1,3 @@ -#nullable enable - namespace DarkConfig { /// Processors can modify DocNodes after being parsed from YAML, but before used by the rest of the systems /// Note: this is ONLY run on the YAML -> DocNode path, any other DocNode creation is not affected diff --git a/src/DarkConfig/ConfigSource.cs b/src/DarkConfig/ConfigSource.cs index 24c8d29..5359f43 100644 --- a/src/DarkConfig/ConfigSource.cs +++ b/src/DarkConfig/ConfigSource.cs @@ -1,5 +1,3 @@ -#nullable enable - using System.Collections; using System.Collections.Generic; using System.Linq; diff --git a/src/DarkConfig/Configs.cs b/src/DarkConfig/Configs.cs index 5cbf4ea..933f5ef 100644 --- a/src/DarkConfig/Configs.cs +++ b/src/DarkConfig/Configs.cs @@ -1,5 +1,3 @@ -#nullable enable - using System; using System.Collections; using System.IO; diff --git a/src/DarkConfig/DarkConfig.csproj b/src/DarkConfig/DarkConfig.csproj index 09c6628..287b9c7 100644 --- a/src/DarkConfig/DarkConfig.csproj +++ b/src/DarkConfig/DarkConfig.csproj @@ -1,12 +1,13 @@  + net6.0 - disable - disable + 9 + disable + enable false ..\..\bin\$(Configuration) - 9 diff --git a/src/DarkConfig/DocNode/ComposedDocNode.cs b/src/DarkConfig/DocNode/ComposedDocNode.cs index 97c97b0..5951bfe 100644 --- a/src/DarkConfig/DocNode/ComposedDocNode.cs +++ b/src/DarkConfig/DocNode/ComposedDocNode.cs @@ -1,5 +1,3 @@ -#nullable enable - using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; diff --git a/src/DarkConfig/DocNode/DocNode.cs b/src/DarkConfig/DocNode/DocNode.cs index 78089f9..49264fc 100644 --- a/src/DarkConfig/DocNode/DocNode.cs +++ b/src/DarkConfig/DocNode/DocNode.cs @@ -1,5 +1,3 @@ -#nullable enable - using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; diff --git a/src/DarkConfig/DocNode/YamlDocNode.cs b/src/DarkConfig/DocNode/YamlDocNode.cs index 2c8b006..e647ee3 100644 --- a/src/DarkConfig/DocNode/YamlDocNode.cs +++ b/src/DarkConfig/DocNode/YamlDocNode.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections; using System.Collections.Generic; diff --git a/src/DarkConfig/Exceptions.cs b/src/DarkConfig/Exceptions.cs index 1ef7bb0..53266e6 100644 --- a/src/DarkConfig/Exceptions.cs +++ b/src/DarkConfig/Exceptions.cs @@ -1,5 +1,3 @@ -#nullable enable - using System; using System.IO; diff --git a/src/DarkConfig/FileSource.cs b/src/DarkConfig/FileSource.cs index f6be717..f6071ae 100644 --- a/src/DarkConfig/FileSource.cs +++ b/src/DarkConfig/FileSource.cs @@ -1,5 +1,3 @@ -#nullable enable - using System; using System.Collections; using System.IO; diff --git a/src/DarkConfig/Internal/BuiltInTypeReifiers.cs b/src/DarkConfig/Internal/BuiltInTypeReifiers.cs index 4533078..72eaf35 100644 --- a/src/DarkConfig/Internal/BuiltInTypeReifiers.cs +++ b/src/DarkConfig/Internal/BuiltInTypeReifiers.cs @@ -1,5 +1,3 @@ -#nullable enable - using System; namespace DarkConfig.Internal { diff --git a/src/DarkConfig/Internal/ChecksumUtils.cs b/src/DarkConfig/Internal/ChecksumUtils.cs index c62e595..373f3bd 100644 --- a/src/DarkConfig/Internal/ChecksumUtils.cs +++ b/src/DarkConfig/Internal/ChecksumUtils.cs @@ -1,5 +1,3 @@ -#nullable enable - using System.IO; namespace DarkConfig.Internal { diff --git a/src/DarkConfig/Internal/ConfigFileManager.cs b/src/DarkConfig/Internal/ConfigFileManager.cs index b7d169a..b56af41 100644 --- a/src/DarkConfig/Internal/ConfigFileManager.cs +++ b/src/DarkConfig/Internal/ConfigFileManager.cs @@ -1,5 +1,3 @@ -#nullable enable - using System; using System.Collections; using System.Collections.Generic; diff --git a/src/DarkConfig/Internal/DocumentationGenerator.cs b/src/DarkConfig/Internal/DocumentationGenerator.cs index 2fcb98d..4312e89 100644 --- a/src/DarkConfig/Internal/DocumentationGenerator.cs +++ b/src/DarkConfig/Internal/DocumentationGenerator.cs @@ -1,5 +1,3 @@ -#nullable enable - using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; diff --git a/src/DarkConfig/Internal/MultiCaseDictionary.cs b/src/DarkConfig/Internal/MultiCaseDictionary.cs index 48ee958..8e58e30 100644 --- a/src/DarkConfig/Internal/MultiCaseDictionary.cs +++ b/src/DarkConfig/Internal/MultiCaseDictionary.cs @@ -1,5 +1,3 @@ -#nullable enable - using System; using System.Collections; using System.Collections.Generic; diff --git a/src/DarkConfig/Internal/ReflectionCache.cs b/src/DarkConfig/Internal/ReflectionCache.cs index d16b111..105b094 100644 --- a/src/DarkConfig/Internal/ReflectionCache.cs +++ b/src/DarkConfig/Internal/ReflectionCache.cs @@ -1,5 +1,3 @@ -#nullable enable - using System; using System.Collections.Generic; using System.Reflection; diff --git a/src/DarkConfig/Internal/RegexUtils.cs b/src/DarkConfig/Internal/RegexUtils.cs index 8159e2d..fc11356 100644 --- a/src/DarkConfig/Internal/RegexUtils.cs +++ b/src/DarkConfig/Internal/RegexUtils.cs @@ -1,5 +1,3 @@ -#nullable enable - using System.Collections.Generic; using System.Text.RegularExpressions; diff --git a/src/DarkConfig/Internal/StringExtensions.cs b/src/DarkConfig/Internal/StringExtensions.cs index a71ab6e..19c1bd3 100644 --- a/src/DarkConfig/Internal/StringExtensions.cs +++ b/src/DarkConfig/Internal/StringExtensions.cs @@ -1,5 +1,3 @@ -#nullable enable - namespace DarkConfig.Internal { static class StringExtensions { /// Returns the lowercase version of the key if ignoreCase, otherwise return the key itself diff --git a/src/DarkConfig/Internal/TypeReifier.cs b/src/DarkConfig/Internal/TypeReifier.cs index 69e7332..cc37467 100644 --- a/src/DarkConfig/Internal/TypeReifier.cs +++ b/src/DarkConfig/Internal/TypeReifier.cs @@ -1,5 +1,3 @@ -#nullable enable - using System; using System.Collections.Generic; using System.Linq; diff --git a/src/DarkConfig/Settings.cs b/src/DarkConfig/Settings.cs index 4575fb5..f9c9902 100644 --- a/src/DarkConfig/Settings.cs +++ b/src/DarkConfig/Settings.cs @@ -1,5 +1,3 @@ -#nullable enable - using System; namespace DarkConfig {