Fix "Non-static method requires a target" caused by trying to access the HasValue...
authorjbhensley <jbhensley@users.noreply.github.com>
Sat, 13 Oct 2018 00:25:19 +0000 (17:25 -0700)
committerNoah Falk <noahfalk@users.noreply.github.com>
Sat, 13 Oct 2018 00:25:19 +0000 (17:25 -0700)
commitd6c35b6274a49bf83eff4e1089b8013c3741d936
treef4430df4e693848fb044585f0c85a8ca78faa987
parente0637d0e83582543e7367a417465438c14120b8d
Fix "Non-static method requires a target" caused by trying to access the HasValue property of a nullable type through reflection when the value is null. (#20350)
src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/SimpleTypeInfos.cs
src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/TraceLoggingDataCollector.cs