IconFont2Code
IconFont2Code copied to clipboard
Missing generated code attribute
Looks like MAUI has started shipping IconFont2Code with the dotnet 9 release. However, identifiers aren't Pascal cased and there's no marker to exclude the file from analysis, so it triggers build warnings/failures.
e.g.
// <auto-generated>
// Exclude this file from analysis. This file isn't generated but is added to projects.
// </auto-generated>
or
[GeneratedCode("IconFont2Code", "1.0.0.0")]
Should probably have ExcludeFromCodeCoverage too