// the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
// Boston, MA 02110-1301, USA.
+#nullable enable
+
using System;
using System.Collections.Generic;
using System.Drawing;
}
}
- MemoryImage result = null;
+ MemoryImage? result = null;
try
{
result = MemoryImage.CopyFromImage(bitmap);
using var stream = await http.GetStreamAsync(tileUrl)
.ConfigureAwait(false);
- MemoryImage result = null;
+ MemoryImage? result = null;
try
{
result = await MemoryImage.CopyFromStreamAsync(stream).ConfigureAwait(false);