This commit updates InjectionGenerator to request a resolved attribute with a dedicated type if multiple methods with the same name and the same number of arguments exist. This was previously done already for constructors and this commit harmonizes the algorithms to methods as well Closes gh-28154