Bug 4770 - Both arguments to IsDerivedFrom() must be from the same compilation.
Summary: Both arguments to IsDerivedFrom() must be from the same compilation.
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: Trunk
Hardware: PC Linux
: Low normal
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2012-04-30 13:28 UTC by Marek Safar
Modified: 2012-05-02 02:33 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 Marek Safar 2012-04-30 13:28:07 UTC
Unexpected parameter completion exception.
FileName: /home/marek/git/mono/mcs/class/corlib/System/Guid.cs
Position: line=593 col=39
Line text: 				throw new NotImplementedException (
System.InvalidOperationException: Both arguments to IsDerivedFrom() must be from the same compilation.
  at ICSharpCode.NRefactory.TypeSystem.ExtensionMethods.IsDerivedFrom (ITypeDefinition type, ITypeDefinition baseType) [0x00030] in /home/marek/git/monodevelop/main/contrib/ICSharpCode.NRefactory/TypeSystem/ExtensionMethods.cs:92 
  at MonoDevelop.CSharp.Completion.ConstructorParameterDataProvider..ctor (Int32 startOffset, MonoDevelop.CSharp.Completion.CSharpCompletionTextEditorExtension ext, IType type) [0x00054] in /home/marek/git/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Completion/ConstructorParameterDataProvider.cs:46 
  at MonoDevelop.CSharp.Completion.CSharpCompletionTextEditorExtension.ICSharpCode.NRefactory.CSharp.Completion.IParameterCompletionDataFactory.CreateConstructorProvider (Int32 startOffset, IType type) [0x00001] in /home/marek/git/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Completion/CSharpCompletionTextEditorExtension.cs:616 
  at ICSharpCode.NRefactory.CSharp.Completion.CSharpParameterCompletionEngine.GetParameterDataProvider (Int32 offset, Char completionChar) [0x001b1] in /home/marek/git/monodevelop/main/contrib/ICSharpCode.NRefactory.CSharp/Completion/CSharpParameterCompletionEngine.cs:178 
  at MonoDevelop.CSharp.Completion.CSharpCompletionTextEditorExtension.HandleParameterCompletion (MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext, Char completionChar) [0x0009a] in /home/marek/git/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Completion/CSharpCompletionTextEditorExtension.cs:375
Comment 1 Mike Krüger 2012-05-02 02:33:00 UTC