[linker] Method decorated with System.Runtime.Serialization.*Attribute must be marked...
authorSebastien Pouliot <sebastien@xamarin.com>
Sat, 23 Apr 2016 09:05:38 +0000 (05:05 -0400)
committerSebastien Pouliot <sebastien@xamarin.com>
Sat, 23 Apr 2016 09:05:38 +0000 (05:05 -0400)
commit309e7277de718d685de594de4017386ee5044f36
tree0f3e053c0451927e14df4894b8d7fb235c68ebb1
parentaad627c5e8ddf15397c87fa2d3e18b54f929c927
[linker] Method decorated with System.Runtime.Serialization.*Attribute must be marked, Fixes #40574

Some serialization attributes are unlikely to have direct reference,
from IL, but will be needed at runtime to correctly serialize (or
deserialize) objects.

* OnDeserializedAttribute
* OnDeserializingAttribute
* OnSerializedAttribute
* OnSerializingAttribute

This, along with aad627c5e8ddf15397c87fa2d3e18b54f929c927, fixed bug
40574. The later part will have new unit tests in XI.

references:
https://bugzilla.xamarin.com/show_bug.cgi?id=40574
mcs/tools/linker/Mono.Linker.Steps/MarkStep.cs