Cleanup and improve name formatting in reflection (dotnet/coreclr#20781)
authorJan Kotas <jkotas@microsoft.com>
Sat, 3 Nov 2018 16:45:30 +0000 (09:45 -0700)
committerGitHub <noreply@github.com>
Sat, 3 Nov 2018 16:45:30 +0000 (09:45 -0700)
commit8cf2d196d69508a09466ba3888695150ace83147
tree0ba63e161a8f2dcd478f79343901c76f4569dee1
parentfbb72817cd687c3c2ea271253b54c33f3692abc6
Cleanup and improve name formatting in reflection (dotnet/coreclr#20781)

* Delete internal Array.UnsafeCreateInstance method

* Delete binary serialization specific type name formatting

* Use ValueStringBuilder to format method names in reflection

Commit migrated from https://github.com/dotnet/coreclr/commit/606c246d8da95258d148020e74d49a30d8fd74ee
src/coreclr/src/System.Private.CoreLib/src/System/Array.cs
src/coreclr/src/System.Private.CoreLib/src/System/Attribute.cs
src/coreclr/src/System.Private.CoreLib/src/System/Reflection/CustomAttribute.cs
src/coreclr/src/System.Private.CoreLib/src/System/Reflection/Emit/DynamicMethod.cs
src/coreclr/src/System.Private.CoreLib/src/System/Reflection/MethodBase.CoreCLR.cs
src/coreclr/src/System.Private.CoreLib/src/System/Reflection/RuntimeConstructorInfo.cs
src/coreclr/src/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs
src/coreclr/src/System.Private.CoreLib/src/System/Reflection/RuntimePropertyInfo.cs
src/coreclr/src/System.Private.CoreLib/src/System/RtType.cs
src/coreclr/src/System.Private.CoreLib/src/System/Type.CoreCLR.cs