Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Error navigating to type in assembly browser #4950

Closed
mhutch opened this issue May 30, 2018 · 1 comment
Closed

Error navigating to type in assembly browser #4950

mhutch opened this issue May 30, 2018 · 1 comment

Comments

@mhutch
Copy link
Member

mhutch commented May 30, 2018

Attempting to got to definition on the type Enumerable.Union failed with the following error.

ERROR [2018-05-30 00:25:28Z]: Assembly browser: Can't find: M:System.Linq.Enumerable.Union``1(System.Collections.Generic.IEnumerable{``0}).

This was preceded by a huge number of errors looking very similar to the following.

ERROR [2018-05-30 00:25:28Z]: Exception while creating generic instance type id string System.Func`3<TFirst,TSecond,TResult>
System.ArgumentException: Value does not fall within the expected range.
  at Mono.Cecil.Rocks.TypeReferenceRocks.MakeGenericInstanceType (Mono.Cecil.TypeReference self, Mono.Cecil.TypeReference[] arguments) [0x00020] in <bbd684a8611f4ae984cf8cd45f9b22b3>:0 
  at MonoDevelop.AssemblyBrowser.UnresolvedIdStringProvider.AppendTypeName (System.Text.StringBuilder sb, Mono.Cecil.TypeReference type, System.Boolean explicitInterfaceImpl, System.Int32 outerTypeParameterCount) [0x001cf] in /Users/mikayla/code/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/UnresolvedIdStringProvider.cs:161 

VS bug #624054

@mhutch mhutch assigned slluis and mkrueger and unassigned slluis May 30, 2018
mkrueger added a commit that referenced this issue May 31, 2018
After fixing & unit testing the IdStringProvider I found out that it
is just redundant since cecil actually can generate proper ID strings…
the id string provider was a left over from nrefactory days…
mkrueger added a commit that referenced this issue May 31, 2018
After fixing & unit testing the IdStringProvider I found out that it
is just redundant since cecil actually can generate proper ID strings…
the id string provider was a left over from nrefactory days…
Therzok pushed a commit that referenced this issue May 31, 2018
After fixing & unit testing the IdStringProvider I found out that it
is just redundant since cecil actually can generate proper ID strings…
the id string provider was a left over from nrefactory days…
@xamarin-release-manager
Copy link
Contributor

Fixed in version 7.6.0.1475 (master)

Author: Mike Krüger
Commit: e187f5b (mono/monodevelop)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants