Type.IsValueType returns wrong value on .NET Core
MSDN-WhiteKnight opened this issue · comments
MSDN.WhiteKnight commented
[TestMethod]
[TypeTestData(typeof(SequentialStructSample), BytecodeProviders.Metadata)]
public void Test_StructLayoutAttribute_Sequential(Type t)
{
Assert.IsTrue(t.IsValueType); //fails
}