dotnet/runtime

Bug System.DirectoryServices.DirectorySearcher

オープン

#59,756 opened on 2021/09/29

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)C# (5,445 件のフォーク)batch import
area-System.DirectoryServiceshelp wantedtest-enhancement

Repository metrics

Stars
 (17,886 個のスター)
PR merge metrics
 (平均マージ 12d 11h) (30d で 661 merged PRs)

説明

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.

コントリビューターガイド