You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "paulirwin (via GitHub)" <gi...@apache.org> on 2026/06/15 23:53:20 UTC
[PR] Use C# 14 and fix field warnings/errors, #1340 [lucenenet]
paulirwin opened a new pull request, #1352:
URL: https://github.com/apache/lucenenet/pull/1352
- [X] You've read the [Contributor Guide](https://github.com/apache/lucenenet/blob/master/CONTRIBUTING.md) and [Code of Conduct](https://www.apache.org/foundation/policies/conduct.html).
- [ ] You've included unit or integration tests for your change, where applicable.
- [ ] You've included inline docs for your change, where applicable.
- [X] There's an open issue for the PR that you are making. If you'd like to propose a change, please [open an issue](https://github.com/apache/lucenenet/issues/new/choose) to discuss the change or find an existing issue.
Use C# 14 and fix field warnings/errors
Partial #1340
## Description
This is part 1 of 3 for #1340. I will do the ReadOnlySpan and extension block changes as follow-up PRs.
This sets LangVersion to 14 for the solution, and removes the explicit set of that from one place. It also fixes the `field` keyword warnings and errors, by either renaming local variables or adding `this.` qualification (to avoid a more extensive refactoring of renaming the fields).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@lucenenet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Use C# 14 and fix field warnings/errors, #1340 [lucenenet]
Posted by "paulirwin (via GitHub)" <gi...@apache.org>.
paulirwin merged PR #1352:
URL: https://github.com/apache/lucenenet/pull/1352
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@lucenenet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org