Specify the Size of List<T> Instances in InvokeTypeInfo (#50438)
authorBrian Robbins <brianrob@microsoft.com>
Wed, 31 Mar 2021 04:28:50 +0000 (21:28 -0700)
committerGitHub <noreply@github.com>
Wed, 31 Mar 2021 04:28:50 +0000 (04:28 +0000)
commitda23d5a6a45fc4d54a478fd3689789ef3c38ec26
tree40e5f72767c8bda82f478ac4a0dda8d04e06c993
parent99d6215ef2336b8fa51fe19b2e8e782df62959df
Specify the Size of List<T> Instances in InvokeTypeInfo (#50438)

* Initialize List<T> instances in InvokeTypeInfo with known sizes.

* Switch from List<T> to arrays.
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/TraceLogging/EventPayload.cs
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/TraceLogging/InvokeTypeInfo.cs