Skip to content

Fix the warning output for the CS0078 rule#1171

Merged
mgravell merged 2 commits intoprotobuf-net:mainfrom
rstm-sf:issues/1078
Sep 8, 2024
Merged

Fix the warning output for the CS0078 rule#1171
mgravell merged 2 commits intoprotobuf-net:mainfrom
rstm-sf:issues/1078

Conversation

@rstm-sf
Copy link
Contributor

@rstm-sf rstm-sf commented Sep 7, 2024

After the source code for C# is generated, similar warnings may appear when building the project with the generated code

warning CS0078: The 'l' suffix is easily confused with the digit '1' -- use 'L' for clarity

I suggest changing the literal (currently), or like the others, via disable/restore warning

Fix #1078

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CS0078 is reported for literal suffixes created by protogen

2 participants