Skip to content

Commit 9a68c19

Browse files
committed
Fix GenericExceptionTester does not check partial trust serialization.
1 parent 4c526b3 commit 9a68c19

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/MsgPack.UnitTest/GenericExceptionTester.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
#region -- License Terms --
1+
#region -- License Terms --
22
//
33
// MessagePack for CLI
44
//
5-
// Copyright (C) 2010-2012 FUJIWARA, Yusuke
5+
// Copyright (C) 2010-2017 FUJIWARA, Yusuke
66
//
77
// Licensed under the Apache License, Version 2.0 (the "License");
88
// you may not use this file except in compliance with the License.
@@ -146,6 +146,7 @@ public void TestException()
146146
this.TestInnerExceptionConstructor_Null_SetToDefaultMessageAndNullInnerException();
147147
#if !SILVERLIGHT && !AOT && !NETSTANDARD1_1 && !NETSTANDARD1_3
148148
this.TestSerialization();
149+
this.TestSerializationOnPartialTrust();
149150
#endif // !SILVERLIGHT && !AOT && !NETSTANDARD1_1 && !NETSTANDARD1_3
150151
}
151152

0 commit comments

Comments
 (0)