File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -112,8 +112,8 @@ public void Serialize_WithVariousAttributes()
112112 IgnoredField = 6 ,
113113 } ;
114114
115- var bin = serializer . Serialize ( mc ) ;
116- var mc2 = serializer . Deserialize < ClassWithPublicMembersWithoutAttributes > ( bin ) ;
115+ var bin = MessagePackSerializer . Serialize ( mc ) ;
116+ var mc2 = MessagePackSerializer . Deserialize < ClassWithPublicMembersWithoutAttributes > ( bin ) ;
117117
118118 mc2 . AttributedProperty . Is ( mc . AttributedProperty ) ;
119119 mc2 . AttributedField . Is ( mc . AttributedField ) ;
@@ -123,7 +123,7 @@ public void Serialize_WithVariousAttributes()
123123 mc2 . UnattributedField . Is ( 0 ) ;
124124 mc2 . IgnoredField . Is ( 0 ) ;
125125
126- serializer . ToJson ( bin ) . Is ( @"{""AttributedProperty"":1,""AttributedField"":4}" ) ;
126+ MessagePackSerializer . ToJson ( bin ) . Is ( @"{""AttributedProperty"":1,""AttributedField"":4}" ) ;
127127 }
128128 }
129129}
You can’t perform that action at this time.
0 commit comments