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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2012-02-24 18:50:12 +0400
committerMarek Safar <marek.safar@gmail.com>2012-02-24 18:50:12 +0400
commita1fc1ea0590d9e9ee6a4c00b43f723cc1bf81e7b (patch)
tree2c1216bb94db0e1a4e5149c009568102660ac01a /mcs/class/Mono.Cecil.Mdb
parent8d1d2b7d0b6791d344e97633641e3116b9ba65fd (diff)
Add reading from stream support to MonoSymbolFile and clean up Cecil ifdefs
Diffstat (limited to 'mcs/class/Mono.Cecil.Mdb')
-rw-r--r--mcs/class/Mono.Cecil.Mdb/Mono.Cecil.Mdb/MdbReader.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/Mono.Cecil.Mdb/Mono.Cecil.Mdb/MdbReader.cs b/mcs/class/Mono.Cecil.Mdb/Mono.Cecil.Mdb/MdbReader.cs
index 2db0419650f..7f5d640c8ee 100644
--- a/mcs/class/Mono.Cecil.Mdb/Mono.Cecil.Mdb/MdbReader.cs
+++ b/mcs/class/Mono.Cecil.Mdb/Mono.Cecil.Mdb/MdbReader.cs
@@ -40,7 +40,7 @@ namespace Mono.Cecil.Mdb {
public ISymbolReader GetSymbolReader (ModuleDefinition module, string fileName)
{
- return new MdbReader (MonoSymbolFile.ReadSymbolFile (module, fileName));
+ return new MdbReader (MonoSymbolFile.ReadSymbolFile (fileName + ".mdb", module.Mvid));
}
public ISymbolReader GetSymbolReader (ModuleDefinition module, Stream symbolStream)