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