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:
authorAndrew Au <andrewau@microsoft.com>2019-01-19 00:23:46 +0300
committerAndrew Au <andrewau@microsoft.com>2019-01-19 00:23:46 +0300
commitaf16c982a503c910200f83f89d0c694d6198ad95 (patch)
tree4462196151df27fb558ce17ff6ad0a329f10462f /Test/Mono.Cecil.Tests
parent232772d59e03c3f32cce5418b5ddc392fab7d994 (diff)
Fix the read only build
Diffstat (limited to 'Test/Mono.Cecil.Tests')
-rw-r--r--Test/Mono.Cecil.Tests/TypeTests.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Test/Mono.Cecil.Tests/TypeTests.cs b/Test/Mono.Cecil.Tests/TypeTests.cs
index a18e4a1..5bfec5b 100644
--- a/Test/Mono.Cecil.Tests/TypeTests.cs
+++ b/Test/Mono.Cecil.Tests/TypeTests.cs
@@ -30,6 +30,8 @@ namespace Mono.Cecil.Tests {
});
}
+#if !READ_ONLY
+
[Test]
public void EmptyStructLayout ()
{
@@ -43,6 +45,8 @@ namespace Mono.Cecil.Tests {
}) ;
}
+#endif
+
[Test]
public void SimpleInterfaces ()
{