Skip to content

Commit dae54ba

Browse files
committed
Rebase, use named arg, avoid auto format
1 parent 74ecf76 commit dae54ba

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Navigation/BaseUriHelper.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,12 @@ static BaseUriHelper()
4848
/// Flags: None
4949
/// Default Value: null.
5050
/// </summary>
51-
public static readonly DependencyProperty BaseUriProperty = DependencyProperty.RegisterAttached("BaseUri", typeof(Uri), typeof(BaseUriHelper), new PropertyMetadata(null));
51+
public static readonly DependencyProperty BaseUriProperty =
52+
DependencyProperty.RegisterAttached(
53+
"BaseUri",
54+
typeof(Uri),
55+
typeof(BaseUriHelper),
56+
new PropertyMetadata(defaultValue: null));
5257

5358
/// <summary>
5459
/// Get BaseUri for a dependency object inside a tree.

src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/ReflectionUtils.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ static void UnescapeDirty(ref ReadOnlySpan<char> dirtyName)
9090
/// This should only be passed a RuntimeAssembly to ensure proper functionality.
9191
/// </summary>
9292
/// <param name="assembly">The RuntimeAssembly which will provide properly formatted full name.</param>
93-
/// <param name="version">If present, returns the value of Version portion, otherwise Empty result.</param>
94-
/// <param name="token">If present, returns the value of PublicKeyToken portion. Empty result is returned when the value is "null" or not present.</param>
93+
/// <param name="assemblyVersion">If present, returns the value of Version portion, otherwise Empty result.</param>
94+
/// <param name="assemblyToken">If present, returns the value of PublicKeyToken portion. Empty result is returned when the value is "null" or not present.</param>
9595
internal static void GetAssemblyVersionPlusToken(Assembly assembly, out ReadOnlySpan<char> assemblyVersion, out ReadOnlySpan<char> assemblyToken)
9696
{
9797
ArgumentNullException.ThrowIfNull(assembly, nameof(assembly));

0 commit comments

Comments
 (0)