File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
MetadataProcessor.Core/Tables Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -190,9 +190,12 @@ private void WriteClassFields(
190190 ++ instanceFieldsCount ;
191191 }
192192
193- if ( firstStaticFieldId > firstInstanceFieldId )
193+ if ( firstStaticFieldId < firstInstanceFieldId )
194194 {
195- firstStaticFieldId = firstInstanceFieldId ;
195+ if ( instanceFieldsCount > 0 && staticFieldsCount > 0 )
196+ {
197+ firstStaticFieldId = firstInstanceFieldId ;
198+ }
196199 }
197200
198201 writer . WriteUInt16 ( firstStaticFieldId ) ;
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.6" ,
3+ "version" : " 2.6.2 " ,
44 "assemblyVersion" : {
55 "precision" : " revision"
66 },
You can’t perform that action at this time.
0 commit comments