Skip to content

Commit

Permalink
2004-05-24 Martin Baulig <martin@ximian.com>
Browse files Browse the repository at this point in the history
	* class.cs (MemberBase.DoDefine): Use DeclSpace.FindType() rather
	than RootContext.LookupType() to find the explicit interface
	type.  Fixes #58584.

svn path=/trunk/mcs/; revision=27972
  • Loading branch information
Martin Baulig committed May 24, 2004
1 parent 0cdb991 commit 3384dc1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions mcs/mcs/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2004-05-24 Martin Baulig <martin@ximian.com>

* class.cs (MemberBase.DoDefine): Use DeclSpace.FindType() rather
than RootContext.LookupType() to find the explicit interface
type. Fixes #58584.

2004-05-24 Raja R Harinath <rharinath@novell.com>

* Makefile: Simplify. Use executable.make.
Expand Down
4 changes: 2 additions & 2 deletions mcs/mcs/class.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4342,8 +4342,8 @@ protected virtual bool DoDefine (TypeContainer container)
ShortName = Name;

if (ExplicitInterfaceName != null) {
InterfaceType = RootContext.LookupType (
container, ExplicitInterfaceName, false, Location);
InterfaceType = container.FindType (
Location, ExplicitInterfaceName);
if (InterfaceType == null)
return false;

Expand Down

0 comments on commit 3384dc1

Please sign in to comment.