diff --git a/src/Web/Avalonia.Web/Storage/BlobReadableStream.cs b/src/Web/Avalonia.Web/Storage/BlobReadableStream.cs index 6afc5e3054..a48f809c06 100644 --- a/src/Web/Avalonia.Web/Storage/BlobReadableStream.cs +++ b/src/Web/Avalonia.Web/Storage/BlobReadableStream.cs @@ -6,6 +6,7 @@ using System.Threading.Tasks; namespace Avalonia.Web.Storage; +[System.Runtime.Versioning.SupportedOSPlatform("browser")] // gets rid of callsite warnings internal class BlobReadableStream : Stream { private JSObject? _jSReference;