dotnet/runtime

Bug System.DirectoryServices.DirectorySearcher

開放

#59,756 建立於 2021年9月29日

 (4 則留言) (0 個反應) (0 位負責人)C# (5,445 個分叉)batch import
area-System.DirectoryServiceshelp wantedtest-enhancement

倉庫指標

星標
 (17,886 顆星)
PR 合併指標
 (平均合併 12天 11小時) (30 天內合併 661 個 PR)

描述

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.

貢獻者指南