Created
March 21, 2012 10:10
-
-
Save Nilzor/2145953 to your computer and use it in GitHub Desktop.
Serialization-4.0-fail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[TestClass] | |
public class SerializationTest | |
{ | |
[TestMethod] | |
public void TestSerialize() | |
{ | |
var serializer = new XmlSerializer(typeof(Entity)); | |
} | |
} | |
[Serializable] | |
public class Entity | |
{ | |
public string SomeProperty { get; private set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment