Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 C# - Can't find references for an await-ed task
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

iaijutsu
Starting Member

Australia
1 Posts

Posted - May 14 2023 :  10:37:26 PM  Show Profile  Reply with Quote
Whenever I try to find references for a task in "await <task>", it doesn't bring up any other references (like the implementation):



See in the find results, only the "await" result is found.

The inverse is also true - finding references on the implementation of the Task doesn't report the "await" code:



Version info:
VA_X.dll file version 10.9.2488.0 built 2023.04.25
DevEnv.exe version 16.11.33423.256 Professional
msenv.dll version 16.0.33328.57
Comctl32.dll version 6.10.19041.1110
Windows 10 10.0 22H2 Build 19045.2965 
32 processors (x86-64, WOW64)
Language info: 1252, 0x409

feline
Whole Tomato Software

United Kingdom
18724 Posts

Posted - May 15 2023 :  07:48:11 AM  Show Profile  Reply with Quote
Unfortunately there is currently a known bug in how VA's Find References is handling await functions in C#

case=85290

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000