public void Do()
{
var type = globalDataList.GatheredTypes[typeIndex];
+ if (null == type)
+ {
+ throw new Exception($"Type of index {typeIndex} is null");
+ }
+
var field = type.GetField(fi => fi.Name == propertyName && fi.IsStatic && fi.IsPublic);
if (null == field)
{