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.
2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
4
4
using System ;
@@ -853,7 +853,14 @@ private string PrintSignatureForLocalVar(Collection<VariableDefinition> variable
853
853
}
854
854
else if ( l . VariableType . IsGenericInstance )
855
855
{
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
+ }
857
864
858
865
_tablesContext . TypeSpecificationsTable . TryGetTypeReferenceId ( l . VariableType as TypeSpecification , out ushort referenceId ) ;
859
866
You can’t perform that action at this time.
0 commit comments