-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Block delegate*<void>...enum
constants in attributes
#66073
Conversation
src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenFunctionPointersTests.cs
Outdated
Show resolved
Hide resolved
Done with review pass (commit 3) |
Done with review pass (commit 9) |
default(delegate*<void>...enum)
in attributesdelegate*<void>...enum
constants in attributes
It looks like the implementation got changed significantly since the sign-off
Done with review pass (commit 18), tests are not looked at |
Thanks @AlekseyTs. I have addressed your comments.
Tests have been changed only slightly, see this diff: 4d00540#diff-ebf2265ce3e451cdaabcf12d7fdd188aff57df697b7e175e12ee6990c892a423
Just some timeouts, doesn't seem related to this PR. |
src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenFunctionPointersTests.cs
Outdated
Show resolved
Hide resolved
Done with review pass (commit 21) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (commit 23)
Closes #65594.
Follow up on #50903.
TypeNameSerializer
cannot handle function pointers (adding support is tracked in #48765). This PR blocks other scenarios where this would result in a stack overflow - when using a constant of anenum
where theenum
is nested in a type referencing a function pointer.