diff --git a/MetadataProcessor.Shared/nanoDumperGenerator.cs b/MetadataProcessor.Shared/nanoDumperGenerator.cs index 9cc510b..053cbe5 100644 --- a/MetadataProcessor.Shared/nanoDumperGenerator.cs +++ b/MetadataProcessor.Shared/nanoDumperGenerator.cs @@ -1,4 +1,4 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; @@ -853,7 +853,14 @@ private string PrintSignatureForLocalVar(Collection variable } else if (l.VariableType.IsGenericInstance) { - sig.Append($"class {l.VariableType.FullName}"); + if (l.VariableType.IsValueType) + { + sig.Append($"valuetype {l.VariableType.FullName}"); + } + else + { + sig.Append($"class {l.VariableType.FullName}"); + } _tablesContext.TypeSpecificationsTable.TryGetTypeReferenceId(l.VariableType as TypeSpecification, out ushort referenceId);