dotnet/runtime

Bug System.DirectoryServices.DirectorySearcher

Open

#59 756 ouverte le 29 sept. 2021

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)C# (5 445 forks)batch import
area-System.DirectoryServiceshelp wantedtest-enhancement

Métriques du dépôt

Stars
 (17 886 stars)
Métriques de merge PR
 (Merge moyen 12j 11h) (661 PRs mergées en 30 j)

Description

The field: internal SearchResultCollection? searchResult;

was never set. In older versions of the lib, the field was set in FindAll() method:

  SearchResultCollection resultCollection = new SearchResultCollection(root, hSearchResult, strArray, this);
  this.searchResult = resultCollection;
  return resultCollection;

Now:

        return new SearchResultCollection(clonedRoot, resultsHandle, properties, this);

As result impossible to retrieve DirsyncCookie.

Guide contributeur