Write a C# analyzer for direct Spr/UK member access, as part of the ModBuildConfig package. The analyzer should throw a warning when a member is accessed that way (for example, Spr.icons_ace), but not when used in any other way (Enum.Parse<Spr>("icons_ace") or nameof(Spr.icons_ace).
Write a C# analyzer for direct
Spr
/UK
member access, as part of the ModBuildConfig package. The analyzer should throw a warning when a member is accessed that way (for example,Spr.icons_ace
), but not when used in any other way (Enum.Parse<Spr>("icons_ace")
ornameof(Spr.icons_ace)
.