We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fae6f57 commit e8e231fCopy full SHA for e8e231f
1 file changed
ILSpy/TreeNodes/DerivedTypesTreeNode.cs
@@ -76,7 +76,7 @@ internal static IEnumerable<DerivedTypesEntryNode> FindDerivedTypes(AssemblyList
76
foreach (var baseType in td.DirectBaseTypes)
77
{
78
cancellationToken.ThrowIfCancellationRequested();
79
- if (baseType.FullName == type.FullName)
+ if (baseType.FullName == type.FullName && baseType.TypeParameterCount == type.TypeParameterCount)
80
81
yield return new DerivedTypesEntryNode(list, td);
82
break;
0 commit comments