From: Mike McLaughlin Date: Tue, 7 Nov 2023 16:55:53 +0000 (-0800) Subject: Fix DumpStackObjects error (#4384) X-Git-Tag: accepted/tizen/unified/20241231.014852~40^2~291 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d76b189b81d0db9e938bbdf2d3ab84a18736ebc1;p=platform%2Fcore%2Fdotnet%2Fdiagnostics.git Fix DumpStackObjects error (#4384) --- diff --git a/src/Microsoft.Diagnostics.ExtensionCommands/DumpStackObjectsCommand.cs b/src/Microsoft.Diagnostics.ExtensionCommands/DumpStackObjectsCommand.cs index 2a211c1eb..a6f94d055 100644 --- a/src/Microsoft.Diagnostics.ExtensionCommands/DumpStackObjectsCommand.cs +++ b/src/Microsoft.Diagnostics.ExtensionCommands/DumpStackObjectsCommand.cs @@ -41,7 +41,7 @@ namespace Microsoft.Diagnostics.ExtensionCommands } MemoryRange range; - if (Bounds is null || Bounds.Length == 0) + if (Bounds is not null || Bounds.Length == 0) { range = GetStackRange(); }