Skip to content

Commit

Permalink
Merge pull request #2 from ilonatommy/fix-count-in-description-evalua…
Browse files Browse the repository at this point in the history
…tion

Fix for 4 failing tests of Count evaluation.
  • Loading branch information
ilonatommy authored Nov 19, 2021
2 parents 26512dc + c55a350 commit e7e4e5b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ public async Task<JObject> GetValueFromObject(JToken objRet, CancellationToken t
return (memberObject, remaining);
}

if (!string.IsNullOrEmpty(methodInfo.TypeInfo.Namespace))
if (!string.IsNullOrEmpty(methodInfo?.TypeInfo?.Namespace))
{
typeId = await FindStaticTypeId(methodInfo.TypeInfo.Namespace + "." + classNameToFind);
typeId = await FindStaticTypeId(methodInfo?.TypeInfo?.Namespace + "." + classNameToFind);
if (typeId != -1)
continue;
}
Expand Down

0 comments on commit e7e4e5b

Please sign in to comment.