dotnet / dotnet/dotnet-api-docs
Documentation error
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
Looking at the source code, the function returns DateTime.UtcNow.Ticks when there is no high-resolution timer.
The documentation incorrectly mentions DateTime.Now.
The code looks right, doc seems wrong
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: b82939c8-9b3c-b8e6-5268-c97fbdcf9c1a
* Version Independent ID: 1cc404de-7a6a-912c-228d-46f76fdce63e
* Content: [Stopwatch.GetTimestamp Method (System.Diagnostics)](https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.stopwatch.gettimestamp?view=netcore-2.2)
* Content Source: [xml/System.Diagnostics/Stopwatch.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Diagnostics/Stopwatch.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**
Contributor guide
Assessment
This issue has not been assessed yet.