Skip to content

Conversation

@pranavkm
Copy link
Contributor

Fixes #13504


Description

The reference assembly for one of the of the types in Blazor is manually generated. We missed updating this as part of preview8 when there were API changes to the type A user discovered and reported this.

Customer impact

Customers may get MissingMethodException at runtime if they compile against type in the ref assembly.

Regression

It's a regression since preview8

Risk

Low. This is changes to a ref assembly. We do not have automated tests to verify that the ref assembly is correct, but I verified it manually.

@pranavkm pranavkm requested a review from rynowak August 28, 2019 20:08
@pranavkm pranavkm added the ask-mode This issue / PR is a patch candidate which we will bar-check internally before patching it. label Aug 28, 2019
@mkArtakMSFT mkArtakMSFT added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Aug 28, 2019
{
// https://github.com/dotnet/arcade/pull/2033
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Explicit)]
[StructLayout(LayoutKind.Explicit, Pack = 4)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are the changes here to make this more like the authoritative source code?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used the source code as is and stripped it to the public API surface. Maintaining the code-generated format seems needlessly onerous.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed 100% 💯

@pranavkm pranavkm merged commit c3af33a into release/3.0 Aug 29, 2019
@ghost ghost deleted the prkrishn/fixup-ref-assembly branch August 29, 2019 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates ask-mode This issue / PR is a patch candidate which we will bar-check internally before patching it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants