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) && ContextType == other.ContextType); }
public bool Equals(GenericLookupKey other) { return(LookupKind == other.LookupKind && FixupKind == other.FixupKind && RuntimeDeterminedTypeHelper.Equals(TypeArgument, other.TypeArgument) && RuntimeDeterminedTypeHelper.Equals(MethodArgument, other.MethodArgument) && RuntimeDeterminedTypeHelper.Equals(FieldArgument, other.FieldArgument) && MethodContext.Equals(other.MethodContext)); }