Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.

Fix CleanupStub for Struct Marshalling with static fields#3695

Merged
shrah merged 1 commit intodotnet:masterfrom
shrah:static_field
May 25, 2017
Merged

Fix CleanupStub for Struct Marshalling with static fields#3695
shrah merged 1 commit intodotnet:masterfrom
shrah:static_field

Conversation

@shrah
Copy link
Contributor

@shrah shrah commented May 24, 2017

@nattress PTAL

Copy link
Contributor

@nattress nattress left a comment

Choose a reason for hiding this comment

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

Nit: It would be slight working set win if EcmaType.GetFieldMarshalAsDescriptors didn't return an array of MarshalAsDescriptors that's got nulls on the end when static fields are present. Not going to block check-in on that though since ASP.NET has only one of those.

@nattress
Copy link
Contributor

Thanks for the quick fix!

@shrah shrah merged commit 62bc28d into dotnet:master May 25, 2017
@shrah
Copy link
Contributor Author

shrah commented May 25, 2017

@nattress good point. I will follow that up on a separate PR.

@shrah shrah deleted the static_field branch May 25, 2017 05:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants