dotnet-api-docs
dotnet-api-docs copied to clipboard
.NET API reference documentation (.NET 5+, .NET Core, .NET Framework)
The [.NET 8 FileSecurity documentation](https://learn.microsoft.com/en-us/dotnet/api/system.security.accesscontrol.filesecurity?view=net-8.0) has incorrect [examples](https://learn.microsoft.com/en-us/dotnet/api/system.security.accesscontrol.filesecurity?view=net-8.0#examples) This document recommends the use of [SetAccessControl](https://learn.microsoft.com/en-us/dotnet/api/system.io.fileinfo.setaccesscontrol?view=netframework-4.8.1) and [GetAccessControl](https://learn.microsoft.com/en-us/dotnet/api/system.io.fileinfo.getaccesscontrol?view=netframework-4.8.1) through the File class, which does not work in .NET 8 The example...
@dotnet/area-extensions-primitives @carlossanlop @gewarren PTAL There's some line-ending mess in this file, I think the committed file is a mix of LF and CRLF so my touching it screws up as...
current [LINQ docs C# samples](https://github.com/DickBaker/dotnet-api-docs/tree/master/snippets/csharp/System.Linq) are vintage 2019 and **need** refresh (Issue #10110 relates) obviously **.NET** and **C#** have evolved apace since, so imho opportune to modernise docs too for...
### Type of issue VS2022 Error Message ### Description using System.Text.RegularExpressions; public static int Count (string input, string pattern); Severity Code CS0103 The name 'Count' does not exist in the...
### Type of issue Outdated article ### Description Looks like invoking Change() on a disposed timer will not throw ObjectDisposedException anymore. ### Page URL https://learn.microsoft.com/en-us/dotnet/api/system.threading.timer.change?view=net-8.0 ### Content source URL https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Threading/Timer.xml...
_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/VS-display-incorrect-format-comment-C-c/10702477)._ --- VS 2022 Version 17.10.4 display incorrect format comment C# code for double, float, decimal, half... when mouse hover...
### Type of issue Code doesn't work ### Description [(https://stackoverflow.com/questions/78803951/is-the-tobase64transform-code-sample-wrong)](https://stackoverflow.com/questions/78803951/is-the-tobase64transform-code-sample-wrong) 1. Members.cs file needs to have Copy to Output Directory set to Copy always, which is not stated in the...
@dotnet/area-system-collections @carlossanlop @gewarren PTAL
@dotnet/area-system-runtime @dotnet/area-system-numerics @dotnet/area-system-numerics-tensors @gewarren @directhex PTAL