Allow for interface implementations in EventSource.WriteEventVarArgs (dotnet/coreclr...
authorJohn Salem <josalem@microsoft.com>
Thu, 1 Aug 2019 22:27:48 +0000 (15:27 -0700)
committerSung Yoon Whang <suwhang@microsoft.com>
Thu, 1 Aug 2019 22:27:48 +0000 (15:27 -0700)
commit968011321839a8b794f4933202bbe599946a3d91
tree2f751927e3887fb5e4e0e511cbee9648fba0a702
parent5aacc58ab6c98d34c8d164008465602618acbd6c
Allow for interface implementations in EventSource.WriteEventVarArgs (dotnet/coreclr#25844)

* Allow for interface implementations in EventSource.WriteEventVarArgs

* Also account null ref types and nullable types

* fix error in comment and simplify first part of boolean logic

* Update src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSource.cs

Co-Authored-By: Noah Falk <noahfalk@users.noreply.github.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/c284bbfa83db019c34afe8835e198409f4168c02
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs