I have some shadowed symbols. How do I list all the contexts that they are in?
For instance, consider symbol x which is in contexts: package1, package2
BeginPackage["package1`"];
x["package"] := "package1";
EndPackage[];
BeginPackage["package2`"];
x["package"] := "package2";
EndPackage[];
attempt 1:
Information
does not return package1`
attempt 2:
Names
does not return package2`
In[1]:= Names["pa*`x"]
Out[1]= {package1`x,x}