Remove some linker warnings from NullableTypeInfo (#48002)
authorAndy Gocke <angocke@microsoft.com>
Fri, 12 Feb 2021 18:08:29 +0000 (10:08 -0800)
committerGitHub <noreply@github.com>
Fri, 12 Feb 2021 18:08:29 +0000 (10:08 -0800)
commitd6285044564afb667428bc8138a9d00b25e22c2e
tree9aac091fefadcbe3e9dc6f14464409e086db41f5
parent88cb204002cef3453a316367f0aa8cb64cd604c8
Remove some linker warnings from NullableTypeInfo (#48002)

Removes all nullable warnings from NullableTypeInfo by using boxing to
retrieve the underlying value from `Nullable<T>` instead of `Value/HasValue`.
src/libraries/System.Private.CoreLib/src/ILLink/ILLink.Suppressions.Shared.xml
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/TraceLogging/SimpleTypeInfos.cs