Skip to content

Commit 45dfb2c

Browse files
committed
Remove unused directives.
1 parent 8898798 commit 45dfb2c

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed
Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
6-
#if NET45
7-
using System.Runtime.Serialization;
8-
#endif
92

103
namespace MwParserFromScratch
114
{
@@ -18,9 +11,6 @@ namespace MwParserFromScratch
1811
/// attaching the original wikitext that suffered from this Exception, and the partial
1912
/// call stack that raises the exception.
2013
/// </remarks>
21-
#if NET45
22-
[Serializable]
23-
#endif
2414
public class InvalidParserStateException : Exception
2515
{
2616
public InvalidParserStateException()
@@ -35,12 +25,5 @@ public InvalidParserStateException(string message) : base(message)
3525
public InvalidParserStateException(string message, Exception inner) : base(message, inner)
3626
{
3727
}
38-
39-
#if NET45
40-
public InvalidParserStateException(SerializationInfo info, StreamingContext context) : base(info, context)
41-
{
42-
43-
}
44-
#endif
4528
}
4629
}

0 commit comments

Comments
 (0)