diff --git a/osu.Game/IO/Legacy/SerializationReader.cs b/osu.Game/IO/Legacy/SerializationReader.cs
index 64e25d5add..5423485c95 100644
--- a/osu.Game/IO/Legacy/SerializationReader.cs
+++ b/osu.Game/IO/Legacy/SerializationReader.cs
@@ -4,7 +4,6 @@
using System;
using System.Collections.Generic;
using System.IO;
-using System.Runtime.Serialization;
using System.Text;
namespace osu.Game.IO.Legacy
@@ -23,15 +22,6 @@ public SerializationReader(Stream s)
public int RemainingBytes => (int)(stream.Length - stream.Position);
- /// Static method to take a SerializationInfo object (an input to an ISerializable constructor)
- /// and produce a SerializationReader from which serialized objects can be read .
- public static SerializationReader GetReader(SerializationInfo info)
- {
- byte[] byteArray = (byte[])info.GetValue("X", typeof(byte[]));
- MemoryStream ms = new MemoryStream(byteArray);
- return new SerializationReader(ms);
- }
-
/// Reads a string from the buffer. Overrides the base implementation so it can cope with nulls.
public override string ReadString()
{
diff --git a/osu.Game/IO/Legacy/SerializationWriter.cs b/osu.Game/IO/Legacy/SerializationWriter.cs
index 6dfb21e5bd..c9fff05bcc 100644
--- a/osu.Game/IO/Legacy/SerializationWriter.cs
+++ b/osu.Game/IO/Legacy/SerializationWriter.cs
@@ -4,7 +4,6 @@
using System;
using System.Collections.Generic;
using System.IO;
-using System.Runtime.Serialization;
using System.Text;
// ReSharper disable ConditionIsAlwaysTrueOrFalse (we're allowing nulls to be passed to the writer where the underlying class doesn't).
@@ -221,13 +220,6 @@ public void WriteObject(object obj)
} // if obj==null
} // WriteObject
- /// Adds the SerializationWriter buffer to the SerializationInfo at the end of GetObjectData().
- public void AddToInfo(SerializationInfo info)
- {
- byte[] b = ((MemoryStream)BaseStream).ToArray();
- info.AddValue("X", b, typeof(byte[]));
- }
-
public void WriteRawBytes(byte[] b)
{
base.Write(b);