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>2019-02-12 10:00:55 +0300
committerJb Evain <jb@evain.net>2019-02-12 10:00:55 +0300
commit529bd983dc300d5a5f163452a4f56dd4c5fb0412 (patch)
tree0a87f061951ca8065c8b63a3000bd037873953de /symbols/pdb/Test/Mono.Cecil.Tests
parent2eaa73661006c3cc51daa31688e8d7ccfc4562ba (diff)
Run symbols tests in ReadOnly mode as well
Diffstat (limited to 'symbols/pdb/Test/Mono.Cecil.Tests')
-rw-r--r--symbols/pdb/Test/Mono.Cecil.Tests/PdbTests.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/symbols/pdb/Test/Mono.Cecil.Tests/PdbTests.cs b/symbols/pdb/Test/Mono.Cecil.Tests/PdbTests.cs
index d729020..02dea2b 100644
--- a/symbols/pdb/Test/Mono.Cecil.Tests/PdbTests.cs
+++ b/symbols/pdb/Test/Mono.Cecil.Tests/PdbTests.cs
@@ -1,4 +1,3 @@
-#if !READ_ONLY
using System.IO;
using System.Linq;
@@ -411,6 +410,7 @@ namespace Mono.Cecil.Tests {
}, readOnly: !Platform.HasNativePdbSupport, symbolReaderProvider: typeof (PdbReaderProvider), symbolWriterProvider: typeof (PdbWriterProvider));
}
+#if !READ_ONLY
[Test]
public void CreateMethodFromScratch ()
{
@@ -464,6 +464,6 @@ namespace Mono.Cecil.Tests {
Assert.AreEqual ("temp", method.DebugInformation.Scope.Variables [0].Name);
}
+#endif
}
}
-#endif \ No newline at end of file