Added a test scenario to verify that Nullable<T> is not assignable from T (dotnet...
authorVladimir Sadov <vsadov@microsoft.com>
Sun, 6 Oct 2019 22:39:00 +0000 (15:39 -0700)
committerGitHub <noreply@github.com>
Sun, 6 Oct 2019 22:39:00 +0000 (15:39 -0700)
commitad56d900ed803088c444d271411d884bba280832
tree76275c7f4f5c7c4823f03d92b9f20ba14853e1fe
parent25b777b2405db5b4143179bf852120c59bf1a13f
Added a test scenario to verify that  Nullable<T> is not assignable from T (dotnet/corefx#41577)

* Added a test scenario to verify that T is not assignable to  Nullable<T>

* PR feedback. Replaced `var` with concrete `Type`.

Commit migrated from https://github.com/dotnet/corefx/commit/38aa9151607cb63bb569beb42880057ba2cd3da0
src/libraries/System.Reflection/tests/TypeInfoTests.cs