Skip to content

Commit 720e8b8

Browse files
committed
Update a file with file header to fix Build
- Previous Commit added support for Analyzer Fixer based file header addition to source code files. One was missing and wasn't updated through the script since the script only checks starting newline or a single comment line which were not enough to fix the file. - Fortunately, the Analyzer caught this as IDE0073 style error and was able fix with a simple click on the suggestion icon in VS IDE. NOTE: Previous Commit was supposed to fail to demonstrate build failure when using `file_header_template`.
1 parent a264dfb commit 720e8b8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CommunityToolkit.Mvvm.SourceGenerators/Diagnostics/SuppressionDescriptors.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
15
using Microsoft.CodeAnalysis;
26

37
namespace CommunityToolkit.Mvvm.SourceGenerators.Diagnostics;

0 commit comments

Comments
 (0)