Bug 12200 - InvalidOperationException from assembly browser
Summary: InvalidOperationException from assembly browser
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Assembly browser ()
Version: 4.0.4
Hardware: PC Mac OS
: Normal normal
Target Milestone: 4.0.9 (from master)
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-05-10 16:54 UTC by Mikayla Hutchinson [MSFT]
Modified: 2013-06-24 16:18 UTC (History)
1 user (show)

Tags:
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:
Status:
RESOLVED FIXED

Description Mikayla Hutchinson [MSFT] 2013-05-10 16:54:26 UTC
ERROR [2013-05-10 15:23:27Z]: System.InvalidOperationException: Cannot create an array type using a different compilation from the element type.
  at ICSharpCode.NRefactory.TypeSystem.ArrayType..ctor (ICompilation compilation, IType elementType, Int32 dimensions) [0x00068] in /Users/michael/Mono/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory/TypeSystem/ArrayType.cs:45 
  at ICSharpCode.NRefactory.TypeSystem.ArrayTypeReference.Resolve (ITypeResolveContext context) [0x00001] in /Users/michael/Mono/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory/TypeSystem/ArrayType.cs:181 
  at ICSharpCode.NRefactory.TypeSystem.Implementation.DefaultUnresolvedParameter.CreateResolvedParameter (ITypeResolveContext context) [0x000c2] in /Users/michael/Mono/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory/TypeSystem/Implementation/DefaultUnresolvedParameter.cs:215 
  at ICSharpCode.NRefactory.TypeSystem.TypeSystemExtensions.<CreateResolvedParameters>m__17 (ITypeResolveContext c, IUnresolvedParameter a) [0x00000] in /Users/michael/Mono/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory/TypeSystem/TypeSystemExtensions.cs:429 
  at ICSharpCode.NRefactory.Utils.ProjectedList`3[ICSharpCode.NRefactory.TypeSystem.ITypeResolveContext,ICSharpCode.NRefactory.TypeSystem.IUnresolvedParameter,ICSharpCode.NRefactory.TypeSystem.IParameter].get_Item (Int32 index) [0x00026] in /Users/michael/Mono/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory/Utils/ProjectedList.cs:156 
  at ICSharpCode.NRefactory.Utils.ProjectedList`3+<GetEnumerator>c__Iterator1A[ICSharpCode.NRefactory.TypeSystem.ITypeResolveContext,ICSharpCode.NRefactory.TypeSystem.IUnresolvedParameter,ICSharpCode.NRefactory.TypeSystem.IParameter].MoveNext () [0x0002f] in /Users/michael/Mono/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory/Utils/ProjectedList.cs:230 
  at MonoDevelop.CSharp.CSharpAmbience.AppendParameterList (System.Text.StringBuilder result, MonoDevelop.Ide.TypeSystem.OutputSettings settings, IEnumerable`1 parameterList) [0x00046] in /Users/michael/Mono/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp/CSharpAmbience.cs:902 
  at MonoDevelop.CSharp.CSharpAmbience.InternalGetMethodString (IMethod method, MonoDevelop.Ide.TypeSystem.OutputSettings settings, System.String methodName, Boolean getReturnType) [0x001dd] in /Users/michael/Mono/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp/CSharpAmbience.cs:670 
  at MonoDevelop.CSharp.CSharpAmbience.GetMethodString (IMethod method, MonoDevelop.Ide.TypeSystem.OutputSettings settings) [0x00025] in /Users/michael/Mono/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp/CSharpAmbience.cs:686 
  at MonoDevelop.Ide.TypeSystem.Ambience.GetString (IEntity entity, MonoDevelop.Ide.TypeSystem.OutputSettings settings) [0x000e7] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/Ambience.cs:133 
  at MonoDevelop.Ide.TypeSystem.Ambience.GetString (IEntity entity, OutputFlags flags) [0x00001] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/Ambience.cs:165 
  at MonoDevelop.AssemblyBrowser.DomMethodNodeBuilder.BuildNode (ITreeBuilder treeBuilder, System.Object dataObject, System.String& label, Gdk.Pixbuf& icon, Gdk.Pixbuf& closedIcon) [0x0003f] in /Users/michael/Mono/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/TreeNodes/DomMethodNodeBuilder.cs:81 
  at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView+TreeBuilder.GetNodeInfo (MonoDevelop.Ide.Gui.Components.ExtensibleTreeView tree, ITreeBuilder tb, MonoDevelop.Ide.Gui.Components.NodeBuilder[] chain, System.Object dataObject, System.String& text, Gdk.Pixbuf& icon, Gdk.Pixbuf& closedIcon) [0x00028] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/TreeBuilder.cs:296
Comment 1 Mike Krüger 2013-05-17 04:31:36 UTC
fixed - but a use case would've been nice.
Comment 2 PJ 2013-06-24 16:18:43 UTC
This bug was marked as fixed for Xamarin Studio 4.0.9, which is currently in the beta channel. Try it out!