Remove some Diagnostics.Eventing allocations (dotnet/coreclr#8869)
authorBen Adams <thundercat@illyriad.co.uk>
Mon, 23 Jan 2017 16:24:21 +0000 (16:24 +0000)
committerVance Morrison <vancem@microsoft.com>
Mon, 23 Jan 2017 16:24:21 +0000 (08:24 -0800)
commit2b1b3e1914b49b09825a65ce84a152ab346874d1
tree8bff1c5bd6f4af6043efb3e01678499eaad88c1e
parent0dbc71f864121ebf73d224123aee12883ebeb2da
Remove some Diagnostics.Eventing allocations (dotnet/coreclr#8869)

Remove some closure allocations

escapes string[] to static rather than function alloc

Commit migrated from https://github.com/dotnet/coreclr/commit/54db85f85d6ce97dc4646fad13cb96c354672677
src/coreclr/src/mscorlib/src/System/Diagnostics/Eventing/EventProvider.cs
src/coreclr/src/mscorlib/src/System/Diagnostics/Eventing/EventSource.cs