Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Find and Rename References misses await calls (C#)

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
jay.carlton Posted - Sep 26 2014 : 09:23:57 AM
Hi,

If I have a method declared with
async Task methodNameAsync()
and then I call it with
await methodNameAsync()
, VAX isn't finding the call sites when I do Find References or Rename References from the definition or finding the definition or other call sites when I do that from a call site. (Frequently I do this because I forgot to use the 'Async' suffix when naming the method

I'm using .net 4.5 in a Windows Store app.

VA_X.dll file version 10.8.2043.0 built 2014.07.10
DevEnv.exe version 12.0.30723.0 Premium
msenv.dll version 12.0.30723.0
Comctl32.dll version 6.10.9600.17031
Windows 8.1 6.3 Build 9600
8 processors (x86-64, WOW64)
Language info: 1252, 0x409

Platform: Project defined
Stable Includes:
C:\\Program Files (x86)\\Windows Kits\\8.1\\Include\\winrt;
C:\\Program Files (x86)\\Windows Kits\\8.1\\Include\\shared;
C:\\Program Files (x86)\\Windows Kits\\8.1\\Include\\um;
C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\atlmfc\\include;
C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\include;
C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\UnitTest\\include;

Other Includes:

Stable Source Directories:
C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\crt\\src;
C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\atlmfc\\src\\atl;
C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\atlmfc\\src\\mfcm;
C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\atlmfc\\src\\mfc;
C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\UnitTest\\include;

Asynchronous Programming with Async and Await (C# and Visual Basic)http://msdn.microsoft.com/en-us/library/hh191443.aspx

Thanks,
Jay
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Sep 26 2014 : 8:44:21 PM
I am seeing the same effect here. Thank you for the clear description.

case=85290

The link is useful, I did not know about this, always something new to learn

Your comment about forgetting the 'Async' suffix interested me, since your sample has this suffix, so I assume this does not make any difference to what you are seeing?

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000