Skip to content

Commit 1ebca39

Browse files
committed
remove unused serializable attribute
1 parent b36b671 commit 1ebca39

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

src/coverlet.core/Exceptions.cs

+2-10
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,17 @@
55

66
namespace Coverlet.Core.Exceptions
77
{
8-
[Serializable]
98
public class CoverletException : Exception
109
{
1110
public CoverletException() { }
1211
public CoverletException(string message) : base(message) { }
13-
public CoverletException(string message, System.Exception inner) : base(message, inner) { }
14-
protected CoverletException(
15-
System.Runtime.Serialization.SerializationInfo info,
16-
System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
12+
public CoverletException(string message, Exception inner) : base(message, inner) { }
1713
}
1814

19-
[Serializable]
2015
internal class CecilAssemblyResolutionException : CoverletException
2116
{
2217
public CecilAssemblyResolutionException() { }
2318
public CecilAssemblyResolutionException(string message) : base(message) { }
24-
public CecilAssemblyResolutionException(string message, System.Exception inner) : base(message, inner) { }
25-
protected CecilAssemblyResolutionException(
26-
System.Runtime.Serialization.SerializationInfo info,
27-
System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
19+
public CecilAssemblyResolutionException(string message, Exception inner) : base(message, inner) { }
2820
}
2921
}

0 commit comments

Comments
 (0)