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

Add GObject-2.0.Integration.csproj #1158

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add GObject-2.0.Integration.csproj #1158

wants to merge 1 commit into from

Conversation

badcel
Copy link
Member

@badcel badcel commented Jan 21, 2025

  • I agree that my contribution may be licensed either under MIT or any version of LGPL license.

  • Make the IntegrationPackage a dependency from GObject itself. Test if the generator is used if it is a transitive dependency

  • Document how to do "sub sub classes" via manual "HandleAttribute"

  • add diagnostics for:

    • Add an analyzer which recommends attributing a class with the subclass attribute?
    • Nested classes are not yet supported
    • class misses handle attribute
    • Class is not partial
    • generic argument of subclass attribute does not match base of subclass (having no base class is ok)
  • Test diagnostics

@badcel badcel linked an issue Jan 21, 2025 that may be closed by this pull request
@badcel badcel force-pushed the fix-1145 branch 4 times, most recently from c7126f1 to 952818f Compare January 25, 2025 23:27
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 this pull request may close these issues.

Add SourceGenerator to make subclassing easier
1 participant