Skip to content

Instantly share code, notes, and snippets.

@Nilzor
Created March 21, 2012 10:10
Show Gist options
  • Save Nilzor/2145953 to your computer and use it in GitHub Desktop.
Save Nilzor/2145953 to your computer and use it in GitHub Desktop.
Serialization-4.0-fail
[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