File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,9 @@ public class SymbolReader : IDisposable
1313 private ComDisposableWrapper < DiaSource > diaSource ;
1414 private ComDisposableWrapper < IDiaSession > diaSession ;
1515
16- private readonly string searchPath ;
17-
18- public SymbolReader ( string searchPath )
16+ public SymbolReader ( )
1917 {
2018 diaSource = new ComDisposableWrapper < DiaSource > ( new DiaSource ( ) ) ;
21-
22- this . searchPath = searchPath ;
2319 }
2420
2521 protected virtual void Dispose ( bool disposing )
@@ -62,7 +58,7 @@ public static SymbolReader FromModule(Module module, string searchPath)
6258 {
6359 Contract . Requires ( module != null ) ;
6460
65- var reader = new SymbolReader ( searchPath ) ;
61+ var reader = new SymbolReader ( ) ;
6662 reader . diaSource . Interface . loadDataForExe ( module . Path , searchPath , null ) ;
6763 reader . CreateSession ( ) ;
6864 return reader ;
@@ -72,7 +68,7 @@ public static SymbolReader FromDatabase(string path)
7268 {
7369 Contract . Requires ( path != null ) ;
7470
75- var reader = new SymbolReader ( null ) ;
71+ var reader = new SymbolReader ( ) ;
7672 reader . diaSource . Interface . loadDataFromPdb ( path ) ;
7773 reader . CreateSession ( ) ;
7874 return reader ;
You can’t perform that action at this time.
0 commit comments