Bug 6254 - Go-to-definition for List<T> crashes
Summary: Go-to-definition for List<T> crashes
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Assembly browser ()
Version: 2.9.x
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2012-07-24 10:59 UTC by Miguel de Icaza [MSFT]
Modified: 2012-07-26 01:43 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Miguel de Icaza [MSFT] 2012-07-24 10:59:00 UTC
When I go to the List<T> definition in the assembly browser, I get this:

Decompilation failed: 
System.NotSupportedException: Operation is not supported.
  at ICSharpCode.NRefactory.CSharp.IndexerDeclaration.set_Name (System.String value) [0x00000] in <filename unknown>:0 
  at ICSharpCode.Decompiler.Ast.AstBuilder.ConvertPropertyToIndexer (ICSharpCode.NRefactory.CSharp.PropertyDeclaration astProp, Mono.Cecil.PropertyDefinition propDef) [0x00000] in <filename unknown>:0 
  at ICSharpCode.Decompiler.Ast.AstBuilder.CreateProperty (Mono.Cecil.PropertyDefinition propDef) [0x00000] in <filename unknown>:0 
  at ICSharpCode.Decompiler.Ast.AstBuilder.AddTypeMembers (ICSharpCode.NRefactory.CSharp.TypeDeclaration astType, Mono.Cecil.TypeDefinition typeDef) [0x00000] in <filename unknown>:0 
  at ICSharpCode.Decompiler.Ast.AstBuilder.CreateType (Mono.Cecil.TypeDefinition typeDef) [0x00000] in <filename unknown>:0 
  at ICSharpCode.Decompiler.Ast.AstBuilder.AddType (Mono.Cecil.TypeDefinition typeDef) [0x00000] in <filename unknown>:0 
  at MonoDevelop.AssemblyBrowser.DomTypeNodeBuilder+<Decompile>c__AnonStorey12.<>m__24 (ICSharpCode.Decompiler.Ast.AstBuilder builder) [0x00000] in <filename unknown>:0 
  at MonoDevelop.AssemblyBrowser.DomMethodNodeBuilder.Decompile (Mono.TextEditor.TextEditorData data, Mono.Cecil.ModuleDefinition module, Mono.Cecil.TypeDefinition currentType, System.Action`1 setData, ICSharpCode.Decompiler.DecompilerSettings settings) [0x00000] in <filename unknown>:0
Comment 1 Mike Krüger 2012-07-24 23:28:34 UTC
Works for me - which md version are you using ?

What I did was: http://screencast.com/t/zqvs1Qx7
Comment 2 Mike Krüger 2012-07-26 01:43:45 UTC
Closing as works for me - if 2.9.x is correct you should try with a more recent release.