Skip to content

Commit

Permalink
Rebase, use named arg, avoid auto format
Browse files Browse the repository at this point in the history
  • Loading branch information
h3xds1nz committed Feb 3, 2025
1 parent 74ecf76 commit dae54ba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ static BaseUriHelper()
/// Flags: None
/// Default Value: null.
/// </summary>
public static readonly DependencyProperty BaseUriProperty = DependencyProperty.RegisterAttached("BaseUri", typeof(Uri), typeof(BaseUriHelper), new PropertyMetadata(null));
public static readonly DependencyProperty BaseUriProperty =
DependencyProperty.RegisterAttached(
"BaseUri",
typeof(Uri),
typeof(BaseUriHelper),
new PropertyMetadata(defaultValue: null));

/// <summary>
/// Get BaseUri for a dependency object inside a tree.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ static void UnescapeDirty(ref ReadOnlySpan<char> dirtyName)
/// This should only be passed a RuntimeAssembly to ensure proper functionality.
/// </summary>
/// <param name="assembly">The RuntimeAssembly which will provide properly formatted full name.</param>
/// <param name="version">If present, returns the value of Version portion, otherwise Empty result.</param>
/// <param name="token">If present, returns the value of PublicKeyToken portion. Empty result is returned when the value is "null" or not present.</param>
/// <param name="assemblyVersion">If present, returns the value of Version portion, otherwise Empty result.</param>
/// <param name="assemblyToken">If present, returns the value of PublicKeyToken portion. Empty result is returned when the value is "null" or not present.</param>
internal static void GetAssemblyVersionPlusToken(Assembly assembly, out ReadOnlySpan<char> assemblyVersion, out ReadOnlySpan<char> assemblyToken)
{
ArgumentNullException.ThrowIfNull(assembly, nameof(assembly));
Expand Down

0 comments on commit dae54ba

Please sign in to comment.