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

Class constructors have obsolete new keyword #776

Closed
badcel opened this issue Jan 30, 2023 · 0 comments · Fixed by #778
Closed

Class constructors have obsolete new keyword #776

badcel opened this issue Jan 30, 2023 · 0 comments · Fixed by #778

Comments

@badcel
Copy link
Member

badcel commented Jan 30, 2023

Some class constructors have a new keyword which is not needed. Only create the new keyword for constructors if needed.

Example warning during build: Warning: /home/runner/work/gir.core/gir.core/src/Libs/Gio-2.0/Public/SocketListener.Constructors.Generated.cs(17,34): warning CS0109: The member 'SocketListener.New()' does not hide an accessible member. The new keyword is not required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant