You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I was debugging the code for issue #157 , I got a lot of NullReferenceExceptions in MagicalBox complaining that dictionary's key is null, apparently nulls get passed to Dictionary lookup routines, where a concrete Type instance is expected for the key.
Since this library intends to be highly performant, throwing such exceptions is not good, and it would be better to avoid such calls by checking in advance if key is null and simply not performing dictionary lookups.
The text was updated successfully, but these errors were encountered:
When I was debugging the code for issue #157 , I got a lot of NullReferenceExceptions in
MagicalBox
complaining that dictionary's key isnull
, apparentlynull
s get passed to Dictionary lookup routines, where a concreteType
instance is expected for the key.Since this library intends to be highly performant, throwing such exceptions is not good, and it would be better to avoid such calls by checking in advance if key is null and simply not performing dictionary lookups.
The text was updated successfully, but these errors were encountered: