diff --git a/GBase/DataHandling/XmlDataWriter.cs b/GBase/DataHandling/XmlDataWriter.cs index 519d7c7..8918b91 100644 --- a/GBase/DataHandling/XmlDataWriter.cs +++ b/GBase/DataHandling/XmlDataWriter.cs @@ -72,7 +72,7 @@ namespace GBase.DataHandling if (typeName == null) throw new ArgumentNullException(nameof(typeName)); - file.Seek(0, SeekOrigin.Begin); //reset stream to it's beginning to be able to save it + file.Seek(0, SeekOrigin.Begin); //reset stream to it's beginning to be able to load it XDocument xmlDocument = await XDocument.LoadAsync(file, LoadOptions.None, cancellationToken); file.Seek(0, SeekOrigin.Begin); //reset stream to it's beginning to be able to save it