© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•14mo ago•
18 replies
Mormon Son

Source Generator IDE interaction

I ran into an odd situation where if I generate code for a class with a primary constructor my IDE complains that the partial properties are ambiguous, but if I don’t use a primary constructor it’s fine. And in both cases it builds correctly. I was unable to reproduce in a smaller sample project. Any ideas?
Project with the problem is configured for WPF, .net9.0 and using preview language for partial properties
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

source generator
C#CC# / help
3y ago
❔ Source generator & protobuf
C#CC# / help
4y ago
Source generator not working?
C#CC# / help
12mo ago
source generator razor components
C#CC# / help
3y ago