Skip to content

Commit

Permalink
Be more forgiving about null status of parameters given to CreateMemb…
Browse files Browse the repository at this point in the history
…erReference
  • Loading branch information
ds5678 committed Dec 22, 2024
1 parent 71d345f commit e910aa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AsmResolver.DotNet/TypeDescriptorExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ public static TypeReference CreateTypeReference(this ITypeDefOrRef declaringType
/// <returns>The constructed reference.</returns>
public static MemberReference CreateMemberReference(
this IMemberRefParent parent,
string memberName,
MemberSignature signature)
string? memberName,
MemberSignature? signature)
{
return new MemberReference(parent, memberName, signature);
}
Expand Down

0 comments on commit e910aa1

Please sign in to comment.