Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / October 2007

Tip: Looking for answers? Try searching our database.

Find All References returns on subset

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
camarkco@hotmail.com - 03 Oct 2007 03:06 GMT
Hi,
  I am running Version 8.0.50727.867  (vsvista.050727-8600) of
VS2005.   In my C# program Find All References returns only a subset
of all references, the definition of the variable and where the
variable appears in a return statement.   No other references to the
variable are shown, including either the right or left side of
assignments.      How can I fix Find All References?

Thanks,
Mark
WenYuan Wang [MSFT] - 03 Oct 2007 08:04 GMT
Hello Mark,

According to your description, you noticed an issue that "Find All
Reference" feature cannot return the reference to the variable (either
right or left side of assignment). If I misunderstood anything here, please
correct me.

Vsvista.050727-8600 is fine. This means your VS 2005 has applied last
Service Pack.
I tried it on my Vista Machine (Vsvista.050727-8600), but I failed to
reproduce this issue on my side.

I have tried following code snippet on my test machine,
private void button1_Click(object sender, EventArgs e)
       {
           int a = 0;
           a = 10; //right side of assignment
           int b = a; //left side of assignment
       }

After I right click on the line "int a=0","find all reference" return the
following result for me.it seems all variables (right/left of assignment)
have been caught. Am I missing something here?

C:\Users\v-wywang\Documents\Visual Studio
2005\Projects\ConsoleApplication56\WindowsApplication13\WindowsApplication13
\Form1.cs - (20, 17) : int a = 0;
C:\Users\v-wywang\Documents\Visual Studio
2005\Projects\ConsoleApplication56\WindowsApplication13\WindowsApplication13
\Form1.cs - (21, 13) : a = 10; //right side of assignment
C:\Users\v-wywang\Documents\Visual Studio
2005\Projects\ConsoleApplication56\WindowsApplication13\WindowsApplication13
\Form1.cs - (22, 21) : int b = a; //left side of assignment

For such VS IDE issue, it is necessary for us to reproduce the issue on our
side. Would you please give us detailed reproduce steps? Thereby, we can
perform further research and give you some advice. Thanks.

If you have any more cercen, please feel free to update here. It's my
pleasure to assist you.

Have a great day,
Best regards,

Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
WenYuan Wang [MSFT] - 05 Oct 2007 13:28 GMT
Hello Mark

This is Wen Yuan again. Have you resolved the issue so far?
If the issue still persists, is it possible for you to paste a detailed
reproduce steps?
Thereby, I can perform further reseach. We are glad to assist you.

Have a great day,
Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.