diff --git a/source/RevitLookup/Core/Metadata/DescriptorBuilder.Properties.cs b/source/RevitLookup/Core/Metadata/DescriptorBuilder.Properties.cs index b50c8d31..dff62b81 100644 --- a/source/RevitLookup/Core/Metadata/DescriptorBuilder.Properties.cs +++ b/source/RevitLookup/Core/Metadata/DescriptorBuilder.Properties.cs @@ -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);