Browse Source

fix build.

newNRvisualizers
Mike Krüger 15 years ago
parent
commit
abec11857e
  1. 2
      ICSharpCode.NRefactory/TypeSystem/ExtensionMethods.cs

2
ICSharpCode.NRefactory/TypeSystem/ExtensionMethods.cs

@ -258,7 +258,7 @@ namespace ICSharpCode.NRefactory.TypeSystem
/// <summary> /// <summary>
/// Gets all sub type definitions defined in a context. /// Gets all sub type definitions defined in a context.
/// </summary> /// </summary>
public static IEnumerable<ITypeDefinition> GetSubTypeDefinitions (this IType baseType, ITypeResolveContext context) public static IEnumerable<ITypeDefinition> GetSubTypeDefinitions (this ITypeDefinition baseType, ITypeResolveContext context)
{ {
foreach (var contextType in context.GetAllClasses ()) { foreach (var contextType in context.GetAllClasses ()) {
if (contextType.IsDerivedFrom (baseType, context)) if (contextType.IsDerivedFrom (baseType, context))

Loading…
Cancel
Save