From 25f85c94787bc51fd91dba9598aba741c4384e51 Mon Sep 17 00:00:00 2001 From: Mike Voorhees Date: Thu, 11 Feb 2021 18:48:33 -0500 Subject: revert layout change (#720) * Revert "Refactor AddLayoutInfo" This reverts commit 6070fe78e62b743eaed7bb9a6675f8170e4e27e6. * Revert "Add a ClassLayoutTable row for structs with no instance fields" This reverts commit 8f2b91726578075e4fb49d6d5759c4cd4495d0a5. --- Test/Mono.Cecil.Tests/TypeTests.cs | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'Test/Mono.Cecil.Tests') diff --git a/Test/Mono.Cecil.Tests/TypeTests.cs b/Test/Mono.Cecil.Tests/TypeTests.cs index 8d7f3fa..fddc8e6 100644 --- a/Test/Mono.Cecil.Tests/TypeTests.cs +++ b/Test/Mono.Cecil.Tests/TypeTests.cs @@ -30,19 +30,6 @@ namespace Mono.Cecil.Tests { }); } - [Test] - public void EmptyStructLayout () - { - TestModule ("hello.exe", module => - { - var foo = new TypeDefinition ("", "Foo", - TypeAttributes.Sealed | TypeAttributes.BeforeFieldInit | TypeAttributes.SequentialLayout, - module.ImportReference (typeof (ValueType))) ; - - module.Types.Add (foo) ; - }) ; - } - [Test] public void SimpleInterfaces () { -- cgit v1.2.3