Skip to content

Generate polyfills for CA2263#360

Merged
slozier merged 1 commit into
mainfrom
ca2263
May 13, 2026
Merged

Generate polyfills for CA2263#360
slozier merged 1 commit into
mainfrom
ca2263

Conversation

@BCSharp

@BCSharp BCSharp commented May 12, 2026

Copy link
Copy Markdown
Member

Also updated Meziantou.Polyfill to 1.0.127, which has our optimized string.IndexOf

@slozier slozier left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Surprised there aren't more of these. Does the analyzer skip .Generated files on its own or is it some setting we have? For example CallInstruction.Generated.cs is full of these.

@BCSharp

BCSharp commented May 12, 2026

Copy link
Copy Markdown
Member Author

Generated files are normally excluded from code analysis.

In this case I did not care about the generated code, only about human-written code, so I could remove the warning silenced from the project file. Code generation requires a review on its own.

@slozier slozier merged commit 27e614e into main May 13, 2026
11 checks passed
@BCSharp BCSharp deleted the ca2263 branch May 13, 2026 01:16
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.

2 participants