Turns out there was no issues at all. It was just a matter of my lack of 
knowledge about sequence points.

Den tisdagen den 8:e april 2014 kl. 17:01:31 UTC+2 skrev UbbeLoL:
>
> Thanks for the suggestion. Cecil does not support creating a MdbReader 
> from a symbol stream: 
> https://github.com/jbevain/cecil/blob/master/symbols/mdb/Mono.Cecil.Mdb/MdbReader.cs#L46.
>  But I also tried to keep SymbolStream null so that Cecil would generate a 
> symbol reader from the FullyQualifiedName instead: 
> https://github.com/jbevain/cecil/blob/master/Mono.Cecil/AssemblyReader.cs#L104.
>  But it still doesn't give me any more sequence points than:
>
> 10 -> IL_0000: ldc.i4.0
>> 11 -> IL_0007: ldloc.0
>> 10 -> IL_000d: ldloc.0
>> 13 -> IL_0019: ret
>
>
> Den tisdagen den 8:e april 2014 kl. 10:45:11 UTC+2 skrev Simon:
>>
>> try this 
>>
>>             using (var symbolStream = File.OpenRead(pdbPath))
>>             {
>>                 var readerParameters = new ReaderParameters
>>                     {
>>                         ReadSymbols = true,
>>                         SymbolReaderProvider = new PdbReaderProvider(),
>>                         SymbolStream = symbolStream
>>                     };
>>                 myModuleDefinition = 
>> ModuleDefinition.ReadModule(AssemblyFilePath, readerParameters);
>>             }
>>
>

-- 
-- 
--
mono-cecil
--- 
You received this message because you are subscribed to the Google Groups 
"mono-cecil" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to