Skip to content

Commit 83b8526

Browse files
authored
Update the location of Auto-Generated (#108)
The Windows Forms Generators had misplaced tags
1 parent 11a9d7c commit 83b8526

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/ReactiveUI.SourceGenerators/RoutedControlHost/RoutedControlHostGenerator.Execute.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,17 +88,18 @@ private static string GetRoutedControlHost(string containingTypeName, string con
8888

8989
return
9090
$$"""
91+
// <auto-generated/>
9192
// Copyright (c) {{DateTime.Now.Year}} .NET Foundation and Contributors. All rights reserved.
9293
// Licensed to the .NET Foundation under one or more agreements.
9394
// The .NET Foundation licenses this file to you under the MIT license.
9495
// See the LICENSE file in the project root for full license information.
96+
9597
using ReactiveUI;
9698
using System.ComponentModel;
9799
using System.Reactive.Disposables;
98100
using System.Reactive.Linq;
99101
using System.Windows.Forms;
100102
101-
// <auto-generated/>
102103
#pragma warning disable
103104
#nullable enable
104105
namespace {{containingNamespace}}

src/ReactiveUI.SourceGenerators/ViewModelControlHost/ViewModelControlHostGenerator.Execute.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,18 @@ private static string GetViewModelControlHost(string containingTypeName, string
8181

8282
return
8383
$$"""
84+
// <auto-generated/>
8485
// Copyright (c) {{DateTime.Now.Year}} .NET Foundation and Contributors. All rights reserved.
8586
// Licensed to the .NET Foundation under one or more agreements.
8687
// The .NET Foundation licenses this file to you under the MIT license.
8788
// See the LICENSE file in the project root for full license information.
89+
8890
using ReactiveUI;
8991
using System.ComponentModel;
9092
using System.Reactive.Disposables;
9193
using System.Reactive.Linq;
9294
using System.Windows.Forms;
9395
94-
// <auto-generated/>
9596
#pragma warning disable
9697
#nullable enable
9798
namespace {{containingNamespace}}

0 commit comments

Comments
 (0)