Skip to content
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

Code fix does not preserve semantics #2

Open
sharwell opened this issue Nov 14, 2014 · 0 comments
Open

Code fix does not preserve semantics #2

sharwell opened this issue Nov 14, 2014 · 0 comments
Labels

Comments

@sharwell
Copy link
Member

Currently the code fix for MissingDefaultValue does not ensure that semantics are preserved when copying the explicit default value expression from the source definition to the target method. This does not affect literals (such as x = null, t = default(int?), or y = "Stuff", but it would affect cases where the default value is an unqualified reference to a constant value defined in the current class.

@sharwell sharwell added the bug label Nov 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant