From fcbb0ee255690c974f0388730ee41cde27baed1b Mon Sep 17 00:00:00 2001 From: Amrit-Locobuzz-Anand Date: Mon, 13 Oct 2025 15:14:56 +0530 Subject: [PATCH] Fix minor documentation typos in Lazy.cs summaries (#111921) This commit updates XML documentation in Lazy.cs to improve clarity and consistency. - Added missing period at the end of the summary for the `Mode` property. - Updated the summary for `IsValueFaulted` to clearly indicate it refers to the faulted state of value creation. Reference: https://github.com/dotnet/runtime/issues/111921 --- src/libraries/System.Private.CoreLib/src/System/Lazy.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libraries/System.Private.CoreLib/src/System/Lazy.cs b/src/libraries/System.Private.CoreLib/src/System/Lazy.cs index 04e95c9fbb1cfe..7f21438afc88cc 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Lazy.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Lazy.cs @@ -525,10 +525,10 @@ public LazyDebugView(Lazy lazy) /// Returns the value of the Lazy object. public T? Value => _lazy.ValueForDebugDisplay; - /// Returns the execution mode of the Lazy object + /// Returns the execution mode of the Lazy object. public LazyThreadSafetyMode? Mode => _lazy.Mode; - /// Returns the execution mode of the Lazy object + /// Returns whether the value creation of the Lazy object is faulted or not. public bool IsValueFaulted => _lazy.IsValueFaulted; } }