public bool Equals(GenericLookupKey other) { return(LookupKind == other.LookupKind && FixupKind == other.FixupKind && RuntimeDeterminedTypeHelper.Equals(TypeArgument, other.TypeArgument) && RuntimeDeterminedTypeHelper.Equals(MethodArgument?.Method ?? null, other.MethodArgument?.Method ?? null) && MethodContext.Equals(other.MethodContext)); }