File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ public static string TypeSignatureAsString(this TypeReference type)
4646 case nanoCLR_DataType . DATATYPE_R4 :
4747 case nanoCLR_DataType . DATATYPE_BYREF :
4848 case nanoCLR_DataType . DATATYPE_OBJECT :
49+ case nanoCLR_DataType . DATATYPE_WEAKCLASS :
4950 return dataType . ToString ( ) . Replace ( "DATATYPE_" , "" ) ;
5051
5152 case nanoCLR_DataType . DATATYPE_LAST_PRIMITIVE :
Original file line number Diff line number Diff line change @@ -68,6 +68,12 @@ static nanoSignaturesTable()
6868 PrimitiveTypes . Add ( typeof ( object ) . FullName , nanoCLR_DataType . DATATYPE_OBJECT ) ;
6969 PrimitiveTypes . Add ( typeof ( IntPtr ) . FullName , nanoCLR_DataType . DATATYPE_I4 ) ;
7070 PrimitiveTypes . Add ( typeof ( UIntPtr ) . FullName , nanoCLR_DataType . DATATYPE_U4 ) ;
71+
72+ PrimitiveTypes . Add ( typeof ( WeakReference ) . FullName , nanoCLR_DataType . DATATYPE_WEAKCLASS ) ;
73+
74+ PrimitiveTypes . Add ( typeof ( RuntimeTypeHandle ) . FullName , nanoCLR_DataType . DATATYPE_REFLECTION ) ;
75+ PrimitiveTypes . Add ( typeof ( RuntimeFieldHandle ) . FullName , nanoCLR_DataType . DATATYPE_REFLECTION ) ;
76+ PrimitiveTypes . Add ( typeof ( RuntimeMethodHandle ) . FullName , nanoCLR_DataType . DATATYPE_REFLECTION ) ;
7177 }
7278
7379 /// <summary>
Original file line number Diff line number Diff line change 11{
22 "$schema" : " https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json" ,
3- "version" : " 2.26 " ,
3+ "version" : " 2.27 " ,
44 "release" : {
55 "branchName" : " release-v{version}" ,
66 "versionIncrement" : " build" ,
You can’t perform that action at this time.
0 commit comments