Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Sync .NET Standard's RefEmit with .NET Framework #999

Merged
merged 8 commits into from Dec 12, 2018

Conversation

terrajobst
Copy link
Member

@terrajobst terrajobst commented Dec 6, 2018

Fixes #987

The point of the sync is to get increase parity with .NET Framework and thus making it easier to port more existing code to .NET Standard 2.1 (or any platform implementing it).

@terrajobst terrajobst added the netstandard-api This tracks requests for standardizing APIs. label Dec 6, 2018
@terrajobst terrajobst requested review from a team as code owners December 6, 2018 02:23
@terrajobst terrajobst added this to the .NET Standard 2.1 milestone Dec 6, 2018
netstandard/ref/System.Reflection.Emit.cs Outdated Show resolved Hide resolved
netstandard/ref/System.Reflection.Emit.cs Outdated Show resolved Hide resolved
netstandard/ref/System.Reflection.Emit.cs Outdated Show resolved Hide resolved
@terrajobst terrajobst changed the title Syncs .NET Standard's RefEmit with .NET Framework Sync .NET Standard's RefEmit with .NET Framework Dec 6, 2018
netstandard/ref/System.Reflection.Emit.cs Outdated Show resolved Hide resolved
netstandard/ref/System.Reflection.Emit.cs Show resolved Hide resolved
netstandard/ref/System.Reflection.Emit.cs Show resolved Hide resolved
netstandard/ref/System.Reflection.Emit.cs Show resolved Hide resolved
@terrajobst terrajobst force-pushed the reflection-update branch 2 times, most recently from 728ae53 to 142b5dd Compare December 6, 2018 19:17
@jkotas
Copy link
Member

jkotas commented Dec 7, 2018

I assume that you will get work items scheduled to get the various one-offs added to .NET Core 3.0.

We have https://github.com/dotnet/corefx/issues/12055 for DynamicILInfo already. DynamicILInfo is the most important of all these since it adds back capability that is very hard to workaround.

@terrajobst
Copy link
Member Author

I assume that you will get work items scheduled to get the various one-offs added to .NET Core 3.0.

Yep. I'm planning to do one more diff between .NET Standard 2.1 and .NET Core 3.0. This will catch other APIs we should be adding to .NET Standard and will also show us the things we need to add for .NET Core 3.0. The work will be tracked here.

@terrajobst
Copy link
Member Author

@marek-safar, did we address your concerns?

There are other APIs that accept arrays and lengths and these don't have
alternatives. For consistency and for more compatible let's simply expose
CreateMethodBody() as-is.
@terrajobst
Copy link
Member Author

Hey @onovotny / @jskeet, any concerns here?
@jaredpar?

@terrajobst terrajobst merged commit 17bb580 into dotnet:master Dec 12, 2018
@terrajobst terrajobst deleted the reflection-update branch December 12, 2018 18:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
netstandard-api This tracks requests for standardizing APIs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants