Skip to content

Commit

Permalink
Suppress null method info
Browse files Browse the repository at this point in the history
  • Loading branch information
Nice3point committed Apr 30, 2024
1 parent 9cf458b commit 0bc308f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private bool TryEvaluate(PropertyInfo member, out object value, out ParameterInf
return true;
}

parameters = member.GetMethod.GetParameters();
parameters = member.GetMethod!.GetParameters();
if (_currentDescriptor is IDescriptorResolver resolver)
{
value = resolver.Resolve(Context, member.Name, parameters);
Expand Down

0 comments on commit 0bc308f

Please sign in to comment.