Annotations are not preserved on non-whitespace trivia after formatting #49485
Replies: 2 comments 2 replies
-
i'm not sure if we preserve annotations on trivia when run under formatting. can you instead annotate a token and try to get things working that way? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Discussed offline with @CyrusNajmabadi. Going to file a bug for this to investigate the inconsistency mentioned above. Edit: Filed #49492 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Version Used: CodeAnalysis 3.8.0, dotnet sdk 5.0.100
Steps to Reproduce:
Expected Behavior: The annotation is preserved
Actual Behavior: The annotation is not preserved
cc @sharwell @jasonmalinowski
Beta Was this translation helpful? Give feedback.
All reactions