Skip to content

Commit df0288c

Browse files
committed
No point in allowing Decimal to be expanded. It has no properties.
1 parent 0e09040 commit df0288c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PowerShellEditorServices/Debugging/VariableDetails.cs

+1
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ private static bool GetIsExpandable(object valueObject)
130130
return
131131
valueObject != null &&
132132
!valueType.IsPrimitive &&
133+
!(valueObject is decimal) &&
133134
!(valueObject is UnableToRetrievePropertyMessage) &&
134135
!(valueObject is string); // Strings get treated as IEnumerables
135136
}

0 commit comments

Comments
 (0)