Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[c#] allow resolving fully-qualified names without importing them first #5212

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

xavierpinho
Copy link
Contributor

Follow up to #5205 -- the previous tests worked fine since System was being imported. However, we should still resolve e.g. System.Console when System is not being imported. I forgot to take into account this scenario in the previous PR.

@xavierpinho xavierpinho added the c# Relates to csharpsrc2cpg label Jan 8, 2025
@xavierpinho xavierpinho merged commit 4034bb6 into master Jan 13, 2025
5 checks passed
@xavierpinho xavierpinho deleted the xavierp/csharp-lookup-fqn branch January 13, 2025 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c# Relates to csharpsrc2cpg
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants