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)
46
46
case nanoCLR_DataType . DATATYPE_R4 :
47
47
case nanoCLR_DataType . DATATYPE_BYREF :
48
48
case nanoCLR_DataType . DATATYPE_OBJECT :
49
+ case nanoCLR_DataType . DATATYPE_WEAKCLASS :
49
50
return dataType . ToString ( ) . Replace ( "DATATYPE_" , "" ) ;
50
51
51
52
case nanoCLR_DataType . DATATYPE_LAST_PRIMITIVE :
Original file line number Diff line number Diff line change @@ -68,6 +68,12 @@ static nanoSignaturesTable()
68
68
PrimitiveTypes . Add ( typeof ( object ) . FullName , nanoCLR_DataType . DATATYPE_OBJECT ) ;
69
69
PrimitiveTypes . Add ( typeof ( IntPtr ) . FullName , nanoCLR_DataType . DATATYPE_I4 ) ;
70
70
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 ) ;
71
77
}
72
78
73
79
/// <summary>
Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json" ,
3
- "version" : " 2.26 " ,
3
+ "version" : " 2.27 " ,
4
4
"release" : {
5
5
"branchName" : " release-v{version}" ,
6
6
"versionIncrement" : " build" ,
You can’t perform that action at this time.
0 commit comments