Skip to content

Commit 30b889c

Browse files
committed
Fixup
1 parent 5810165 commit 30b889c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Http/Routing/src/LinkGeneratorEndpointNameAddressExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,6 @@ public static class LinkGeneratorEndpointNameAddressExtensions
440440
throw new ArgumentException("A host must be provided.", nameof(host));
441441
}
442442

443-
return generator.GetUriByAddress<string>(endpointName, values ?? new(), scheme, host, pathBase, fragment, options);
443+
return generator.GetUriByAddress<string>(endpointName, values, scheme, host, pathBase, fragment, options);
444444
}
445445
}

src/Http/Routing/src/RouteValueDictionaryTrimmerWarning.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ namespace Microsoft.AspNetCore.Routing;
55

66
internal static class RouteValueDictionaryTrimmerWarning
77
{
8-
public const string Warning = "This API may perform reflection on supplied parameters which may be trimmed if not referenced directly." +
8+
public const string Warning = "This API may perform reflection on supplied parameters which may be trimmed if not referenced directly. " +
99
"Consider using a different overload to avoid this issue.";
1010
}

0 commit comments

Comments
 (0)