Beispiel #1
0
 public static Task <IEnumerable <INamedTypeSymbol> > FindDerivedClassesAsync(
     this INamedTypeSymbol type,
     Solution solution,
     IImmutableSet <Project> projects,
     CancellationToken cancellationToken)
 {
     return(DependentTypeFinder.FindDerivedClassesAsync(type, solution, projects, cancellationToken));
 }
 public Task <ImmutableArray <SerializableSymbolAndProjectId> > FindDerivedClassesAsync(
     PinnedSolutionInfo solutionInfo,
     SerializableSymbolAndProjectId typeAndProjectId,
     ProjectId[] projectIds,
     bool transitive,
     CancellationToken cancellationToken)
 {
     return(FindTypesAsync(
                solutionInfo, typeAndProjectId, projectIds,
                (nt, s, ps) => DependentTypeFinder.FindDerivedClassesAsync(nt, s, ps, transitive, cancellationToken),
                cancellationToken));
 }