Browse Source

Fixed typo that caused unit test failure.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3570 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 18 years ago
parent
commit
f08eb73a16
  1. 2
      src/Main/ICSharpCode.SharpDevelop.Dom/Project/Src/Implementations/AttributeReturnType.cs

2
src/Main/ICSharpCode.SharpDevelop.Dom/Project/Src/Implementations/AttributeReturnType.cs

@ -34,7 +34,7 @@ namespace ICSharpCode.SharpDevelop.Dom @@ -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;

Loading…
Cancel
Save