From e910aa1618c427a008b412ecaf4b5e3a4729992b Mon Sep 17 00:00:00 2001 From: ds5678 <49847914+ds5678@users.noreply.github.com> Date: Sat, 21 Dec 2024 23:45:10 -0800 Subject: [PATCH] Be more forgiving about null status of parameters given to CreateMemberReference --- src/AsmResolver.DotNet/TypeDescriptorExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AsmResolver.DotNet/TypeDescriptorExtensions.cs b/src/AsmResolver.DotNet/TypeDescriptorExtensions.cs index 11350dc88..f49f7b502 100644 --- a/src/AsmResolver.DotNet/TypeDescriptorExtensions.cs +++ b/src/AsmResolver.DotNet/TypeDescriptorExtensions.cs @@ -183,8 +183,8 @@ public static TypeReference CreateTypeReference(this ITypeDefOrRef declaringType /// The constructed reference. public static MemberReference CreateMemberReference( this IMemberRefParent parent, - string memberName, - MemberSignature signature) + string? memberName, + MemberSignature? signature) { return new MemberReference(parent, memberName, signature); }