KirillOsenkov / SourceBrowser

Source browser website generator that powers http://referencesource.microsoft.com and http://sourceroslyn.io
Apache License 2.0
1.08k stars 197 forks source link

BitArray has methods that doesn't exist. #227

Closed Donaut closed 1 year ago

Donaut commented 1 year ago

The BitArray has methods like "HasAllSet", "HasAnySet" which are doesn't exist. Looking at the MSDN docs these methods are not found both in the framework and the newer core c# versions.

svick commented 1 year ago

Those methods indeed don't exist in the most recent released version of .Net (7.0). But the site shows the code from the main branch, i.e. it's effectively a preview of .Net 8 and those methods exist there. See also https://github.com/dotnet/runtime/issues/72999 for more details.

To sum up, there is nothing wrong with SourceBrowser.