Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Communicate between framework mscorlib and core framework System.Private.CoreLib #112

Closed
wants to merge 7 commits into from

Conversation

humhei
Copy link
Contributor

@humhei humhei commented Apr 20, 2019

ref #108
Not very sure,
But it worked for me now,
Wait others to confirm

@humhei humhei changed the title Communicate between framework mscorlib and core framework System.Private.CoreLib WIP Communicate between framework mscorlib and core framework System.Private.CoreLib Apr 20, 2019
@Aaronontheweb
Copy link
Member

We need to get a unit test for this... Don't have a clear idea for how to do that off the top of my head

@alexvaut
Copy link
Contributor

We could commit serialized files in both framework, unit test will pass if they can deserialize both of them from the 2 frameworks. We create explicit tests to create those files so if something else changes and break those tests, it's easy to commit new versions. What do you think ?

@Aaronontheweb
Copy link
Member

@nekenk1 yeah, I'd just save a file - one written by .NET framework, one by core, and have the opposites read each other back into the original result. That would work.

Aaronontheweb pushed a commit that referenced this pull request Oct 15, 2019
…it Tests (#116)

*  Communicate between mscorlib and System.Private.CoreLib

* Strict string match

* Add a binary file generator for all .NET frameworks

* Add generated serialized files to project as suggestted in #112 (comment)

* Add unit tests to test cross framework serialization and deserialization

* FullFramework or CoreNetFramework runtime check

* Using Constants instead

* Downgrade FSharp.Core 4.7.0 to 4.6.2 because 4.7.0 is not compatible with netstandard1.6

* Add generated serialized file for .NET Core 3.0  to project

* Add netcoreapp2.2 support to Hyperion.Tests
Update Windows vm image to windows-2019

* Remove netcoreapp2.2 from Hyperion.Tests
@Aaronontheweb
Copy link
Member

closed via #116

Aaronontheweb added a commit that referenced this pull request Jan 20, 2020
* Support ArrayList

* Remove wrong copyright

*  Communicate between mscorlib and System.Private.CoreLib

* Strict string match

* Add a binary file generator for all .NET frameworks

* Add generated serialized files to project as suggestted in #112 (comment)

* Add unit tests to test cross framework serialization and deserialization

* Readd new line

* added comment to explain null-coalescing operation

Co-authored-by: alexvaut <alex@vautier.biz>
Co-authored-by: humhei <humhei@outlook.com>
Co-authored-by: Deniz İrgin <denizirgin@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants