-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Missclassifying public field when using coma to initialize several at once in C#. #8718
Comments
When setting:
I can reproduce the problem. To be sure that we speak about the same:
|
Sure, this is my output for The Doxyfile is the autogenerated with
All the code is (the only file i have is public class Example {
public int a, b;
private float c;
} |
…nitialize several at once in C#. The protection attribute holds for all variables.
I've just pushed a proposed patch, pull request #8720. |
issue #8718 Miss-classifying public field when using coma to initialize several at once in C#.
Code has been integrated in master on GitHub (please don't close the issue as this will be done at the moment of an official release). |
This issue was previously marked 'fixed but not released', |
Describe the bug
I have two public int fields initialized in this class. Then I have several private ones. The program missunderstand the coma separated field and place it into the private section.
Expected behavior
Obviously the second int would need to be public aswell.
Screenshots
Version
Windows 10 - 64bit
Additional context
This code is from a game I'm developing in Unity using C#.
The text was updated successfully, but these errors were encountered: