diff --git a/OpenToolkit.GraphicsLibraryFramework/GLFWException.cs b/OpenToolkit.GraphicsLibraryFramework/GLFWException.cs
index 7a2b92fff..e723e61b3 100644
--- a/OpenToolkit.GraphicsLibraryFramework/GLFWException.cs
+++ b/OpenToolkit.GraphicsLibraryFramework/GLFWException.cs
@@ -61,18 +61,5 @@ namespace OpenToolkit.GraphicsLibraryFramework
: base(message, innerException)
{
}
-
- ///
- /// Initializes a new instance of the class with the specified context
- /// and the serialization information.
- ///
- /// The associated with this exception.
- ///
- /// A that represents the context of this exception.
- ///
- protected GLFWException(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- }
}
}
diff --git a/Robust.Client/GameObjects/ComponentStateApplyException.cs b/Robust.Client/GameObjects/ComponentStateApplyException.cs
index 532a9ef8c..fd80e7162 100644
--- a/Robust.Client/GameObjects/ComponentStateApplyException.cs
+++ b/Robust.Client/GameObjects/ComponentStateApplyException.cs
@@ -18,11 +18,5 @@ namespace Robust.Client.GameObjects
public ComponentStateApplyException(string message, Exception inner) : base(message, inner)
{
}
-
- protected ComponentStateApplyException(
- SerializationInfo info,
- StreamingContext context) : base(info, context)
- {
- }
}
}
diff --git a/Robust.Client/Graphics/Clyde/ShaderCompilationException.cs b/Robust.Client/Graphics/Clyde/ShaderCompilationException.cs
index 7a7cf97cf..a5c2c5af8 100644
--- a/Robust.Client/Graphics/Clyde/ShaderCompilationException.cs
+++ b/Robust.Client/Graphics/Clyde/ShaderCompilationException.cs
@@ -20,11 +20,5 @@ namespace Robust.Client.Graphics.Clyde
public ShaderCompilationException(string message, Exception inner) : base(message, inner)
{
}
-
- protected ShaderCompilationException(
- SerializationInfo info,
- StreamingContext context) : base(info, context)
- {
- }
}
}
diff --git a/Robust.Client/Graphics/Clyde/Windowing/Glfw.cs b/Robust.Client/Graphics/Clyde/Windowing/Glfw.cs
index aa898145d..a27dde671 100644
--- a/Robust.Client/Graphics/Clyde/Windowing/Glfw.cs
+++ b/Robust.Client/Graphics/Clyde/Windowing/Glfw.cs
@@ -125,12 +125,6 @@ namespace Robust.Client.Graphics.Clyde
public GlfwException(string message, Exception inner) : base(message, inner)
{
}
-
- protected GlfwException(
- SerializationInfo info,
- StreamingContext context) : base(info, context)
- {
- }
}
}
}
diff --git a/Robust.Shared/Configuration/ConfigurationManager.cs b/Robust.Shared/Configuration/ConfigurationManager.cs
index 3862eebac..744f329c6 100644
--- a/Robust.Shared/Configuration/ConfigurationManager.cs
+++ b/Robust.Shared/Configuration/ConfigurationManager.cs
@@ -799,11 +799,5 @@ namespace Robust.Shared.Configuration
public InvalidConfigurationException(string message, Exception inner) : base(message, inner)
{
}
-
- protected InvalidConfigurationException(
- System.Runtime.Serialization.SerializationInfo info,
- System.Runtime.Serialization.StreamingContext context) : base(info, context)
- {
- }
}
}
diff --git a/Robust.Shared/ContentPack/TypeCheckFailedException.cs b/Robust.Shared/ContentPack/TypeCheckFailedException.cs
index 64af4f84f..d286ffeae 100644
--- a/Robust.Shared/ContentPack/TypeCheckFailedException.cs
+++ b/Robust.Shared/ContentPack/TypeCheckFailedException.cs
@@ -18,11 +18,5 @@ namespace Robust.Shared.ContentPack
public TypeCheckFailedException(string message, Exception inner) : base(message, inner)
{
}
-
- protected TypeCheckFailedException(
- SerializationInfo info,
- StreamingContext context) : base(info, context)
- {
- }
}
}
diff --git a/Robust.Shared/Exceptions/TypeArgumentException.cs b/Robust.Shared/Exceptions/TypeArgumentException.cs
index a6174093e..68e95243e 100644
--- a/Robust.Shared/Exceptions/TypeArgumentException.cs
+++ b/Robust.Shared/Exceptions/TypeArgumentException.cs
@@ -32,24 +32,5 @@ namespace Robust.Shared.Exceptions
{
TypeArgumentName = name;
}
-
- private TypeArgumentException(
- SerializationInfo info,
- StreamingContext context) : base(info, context)
- {
- TypeArgumentName = info.GetString("TypeArgumentName");
- }
-
- public override void GetObjectData(SerializationInfo info, StreamingContext context)
- {
- if (info == null)
- {
- throw new ArgumentNullException(nameof(info));
- }
-
- info.AddValue("TypeArgumentName", TypeArgumentName);
-
- base.GetObjectData(info, context);
- }
}
}
diff --git a/Robust.Shared/GameObjects/ComponentFactory.cs b/Robust.Shared/GameObjects/ComponentFactory.cs
index 6f26767ef..dfa615b17 100644
--- a/Robust.Shared/GameObjects/ComponentFactory.cs
+++ b/Robust.Shared/GameObjects/ComponentFactory.cs
@@ -503,9 +503,6 @@ namespace Robust.Shared.GameObjects
public UnknownComponentException(string message, Exception inner) : base(message, inner)
{
}
- protected UnknownComponentException(
- SerializationInfo info,
- StreamingContext context) : base(info, context) { }
}
[Virtual]
diff --git a/Robust.Shared/GameObjects/EntityCreationException.cs b/Robust.Shared/GameObjects/EntityCreationException.cs
index fba61e08a..5dc9e0baa 100644
--- a/Robust.Shared/GameObjects/EntityCreationException.cs
+++ b/Robust.Shared/GameObjects/EntityCreationException.cs
@@ -24,11 +24,5 @@ namespace Robust.Shared.GameObjects
public EntityCreationException(string message, Exception inner) : base(message, inner)
{
}
-
- protected EntityCreationException(
- SerializationInfo info,
- StreamingContext context) : base(info, context)
- {
- }
}
}
diff --git a/Robust.Shared/IoC/Exceptions/ImplementationConstructorException.cs b/Robust.Shared/IoC/Exceptions/ImplementationConstructorException.cs
index 29279826e..2691f79bd 100644
--- a/Robust.Shared/IoC/Exceptions/ImplementationConstructorException.cs
+++ b/Robust.Shared/IoC/Exceptions/ImplementationConstructorException.cs
@@ -20,17 +20,5 @@ namespace Robust.Shared.IoC.Exceptions
{
typeName = type.AssemblyQualifiedName;
}
-
- protected ImplementationConstructorException(SerializationInfo info, StreamingContext context) : base(info, context)
- {
- typeName = info.GetString("typeName");
- }
-
- public override void GetObjectData(SerializationInfo info, StreamingContext context)
- {
- base.GetObjectData(info, context);
-
- info.AddValue("typeName", typeName);
- }
}
}
diff --git a/Robust.Shared/IoC/Exceptions/UnregisteredDependencyException.cs b/Robust.Shared/IoC/Exceptions/UnregisteredDependencyException.cs
index e784df2f5..eb8cc9a2e 100644
--- a/Robust.Shared/IoC/Exceptions/UnregisteredDependencyException.cs
+++ b/Robust.Shared/IoC/Exceptions/UnregisteredDependencyException.cs
@@ -34,23 +34,5 @@ namespace Robust.Shared.IoC.Exceptions
TargetType = target.AssemblyQualifiedName;
FieldName = fieldName;
}
-
- protected UnregisteredDependencyException(
- SerializationInfo info,
- StreamingContext context) : base(info, context)
- {
- OwnerType = info.GetString("OwnerType");
- TargetType = info.GetString("TargetType");
- FieldName = info.GetString("FieldName");
- }
-
- public override void GetObjectData(SerializationInfo info, StreamingContext context)
- {
- base.GetObjectData(info, context);
-
- info.AddValue("OwnerType", OwnerType);
- info.AddValue("TargetType", TargetType);
- info.AddValue("FieldName", FieldName);
- }
}
}
diff --git a/Robust.Shared/IoC/Exceptions/UnregisteredTypeException.cs b/Robust.Shared/IoC/Exceptions/UnregisteredTypeException.cs
index 58e5513b5..5ca4cb6c3 100644
--- a/Robust.Shared/IoC/Exceptions/UnregisteredTypeException.cs
+++ b/Robust.Shared/IoC/Exceptions/UnregisteredTypeException.cs
@@ -19,17 +19,5 @@ namespace Robust.Shared.IoC.Exceptions
{
TypeName = type.AssemblyQualifiedName;
}
-
- protected UnregisteredTypeException(SerializationInfo info, StreamingContext context) : base(info, context)
- {
- TypeName = info.GetString("TypeName");
- }
-
- public override void GetObjectData(SerializationInfo info, StreamingContext context)
- {
- base.GetObjectData(info, context);
-
- info.AddValue("TypeName", TypeName);
- }
}
}
diff --git a/Robust.Shared/Network/NetManager.cs b/Robust.Shared/Network/NetManager.cs
index 1b2fb8cfb..58c14da53 100644
--- a/Robust.Shared/Network/NetManager.cs
+++ b/Robust.Shared/Network/NetManager.cs
@@ -1153,12 +1153,6 @@ namespace Robust.Shared.Network
public ClientDisconnectedException(string message, Exception inner) : base(message, inner)
{
}
-
- protected ClientDisconnectedException(
- SerializationInfo info,
- StreamingContext context) : base(info, context)
- {
- }
}
private sealed class NetPeerData
diff --git a/Robust.Shared/Prototypes/Exceptions.cs b/Robust.Shared/Prototypes/Exceptions.cs
index 3f0f185d6..110941c10 100644
--- a/Robust.Shared/Prototypes/Exceptions.cs
+++ b/Robust.Shared/Prototypes/Exceptions.cs
@@ -18,10 +18,6 @@ public class PrototypeLoadException : Exception
public PrototypeLoadException(string message, Exception inner) : base(message, inner)
{
}
-
- public PrototypeLoadException(SerializationInfo info, StreamingContext context) : base(info, context)
- {
- }
}
[Serializable]
diff --git a/Robust.Shared/Resources/RsiLoading.cs b/Robust.Shared/Resources/RsiLoading.cs
index 8a9853c7b..37779d66a 100644
--- a/Robust.Shared/Resources/RsiLoading.cs
+++ b/Robust.Shared/Resources/RsiLoading.cs
@@ -155,10 +155,4 @@ public class RSILoadException : Exception
public RSILoadException(string message, Exception inner) : base(message, inner)
{
}
-
- protected RSILoadException(
- System.Runtime.Serialization.SerializationInfo info,
- System.Runtime.Serialization.StreamingContext context) : base(info, context)
- {
- }
}
diff --git a/Robust.Shared/SandboxArgumentException.cs b/Robust.Shared/SandboxArgumentException.cs
index 08bbd9ac1..5e6b3f981 100644
--- a/Robust.Shared/SandboxArgumentException.cs
+++ b/Robust.Shared/SandboxArgumentException.cs
@@ -18,11 +18,5 @@ namespace Robust.Shared
public SandboxArgumentException(string message, Exception inner) : base(message, inner)
{
}
-
- protected SandboxArgumentException(
- SerializationInfo info,
- StreamingContext context) : base(info, context)
- {
- }
}
}