Skip to content

Commit 2fb5a50

Browse files
Update src/PowerShellEditorServices/Services/DebugAdapter/Debugging/VariableDetails.cs
Co-authored-by: Patrick Meinecke <[email protected]>
1 parent 541fb0d commit 2fb5a50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PowerShellEditorServices/Services/DebugAdapter/Debugging/VariableDetails.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ private static string GetValueStringAndType(object value, bool isExpandable, out
170170
Type objType = value.GetType();
171171

172172
// This is the type format PowerShell users expect and will appear when you hover a variable name
173-
typeName = '[' + value.GetType().FullName + ']';
173+
typeName = '[' + objType.FullName + ']';
174174

175175
if (value is bool)
176176
{

0 commit comments

Comments
 (0)