-
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
EnC - Report diagnostic when compiler synthesizes new types on unsupported runtime #55876
EnC - Report diagnostic when compiler synthesizes new types on unsupported runtime #55876
Conversation
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
Signed,
Someone who only knows a little about EnC
src/EditorFeatures/Test/EditAndContinue/EditAndContinueWorkspaceServiceTests.cs
Show resolved
Hide resolved
Co-authored-by: Andrew Hall <ryzngard@live.com>
@@ -12,5 +12,6 @@ internal enum EditAndContinueErrorCode | |||
ChangesDisallowedWhileStoppedAtException = 4, | |||
DocumentIsOutOfSyncWithDebuggee = 5, | |||
UnableToReadSourceFileOrPdb = 6, | |||
ChangeResultsInSynthesizedType = 7, |
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.
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.
I like AddingTypeRuntimeCapabilityRequired
, thanks
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.
Fixes #54676
Could follow up with more specific rude edit based diagnostics for specific scenarios, but I like this as a safety net to catch them all.