|
|
|
@ -55,6 +55,8 @@ namespace ICSharpCode.NRefactory.TypeSystem.Implementation
@@ -55,6 +55,8 @@ namespace ICSharpCode.NRefactory.TypeSystem.Implementation
|
|
|
|
|
// (e.g. C implements I1 and I2, and both interfaces derive from Object)
|
|
|
|
|
if (!this.Contains(type)) { |
|
|
|
|
foreach (IType baseType in type.DirectBaseTypes) { |
|
|
|
|
if (type.Kind != TypeKind.TypeParameter && baseType.Kind == TypeKind.TypeParameter) |
|
|
|
|
continue; |
|
|
|
|
if (SkipImplementedInterfaces && def != null && def.Kind != TypeKind.Interface && def.Kind != TypeKind.TypeParameter) { |
|
|
|
|
if (baseType.Kind == TypeKind.Interface) { |
|
|
|
|
// skip the interface
|
|
|
|
|