Skip to content

Conversation

YoshiRulz
Copy link
Member

@YoshiRulz YoshiRulz commented May 20, 2025

This should be delayed until at least 2026-01 so people have time to update their toolchains. Forgot .NET does RCs properly, but should still wait for VS2026, which is real and in beta as of 2025-09.

New Analyzer is re: 83d04b0. Even with access to the new Roslyn APIs, I still haven't gotten it working.
A change for all our Analyzers which use marker attributes (such as [CoreSettings], [FeatureNotImplemented], or [PeripheralOption], except none of those 3 are eligible in master) is to call initContext.AddEmbeddedAttributeDefinition();, new in Roslyn 4.14, and add [Embedded] on those attributes.

C# 14 brings the field keyword, which will help clean up a lot. And then I could write a Source Generator to clean up even more. Neither will be adopted in this PR though.

Remember to update the ApiHawk quickstart guide after this.

Resolves #4097.

I think this is or was for ReSharper? Needs testing, and if it turns out
this did something useful, hopefully it can be re-added as EditorConfig
@YoshiRulz YoshiRulz added the Meta Relating to code organisation or to things that aren't code label Sep 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Meta Relating to code organisation or to things that aren't code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate solution files to .slnx
2 participants