dotnet-api-docs icon indicating copy to clipboard operation
dotnet-api-docs copied to clipboard

.NET API reference documentation (.NET 5+, .NET Core, .NET Framework)

Results 204 dotnet-api-docs issues
Sort by recently updated
recently updated
newest added

Both methods throw the exception if the directory of the file being written to doesn't exist. ## Summary Added DirectoryNotFoundException to list of exceptions thrown for CreateText and AppendText. Pulled...

needs-author-action
area-System.IO

## Summary Changed the exception description to match 'startIndex' from String.Substring, because the behavior is identical (and original description on Array.FindIndex is arguably either wrong or vague and hard to...

area-System.Runtime
community-contribution

Example of what it looks like today (see bottom line of documentation): ```cs // ......... // Exceptions: // T:System.ArgumentNullException: // array is null. -or- match is null. // // T:System.ArgumentOutOfRangeException:...

untriaged
Pri3
area-System.Runtime

## Summary This fixes the exception documentation for `SocketsHttpHandler.PooledConnectionLifetime` The documentation currently reads: > ## Exceptions > [ArgumentOutOfRangeException](https://learn.microsoft.com/en-us/dotnet/api/system.argumentoutofrangeexception?view=net-8.0) > The value specified is less than [Zero](https://learn.microsoft.com/en-us/dotnet/api/system.timespan.zero?view=net-8.0#system-timespan-zero) or is equal to...

area-System.Net.Http
community-contribution

https://learn.microsoft.com/de-de/dotnet/api/system.random.-ctor?view=net-8.0#system-random-ctor(system-int32) The example code uses: `(int) DateTime.Now.Ticks & 0x0000FFFF` There is no explanation why this is used. The example mentions the seeds generated might end up the same when executed...

untriaged
Pri3
area-System.DateTime

This concerns the documentation for double.IsRealNumber: https://learn.microsoft.com/en-us/dotnet/api/system.double.isrealnumber?view=net-8.0 I was surprised to find while testing that this returns `true` for `double.PositiveInfinity` and `double.NegativeInfinity`. In math class, we learn that infinities are...

Pri3
area-System.Numerics

.NET source code clearly shows Read() may not return a fixed number of characters, but only what's currently available on the stream. ReadBlock returns the stated number of characters and...

area-System.IO
community-contribution

I was looking for some syntax I forgot and neither of these search strings got me anything interesting (Bing, Edge) create IReadonlylist c# c# IReadonlylist learn I realize the first...

untriaged
Pri3
area-System.Collections

The documentation page for the `DataTemplateSelector` seems to have a formatting issue (see below). ![image](https://github.com/dotnet/dotnet-api-docs/assets/11773136/ac4cd8b9-7aff-45ab-93a6-445a5cc895c6) It would be probably better to show a single snippet of XAML code and not...

area-WPF
untriaged
Pri3

Can the documentation be improved to mention this? Maybe I am going crazy, or my code is wrong, but this caused me hours of frustration, (looking for documentation, reviewing my...

untriaged
Pri3
area-System.Threading.Tasks