public IReadOnlyList <INamedTypeSymbol> ScanForClusterTypes( ITypeInfoProvider typeInfoProvider ) { if (typeInfoProvider is null) { throw new ArgumentNullException(nameof(typeInfoProvider)); } var foundTypes = typeInfoProvider.GetClusterTypes(RoslynHelper.IsClusterType).ToList(); return(foundTypes); }