Skip to content

Commit bbd17ed

Browse files
Run MilCodeGen for PresentationFramework (#10435)
Contributes to #10429
1 parent bacf186 commit bbd17ed

11 files changed

+56
-9
lines changed

src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Generated/FrameworkContentElement.cs

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
1+
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5+
//
56
//
67
// This file was generated, please do not edit it directly.
78
//
89
// This file was generated from the codegen template located at:
9-
// src\WpfGfx\codegen\mcg\generators\FrameworkElementTemplate.cs
10+
// wpf\src\WpfGfx\codegen\mcg\generators\FrameworkElementTemplate.cs
1011
//
1112
// Please see MilCodeGen.html for more information.
1213
//
@@ -212,7 +213,7 @@ protected internal void AddLogicalChild(object child)
212213
{
213214
if (exceptionThrown)
214215
{
215-
// ILTN removal: make this more robust
216+
// Future: ILTN removal: make this more robust
216217
// At the very least we should disconnect the child that we failed to add.
217218

218219
// Consider doing this...
@@ -387,6 +388,7 @@ internal void OnAncestorChangedInternal(TreeChangeInfo parentTreeState)
387388
// Clear the HasStyleChanged flag
388389
HasStyleChanged = false;
389390
HasStyleInvalidated = false;
391+
390392
}
391393

392394
// If this is a tree add operation update the ShouldLookupImplicitStyles
@@ -512,6 +514,7 @@ internal FrugalObjectList<DependencyProperty> InvalidateTreeDependentProperties(
512514
finally
513515
{
514516
AncestorChangeInProgress = false;
517+
515518
}
516519
}
517520

src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Generated/FrameworkElement.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
1+
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5+
//
56
//
67
// This file was generated, please do not edit it directly.
78
//

src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Media/Animation/Generated/DiscreteKeyFrames.cs

+6
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,19 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5+
//
56
//
67
// This file was generated, please do not edit it directly.
78
//
89
// Please see MilCodeGen.html for more information.
910
//
1011

12+
using System.Windows.Media.Media3D;
13+
1114
namespace System.Windows.Media.Animation
1215
{
16+
17+
1318
/// <summary>
1419
/// This class is used as part of a ThicknessKeyFrameCollection in
1520
/// conjunction with a KeyFrameThicknessAnimation to animate a
@@ -84,4 +89,5 @@ protected override Thickness InterpolateValueCore(Thickness baseValue, double ke
8489

8590
#endregion
8691
}
92+
8793
}

src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Media/Animation/Generated/EasingKeyFrames.cs

+6
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,21 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5+
//
56
//
67
// This file was generated, please do not edit it directly.
78
//
89
// Please see MilCodeGen.html for more information.
910
//
1011

12+
using System.Windows.Media.Media3D;
13+
1114
using MS.Internal.PresentationFramework;
1215

1316
namespace System.Windows.Media.Animation
1417
{
18+
19+
1520
/// <summary>
1621
/// This class is used as part of a ThicknessKeyFrameCollection in
1722
/// conjunction with a KeyFrameThicknessAnimation to animate a
@@ -135,4 +140,5 @@ public IEasingFunction EasingFunction
135140

136141
#endregion
137142
}
143+
138144
}

src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Media/Animation/Generated/KeyFrames.cs

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,19 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5+
//
56
//
67
// This file was generated, please do not edit it directly.
78
//
89
// Please see MilCodeGen.html for more information.
910
//
1011

12+
using System.Windows.Media.Media3D;
13+
1114
namespace System.Windows.Media.Animation
1215
{
16+
17+
1318
/// <summary>
1419
/// This class is used as part of a ThicknessKeyFrameCollection in
1520
/// conjunction with a KeyFrameThicknessAnimation to animate a
@@ -149,4 +154,5 @@ protected abstract Thickness InterpolateValueCore(
149154

150155
#endregion
151156
}
152-
}
157+
158+
}

src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Media/Animation/Generated/LinearKeyFrames.cs

+6
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,21 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5+
//
56
//
67
// This file was generated, please do not edit it directly.
78
//
89
// Please see MilCodeGen.html for more information.
910
//
1011

12+
using System.Windows.Media.Media3D;
13+
1114
using MS.Internal.PresentationFramework;
1215

1316
namespace System.Windows.Media.Animation
1417
{
18+
19+
1520
/// <summary>
1621
/// This class is used as part of a ThicknessKeyFrameCollection in
1722
/// conjunction with a KeyFrameThicknessAnimation to animate a
@@ -87,4 +92,5 @@ protected override Thickness InterpolateValueCore(Thickness baseValue, double ke
8792

8893
#endregion
8994
}
95+
9096
}

src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Media/Animation/Generated/SplineKeyFrames.cs

+12
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,26 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5+
//
56
//
67
// This file was generated, please do not edit it directly.
78
//
89
// Please see MilCodeGen.html for more information.
910
//
1011

12+
using MS.Internal;
13+
14+
using System.Collections;
15+
using System.ComponentModel;
16+
using System.Windows.Media;
17+
using System.Windows.Media.Media3D;
18+
1119
using MS.Internal.PresentationFramework;
1220

1321
namespace System.Windows.Media.Animation
1422
{
23+
24+
1525
/// <summary>
1626
/// This class is used as part of a ThicknessKeyFrameCollection in
1727
/// conjunction with a KeyFrameThicknessAnimation to animate a
@@ -136,4 +146,6 @@ public KeySpline KeySpline
136146

137147
#endregion
138148
}
149+
150+
139151
}

src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Media/Animation/Generated/ThicknessAnimation.cs

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5+
//
56
//
67
// This file was generated, please do not edit it directly.
78
//
@@ -10,6 +11,7 @@
1011

1112
using MS.Internal.KnownBoxes;
1213
using System.Globalization;
14+
using System.Windows.Media.Media3D;
1315

1416
using MS.Internal.PresentationFramework;
1517

src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Media/Animation/Generated/ThicknessAnimationBase.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
1+
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5+
//
56
//
67
// This file was generated, please do not edit it directly.
78
//
89
// Please see MilCodeGen.html for more information.
910
//
1011

12+
using System.Windows.Media.Media3D;
13+
1114
namespace System.Windows.Media.Animation
1215
{
1316
/// <summary>

src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Media/Animation/Generated/ThicknessAnimationUsingKeyFrames.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
1+
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5+
//
56
//
67
// This file was generated, please do not edit it directly.
78
//
@@ -12,7 +13,7 @@
1213
using System.Collections;
1314
using System.ComponentModel;
1415
using System.Windows.Markup;
15-
16+
using System.Windows.Media.Media3D;
1617
using MS.Internal.PresentationFramework;
1718

1819
namespace System.Windows.Media.Animation

src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Media/Animation/Generated/ThicknessKeyFrameCollection.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
1+
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5+
//
56
//
67
// This file was generated, please do not edit it directly.
78
//

0 commit comments

Comments
 (0)