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>2017-03-21 19:46:07 +0300
committerJb Evain <jb@evain.net>2017-03-21 19:46:07 +0300
commit463a42ae60bd1090e89f51a5acd5e551fdf3caa9 (patch)
treeffaa3d72e92d6fd6f71640b654f6f84fd8b315b8 /Test/Mono.Cecil.Tests
parent5267cfedbaa2905908c1a578b9b7db969dab04f0 (diff)
Add test for empty portable pdb
Diffstat (limited to 'Test/Mono.Cecil.Tests')
-rw-r--r--Test/Mono.Cecil.Tests/PortablePdbTests.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Test/Mono.Cecil.Tests/PortablePdbTests.cs b/Test/Mono.Cecil.Tests/PortablePdbTests.cs
index aa0fb5b..de92099 100644
--- a/Test/Mono.Cecil.Tests/PortablePdbTests.cs
+++ b/Test/Mono.Cecil.Tests/PortablePdbTests.cs
@@ -372,6 +372,14 @@ namespace Mono.Cecil.Tests {
}
[Test]
+ public void EmptyPortablePdb ()
+ {
+ TestModule ("EmptyPdb.dll", module => {
+ Assert.IsTrue (module.HasSymbols);
+ }, symbolReaderProvider: typeof (PortablePdbReaderProvider), symbolWriterProvider: typeof (PortablePdbWriterProvider));
+ }
+
+ [Test]
public void PortablePdbLineInfo ()
{
TestModule ("line.exe", module => {