Fix DumpStackObjects <bounds> error (#4384)
authorMike McLaughlin <mikem@microsoft.com>
Tue, 7 Nov 2023 16:55:53 +0000 (08:55 -0800)
committerGitHub <noreply@github.com>
Tue, 7 Nov 2023 16:55:53 +0000 (08:55 -0800)
src/Microsoft.Diagnostics.ExtensionCommands/DumpStackObjectsCommand.cs

index 2a211c1eb58a32e5ca78f68d8f36e5ba3c70ad55..a6f94d055be9dcbb55cf81b277e228c3faff169c 100644 (file)
@@ -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();
             }