IconFont2Code icon indicating copy to clipboard operation
IconFont2Code copied to clipboard

Missing generated code attribute

Open molesmoke opened this issue 1 year ago • 1 comments

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")]

molesmoke avatar Nov 26 '24 00:11 molesmoke

Should probably have ExcludeFromCodeCoverage too

jeremy-visionaid avatar Nov 26 '24 00:11 jeremy-visionaid