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#] create implicit ctor for static field inits #5209

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

xavierpinho
Copy link
Contributor

The same as of #5203, but now for static fields, finally resolving #4125. They somewhat overlap (with minor caveats), and ideally should be refactored, but I didn't find a clearly "best" way in the allotted time.

@xavierpinho xavierpinho added the c# Relates to csharpsrc2cpg label Jan 7, 2025
@xavierpinho xavierpinho merged commit 277fc6c into master Jan 13, 2025
5 checks passed
@xavierpinho xavierpinho deleted the xavierp/csharp-static-field-init 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