-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Concept-ApiClarityIssues for improving the clarity of the Biohazrd APIIssues for improving the clarity of the Biohazrd API
Description
Some types like ExternallyDefinedTypeDeclaration provide an explicit overload which use the Roslyn-synthesized TranslatedDeclaration copy constructor to shadow existing declarations, while with others (IE: TranslatedEnum) you must manually populate ReplacedDeclarations.
Both feel differing degrees of wrong, and forgetting to do this breaks type references. (EG: When replacing a typedef with a sythesized enum as with PotAudioNet.Generator.MacroTransformation.)
This should be revisited and potentially clarified. I think I accidentally went two different directions with this at some point in a way that's causing confusion for me now 😅
Metadata
Metadata
Assignees
Labels
Concept-ApiClarityIssues for improving the clarity of the Biohazrd APIIssues for improving the clarity of the Biohazrd API