提交 31acc1f6 编写于 作者: C CyrusNajmabadi

Add comments.

上级 77c293e0
......@@ -41,7 +41,10 @@ internal static class DependentTypeFinder
private static readonly ConditionalWeakTable<Compilation, List<INamedTypeSymbol>> s_compilationAllAccessibleMetadataTypesTable =
new ConditionalWeakTable<Compilation, List<INamedTypeSymbol>>();
public static Task<IEnumerable<INamedTypeSymbol>> FindImmediatelyDerivedClassesAsync(
/// <summary>
/// Used for implementing the Inherited-By relation for progression.
/// </summary>
internal static Task<IEnumerable<INamedTypeSymbol>> FindImmediatelyDerivedClassesAsync(
INamedTypeSymbol type,
Solution solution,
CancellationToken cancellationToken)
......@@ -89,6 +92,10 @@ internal static class DependentTypeFinder
return SpecializedTasks.EmptyEnumerable<INamedTypeSymbol>();
}
/// <summary>
/// Implementation of <see cref="SymbolFinder.FindImplementationsAsync"/> for
/// <see cref="INamedTypeSymbol"/>s
/// </summary>
public static async Task<IEnumerable<INamedTypeSymbol>> FindTransitivelyImplementingTypesAsync(
INamedTypeSymbol type,
Solution solution,
......@@ -103,7 +110,10 @@ internal static class DependentTypeFinder
return derivedAndImplementingTypes.Where(t => t.TypeKind == TypeKind.Class).ToList();
}
public static Task<IEnumerable<INamedTypeSymbol>> FindImmediatelyDerivedAndImplementingTypesAsync(
/// <summary>
/// Used for implementing the Inherited-By relation for progression.
/// </summary>
internal static Task<IEnumerable<INamedTypeSymbol>> FindImmediatelyDerivedAndImplementingTypesAsync(
INamedTypeSymbol type,
Solution solution,
CancellationToken cancellationToken)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册