MsgPack003 flags reference to class with ?
nullable annotation, despite appearing in MessagePackAnalyzer.json
#1706
Labels
?
nullable annotation, despite appearing in MessagePackAnalyzer.json
#1706
Bug description
The MsgPack003 analyzers should ignore the
?
annotation from nullable reference types before looking for a matching type name inMessagePackAnalyzer.json
.Repro steps
And a
MessagePackAnalyzer.json
file with this content:[ "Nerdbank.Zcash.ZcashAddress" ]
Expected behavior
No error
Actual behavior
Error MsgPack003 Type must be marked with MessagePackObjectAttribute. ZcashTransaction.OtherPartyAddress.
What happened instead of what you expected.
Workaround
Remove the
?
annotation, and attribute the member with[MaybeNull]
instead.The text was updated successfully, but these errors were encountered: