diff options
author | Mike Voorhees <mrvoorhe@users.noreply.github.com> | 2021-02-12 02:48:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-12 02:48:33 +0300 |
commit | 25f85c94787bc51fd91dba9598aba741c4384e51 (patch) | |
tree | f51ba8dea8ffcde17e436dcbe571bd24cdf81921 /Test/Mono.Cecil.Tests | |
parent | 43336ee5e873ac601ce25ae216c8b76dbe2ee959 (diff) |
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.
Diffstat (limited to 'Test/Mono.Cecil.Tests')
-rw-r--r-- | Test/Mono.Cecil.Tests/TypeTests.cs | 13 |
1 files changed, 0 insertions, 13 deletions
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 @@ -31,19 +31,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 () { TestIL ("types.il", module => { |