This repository was archived by the owner on Dec 12, 2024. It is now read-only.
This repository was archived by the owner on Dec 12, 2024. It is now read-only.
[style] Fix up style in Inventory namespace #797
Open
Description
Look over code and make changes including:
- using
var
where it makes sense - clean up type-checking using the
if (cl is SomeType varName)
pattern - remove
SomeType varName = null; if (values.TryGet(name, out varName)
pattern and useif (values.TryGet(name, out varVarname))
- Turn on #nullable enable