From 1225849acbacfd68bc05c1000553a02832340a69 Mon Sep 17 00:00:00 2001 From: stefanidi Date: Tue, 12 May 2020 10:21:55 +1000 Subject: [PATCH] Correctly reference UtcNow instead of Now Doco is misleading indicating that when the timer does not use high res it returns DateTime.Now but looking at source code I can see that in fact it returns DateTime.UtcNow, so changed the documentation to reflect this small detail. --- xml/System.Diagnostics/Stopwatch.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Diagnostics/Stopwatch.xml b/xml/System.Diagnostics/Stopwatch.xml index a7770bb8105..2f6277b6373 100644 --- a/xml/System.Diagnostics/Stopwatch.xml +++ b/xml/System.Diagnostics/Stopwatch.xml @@ -435,7 +435,7 @@ class uses a high-resolution performance counter, returns the current value of that counter. If the class uses the system timer, returns the current property of the instance. + If the class uses a high-resolution performance counter, returns the current value of that counter. If the class uses the system timer, returns the current property of the instance.