You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sharwell Sorry to ping you but would you have any idea on how to properly call the LookupSymbols to avoid the name clash that occurs on the example provided?
@mavasani@sharwell We are stuck on this issue which seems to affect 2-3 analyzer, would it be possible for you to have a look or ping someone who could help here?
I'm not sure you'll be able to use LookupSymbols alone here, but if you can, I'm guessing you could pass the position right before the }. That location would see the parameters and all top-level locals, but would not see locals defined in nested scopes.
Relates to #3352
I could not find which
position
to pass to theLookupSymbols
call to avoid a name clash between the current parameter and the next.See https://github.com/dotnet/roslyn-analyzers/pull/3352/files#diff-311b2f6fab1f2e00cefcbdf6e056dd96R202-R233
The text was updated successfully, but these errors were encountered: