Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/cecil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Voorhees <mrvoorhe@users.noreply.github.com>2021-02-12 02:48:33 +0300
committerGitHub <noreply@github.com>2021-02-12 02:48:33 +0300
commit25f85c94787bc51fd91dba9598aba741c4384e51 (patch)
treef51ba8dea8ffcde17e436dcbe571bd24cdf81921 /Test/Mono.Cecil.Tests
parent43336ee5e873ac601ce25ae216c8b76dbe2ee959 (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.cs13
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 => {