Branch: refs/heads/master
Home: https://github.com/mono/monodevelop
Compare: https://github.com/mono/monodevelop/compare/d542aac2fdf5...b453e031dba9
Commit: b453e031dba9a97bf683164a2e95084d29f15cb0
Author: Mike Krüger <[email protected]> (mkrueger)
Date: 2013-10-07 05:41:42 GMT
URL: https://github.com/mono/monodevelop/commit/b453e031dba9a97bf683164a2e95084d29f15cb0
[Refactoring] Made framework lookup errors more verbose (will help to
track down 'Bug 15223 - Can't create framework lookup')
Changed paths:
M main/src/addins/MonoDevelop.Refactoring/MonoDevelop.Refactoring/ResolveCommandHandler.cs
Modified: main/src/addins/MonoDevelop.Refactoring/MonoDevelop.Refactoring/ResolveCommandHandler.cs
===================================================================
@@ -346,7 +346,7 @@ static IEnumerable<PossibleNamespace> GetPossibleNamespaces (Document doc, AstNo
}
} catch (Exception e) {
if (!TypeSystemService.RecreateFrameworkLookup (netProject))
- LoggingService.LogError ("Error while looking up framework extension methods.", e);
+ LoggingService.LogError (string.Format ("Error while looking up extension method {0}", umResult.MemberName), e);
}
}
bool foundIdentifier = false;
@@ -449,7 +449,7 @@ out inferredTypes
}
} catch (Exception e) {
if (!TypeSystemService.RecreateFrameworkLookup (netProject))
- LoggingService.LogError ("Error while looking up framework types.", e);
+ LoggingService.LogError (string.Format ("Error while looking up identifier {0}", uiResult.Identifier), e);
}
foreach(var kv in lookups)
yield return new PossibleNamespace (kv.Item1.Namespace, true, new MonoDevelop.Projects.ProjectReference (kv.Item2));
@@ -470,7 +470,7 @@ out inferredTypes
}
} catch (Exception e) {
if (!TypeSystemService.RecreateFrameworkLookup (netProject))
- LoggingService.LogError ("Error while looking up framework types.", e);
+ LoggingService.LogError (string.Format ("Error while looking up member resolve result {0}", node), e);
}
foreach(var kv in lookups)
yield return new PossibleNamespace (kv.Item1.Namespace, true, new MonoDevelop.Projects.ProjectReference (kv.Item2));
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.