Skip to content

Commit 712f514

Browse files
committed
Fix Xamarin unit tests which do not generate serializer.
1 parent 8491ab6 commit 712f514

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/MsgPack.UnitTest/Serialization/SerializationContextTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,9 +436,9 @@ public void TestResolveSerializer_SetNull_Generated()
436436
var result = context.GetSerializer<Image>();
437437
Assert.That( raised, Is.EqualTo( 1 ) );
438438
Assert.That( result, Is.Not.Null );
439-
#if !NETFX_35 && !UNITY && !NETFX_CORE && !SILVERLIGHT
439+
#if !NETFX_35 && !UNITY && !NETFX_CORE && !SILVERLIGHT && !XAMIOS && !XAMDROID
440440
Assert.That( result.GetType().GetAssembly().IsDynamic );
441-
#endif // !NETFX_35 && !UNITY && !NETFX_CORE && !SILVERLIGHT
441+
#endif // !NETFX_35 && !UNITY && !NETFX_CORE && !SILVERLIGHT && !XAMIOS && !XAMDROID
442442
}
443443

444444

0 commit comments

Comments
 (0)