Repository navigation
GH253: Fix generated alias compilation for addins in Cake.Sdk scripts - #254
Merged
Merged
Conversation
….Sdk scripts - Sanitize generated class names from assembly names with characters that are invalid in identifiers, e.g. Cake.Markdown-Pdf. - Emit generic constraints on alias wrappers, including unmanaged, notnull, class?, nullable constraint types and allows ref struct. - Emit enum defaults as member names or flags combinations, falling back to a cast. - Fix decimal, float and double literals, NaN and Infinity, and default for value types and type parameters. - Skip aliases whose signature references unresolved types and report CAKEGEN001. - Skip CakeNamespaceImport values that are not namespaces and report CAKEGEN002. - Read CakeNamespaceImport from the declaring class and assembly as well as the method. - Escape C# keyword identifiers in method, parameter, type parameter and property alias names. - Keep ref readonly parameters and forward them with in. - Add addin compatibility tests using in-memory fake addins, and reference the full shared framework in test compilations. - fixes cake-build#253
devlead
enabled auto-merge
October 20, 2026 18:14
devlead
disabled auto-merge
October 20, 2026 18:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #253