Allow for interface implementations in EventSource.WriteEventVarArgs (#25844)
commita76f6fa9b5d105042933aae68e737b156b1568e2
authorJohn Salem <josalem@microsoft.com>
Thu, 1 Aug 2019 22:27:48 +0000 (1 15:27 -0700)
committerMarek Safar <marek.safar@gmail.com>
Wed, 7 Aug 2019 07:48:03 +0000 (7 09:48 +0200)
treebfdd48170ddab4279587961719991fb62a662bef
parent022fc4ea3798f6c8e56a9c888e27c0bcc562245c
Allow for interface implementations in EventSource.WriteEventVarArgs (#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>
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSource.cs