From f08eb73a1676aaad31702e7414b2c9a09ce5da51 Mon Sep 17 00:00:00 2001 From: Daniel Grunwald Date: Tue, 30 Sep 2008 11:13:33 +0000 Subject: [PATCH] Fixed typo that caused unit test failure. git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3570 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61 --- .../Project/Src/Implementations/AttributeReturnType.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main/ICSharpCode.SharpDevelop.Dom/Project/Src/Implementations/AttributeReturnType.cs b/src/Main/ICSharpCode.SharpDevelop.Dom/Project/Src/Implementations/AttributeReturnType.cs index 79bae7d521..6fecbf674c 100644 --- a/src/Main/ICSharpCode.SharpDevelop.Dom/Project/Src/Implementations/AttributeReturnType.cs +++ b/src/Main/ICSharpCode.SharpDevelop.Dom/Project/Src/Implementations/AttributeReturnType.cs @@ -34,7 +34,7 @@ namespace ICSharpCode.SharpDevelop.Dom public override IReturnType BaseType { get { IClass class1 = scrt1.GetUnderlyingClass(); - IClass class2 = scrt1.GetUnderlyingClass(); + IClass class2 = scrt2.GetUnderlyingClass(); if (class1 != null && class2 != null) { if (class1.ClassInheritanceTree.Any(c => c.FullyQualifiedName == "System.Attribute")) return scrt1;