sharing SerializationInfo for corert and coreclr (#18102)
authorMaryam Ariyan <maryam.ariyan@microsoft.com>
Thu, 24 May 2018 06:04:14 +0000 (23:04 -0700)
committerDan Moseley <danmose@microsoft.com>
Thu, 24 May 2018 06:04:14 +0000 (23:04 -0700)
commitb23f8213a527d831577ce8bb7de47d54d153c509
tree5fc99f87e18a4068b096f2168f8bcd27d5a372bc
parentf7c77150c64cd57354d6485e654f4b0806b4a145
sharing SerializationInfo for corert and coreclr (#18102)

* String to string in SerializationInfo

* Object to object in SerializationInfo

* Reducing diff between coreclr and corefx by renaming some variables.

* Reducing diff for SerializationInfo by simplifying code

* More cleanup
- Removing unused fields and making internals private.
- Removing unused namespaces
- Merge some comments

* Fixing up commets and removing object from object.ReferenceEquals(..)

* Minor fixups

* Moving to shared

* Applying PR feedbacks

* using IsRuntimeImplemented helper method for type

* using the CoreRT version and keeping ctor with extra argument
src/System.Private.CoreLib/System.Private.CoreLib.csproj
src/System.Private.CoreLib/shared/System.Private.CoreLib.Shared.projitems
src/System.Private.CoreLib/shared/System/Runtime/Serialization/SerializationInfo.cs [new file with mode: 0644]
src/System.Private.CoreLib/src/System/Runtime/Serialization/SerializationInfo.cs [deleted file]