Allow for interface implementations in EventSource.WriteEventVarArgs (#25844) (#26056)
authorSung Yoon Whang <suwhang@microsoft.com>
Fri, 16 Aug 2019 23:30:53 +0000 (16:30 -0700)
committerGitHub <noreply@github.com>
Fri, 16 Aug 2019 23:30:53 +0000 (16:30 -0700)
commitcca2f13d35a93b7b545868843dffa261949c084b
tree20689fbfc9364b20b2bc99090c254dd8b446565f
parent3d24ceef049e486e994e8a3e7c3f2d03d3f2a3ec
Allow for interface implementations in EventSource.WriteEventVarArgs (#25844) (#26056)

* 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>
src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSource.cs