dotnet/runtime

Bug System.DirectoryServices.DirectorySearcher

Open

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

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)C# (5,445 fork)batch import
area-System.DirectoryServiceshelp wantedtest-enhancement

倉庫指標

Star
 (17,886 star)
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.

貢獻者指南