From 81d47f4d50ed5652e79e7b21d6f807c625d3f182 Mon Sep 17 00:00:00 2001 From: Brian Popow Date: Sat, 15 Apr 2023 21:07:47 +0200 Subject: [PATCH] Remove some missed Serializable attributes --- src/ImageSharp/Formats/Webp/Lossy/Vp8BandProbas.cs | 3 --- src/ImageSharp/Formats/Webp/Lossy/Vp8Residual.cs | 6 ------ 2 files changed, 9 deletions(-) diff --git a/src/ImageSharp/Formats/Webp/Lossy/Vp8BandProbas.cs b/src/ImageSharp/Formats/Webp/Lossy/Vp8BandProbas.cs index 5db842ba33..90506efb81 100644 --- a/src/ImageSharp/Formats/Webp/Lossy/Vp8BandProbas.cs +++ b/src/ImageSharp/Formats/Webp/Lossy/Vp8BandProbas.cs @@ -1,14 +1,11 @@ // Copyright (c) Six Labors. // Licensed under the Six Labors Split License. -using System.Text.Json.Serialization; - namespace SixLabors.ImageSharp.Formats.Webp.Lossy; /// /// All the probabilities associated to one band. /// -[Serializable] internal class Vp8BandProbas { /// diff --git a/src/ImageSharp/Formats/Webp/Lossy/Vp8Residual.cs b/src/ImageSharp/Formats/Webp/Lossy/Vp8Residual.cs index 58fba10a7f..68bf09f948 100644 --- a/src/ImageSharp/Formats/Webp/Lossy/Vp8Residual.cs +++ b/src/ImageSharp/Formats/Webp/Lossy/Vp8Residual.cs @@ -7,20 +7,14 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Intrinsics; using System.Runtime.Intrinsics.X86; -using System.Text.Json.Serialization; namespace SixLabors.ImageSharp.Formats.Webp.Lossy; /// /// On-the-fly info about the current set of residuals. /// -[Serializable] internal class Vp8Residual { - public Vp8Residual() - { - } - public int First { get; set; } public int Last { get; set; }