Streamline default ctor path in reflection on custom attributes (dotnet/coreclr#27451)
authorJan Kotas <jkotas@microsoft.com>
Mon, 28 Oct 2019 12:08:15 +0000 (05:08 -0700)
committerGitHub <noreply@github.com>
Mon, 28 Oct 2019 12:08:15 +0000 (05:08 -0700)
commite1dbc543533c844a3f707ece386354c889a20b1c
tree3ada0d58106f83bf377335c70d0ef845a8e0dc9c
parentcc42a80dfb41e1c2066b73a50866fa6f7e4d8c99
Streamline default ctor path in reflection on custom attributes (dotnet/coreclr#27451)

Saves some allocations and removes a few FCalls/QCalls

Commit migrated from https://github.com/dotnet/coreclr/commit/0a62070eb35da65eef13cac66a66e302bf44e563
src/coreclr/src/System.Private.CoreLib/src/System/Reflection/CustomAttribute.cs
src/coreclr/src/System.Private.CoreLib/src/System/RuntimeHandles.cs
src/coreclr/src/vm/customattribute.cpp
src/coreclr/src/vm/customattribute.h
src/coreclr/src/vm/ecalllist.h
src/coreclr/src/vm/ilmarshalers.cpp
src/coreclr/src/vm/runtimehandles.cpp
src/coreclr/src/vm/runtimehandles.h