Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.Core/FileFormats/CWSFile.cs')
-rw-r--r--UVtools.Core/FileFormats/CWSFile.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/UVtools.Core/FileFormats/CWSFile.cs b/UVtools.Core/FileFormats/CWSFile.cs
index f541172..41cfe5f 100644
--- a/UVtools.Core/FileFormats/CWSFile.cs
+++ b/UVtools.Core/FileFormats/CWSFile.cs
@@ -569,8 +569,8 @@ namespace UVtools.Core.FileFormats
manifest.Slices[layerIndex] = new CWSManifest.Slice(this[layerIndex].FormatFileName(filename));
}
- XmlSerializer serializer = new XmlSerializer(manifest.GetType());
- XmlSerializerNamespaces ns = new XmlSerializerNamespaces();
+ XmlSerializer serializer = new(manifest.GetType());
+ XmlSerializerNamespaces ns = new();
ns.Add("", "");
var entry = outputFile.CreateEntry(CWSManifest.FileName);
using (var stream = entry.Open())