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:
authorJb Evain <jb@evain.net>2021-07-02 00:52:04 +0300
committerGitHub <noreply@github.com>2021-07-02 00:52:04 +0300
commitd820a5beca4104364178c61e1c59718fb228589e (patch)
treed3dc1e7c9d8c975536ef1754a43142a360257cfa /Test/Mono.Cecil.Tests
parentb0b93f5e29237fca6ece940cbc3a1219c387d456 (diff)
Preserve LargeAwareAddress image flag (#775)
Diffstat (limited to 'Test/Mono.Cecil.Tests')
-rw-r--r--Test/Mono.Cecil.Tests/ImageReadTests.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Test/Mono.Cecil.Tests/ImageReadTests.cs b/Test/Mono.Cecil.Tests/ImageReadTests.cs
index de7a2cc..ef6ab06 100644
--- a/Test/Mono.Cecil.Tests/ImageReadTests.cs
+++ b/Test/Mono.Cecil.Tests/ImageReadTests.cs
@@ -101,6 +101,14 @@ namespace Mono.Cecil.Tests {
}
[Test]
+ public void AnyCPU32BitPreferred ()
+ {
+ TestModule ("anycpu32bitpreferred.exe", module => {
+ Assert.AreNotEqual (0, module.Image.Characteristics & 0x0020);
+ });
+ }
+
+ [Test]
public void X64ModuleTextOnlySection ()
{
TestModule ("hello.textonly.x64.exe", module => {