Skip to content

Extend IsCompilerGenerated to check for CompilerGeneratedAttribute and add corresponding tests#127

Merged
dennisdoomen merged 2 commits intomainfrom
fix/compiler-generated
Feb 1, 2026
Merged

Extend IsCompilerGenerated to check for CompilerGeneratedAttribute and add corresponding tests#127
dennisdoomen merged 2 commits intomainfrom
fix/compiler-generated

Conversation

@dennisdoomen
Copy link
Owner

@dennisdoomen dennisdoomen commented Feb 1, 2026

The commit broadens the “compiler-generated” detection logic so a type is treated as compiler-generated not only when it matches known patterns (like records/anonymous/tuples), but also when it’s explicitly marked with CompilerGeneratedAttribute.

Fixes #120

@dennisdoomen dennisdoomen added the bug Something isn't working label Feb 1, 2026
@dennisdoomen dennisdoomen enabled auto-merge (squash) February 1, 2026 10:20
@dennisdoomen dennisdoomen merged commit 680d805 into main Feb 1, 2026
2 checks passed
@dennisdoomen dennisdoomen deleted the fix/compiler-generated branch February 1, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IsCompilerGenerated doesn't exclude those that have the [CompilerGenerated] attribute

2 participants