File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1- // Licensed to the .NET Foundation under one or more agreements.
1+ // Licensed to the .NET Foundation under one or more agreements.
22// The .NET Foundation licenses this file to you under the MIT license.
33
44using System ;
@@ -853,7 +853,14 @@ private string PrintSignatureForLocalVar(Collection<VariableDefinition> variable
853853 }
854854 else if ( l . VariableType . IsGenericInstance )
855855 {
856- sig . Append ( $ "class { l . VariableType . FullName } ") ;
856+ if ( l . VariableType . IsValueType )
857+ {
858+ sig . Append ( $ "valuetype { l . VariableType . FullName } ") ;
859+ }
860+ else
861+ {
862+ sig . Append ( $ "class { l . VariableType . FullName } ") ;
863+ }
857864
858865 _tablesContext . TypeSpecificationsTable . TryGetTypeReferenceId ( l . VariableType as TypeSpecification , out ushort referenceId ) ;
859866
You can’t perform that action at this time.
0 commit comments