mono/mono — comment on commit 70cc60e9572e3cd4ec69fd8c77340b1109eacbfb
File:  line 0
By marek-safar:

Can you send me .mdb you are trying to read (ideally with the steps how
to build it myself)
> This breaks Cecil ability (and all the associated tooling) to read/write debugging symbols. e.g.
>
>
> Could not link assemblies: System.ArgumentException: An element with the same key already exists in the dictionary.
> at System.Collections.Generic.Dictionary`2[System.Int32,Mono.CompilerServices.SymbolWriter.MethodEntry].Add (Int32 key, Mono.CompilerServices.SymbolWriter.MethodEntry value) [0x00163] in /Users/poupou/git/mono/mono/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:450
> at Mono.CompilerServices.SymbolWriter.MonoSymbolFile.read_methods () [0x00072] in /Users/poupou/git/mono/mono/mcs/class/Mono.CompilerServices.SymbolWriter/MonoSymbolFile.cs:594
> at Mono.CompilerServices.SymbolWriter.MonoSymbolFile.GetMethodByToken (Int32 token) [0x00019] in /Users/poupou/git/mono/mono/mcs/class/Mono.CompilerServices.SymbolWriter/MonoSymbolFile.cs:608
> at Mono.Cecil.Mdb.MdbReader.Read (Mono.Cecil.Cil.MethodBody body, Mono.Cecil.Cil.InstructionMapper mapper) [0x0000c] in /Users/poupou/git/mono/mono/mcs/class/Mono.Cecil.Mdb/Mono.Cecil.Mdb/MdbReader.cs:71
> at Mono.Cecil.Cil.CodeReader.ReadMethodBody () [0x000a6] in /Users/poupou/git/mono/mono/mcs/class/Mono.Cecil/Mono.Cecil.Cil/CodeReader.cs:109
> at Mono.Cecil.Cil.CodeReader.ReadMethodBody (Mono.Cecil.MethodDefinition method) [0x0001f] in /Users/poupou/git/mono/mono/mcs/class/Mono.Cecil/Mono.Cecil.Cil/CodeReader.cs:66
> at Mono.Cecil.MetadataReader.ReadMethodBody (Mono.Cecil.MethodDefinition method) [0x00000] in /Users/poupou/git/mono/mono/mcs/class/Mono.Cecil/Mono.Cecil/AssemblyReader.cs:1983
> at Mono.Cecil.MethodDefinition.m__34 (Mono.Cecil.MethodDefinition method, Mono.Cecil.MetadataReader reader) [0x00000] in /Users/poupou/git/mono/mono/mcs/class/Mono.Cecil/Mono.Cecil/MethodDefinition.cs:141
> at Mono.Cecil.ModuleDefinition.Read[MethodDefinition,MethodBody] (Mono.Cecil.MethodDefinition item, System.Func`3 read) [0x00018] in /Users/poupou/git/mono/mono/mcs/class/Mono.Cecil/Mono.Cecil/ModuleDefinition.cs:815
> at Mono.Cecil.MethodDefinition.get_Body () [0x00035] in /Users/poupou/git/mono/mono/mcs/class/Mono.Cecil/Mono.Cecil/MethodDefinition.cs:141
> at Mono.Linker.Steps.MarkStep.ProcessMethod (Mono.Cecil.MethodDefinition method) [0x00163] in /Users/poupou/git/mono/mono/mcs/tools/linker/Mono.Linker.Steps/MarkStep.cs:817
> Failed to link /Developer/MonoTouch/Source/monomac/samples/AnimatingViews/bin/Debug/AnimatingViews.exe
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/mono/mono/commit/70cc60e9572e3cd4ec69fd8c77340b1109eacbfb#commitcomment-981227