Skip to content

Commit ed0cf96

Browse files
committed
PR feedback
1 parent e6c0671 commit ed0cf96

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/Http/Http.Results/src/ResultsOfTHelper.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ internal static class ResultsOfTHelper
3939
}
4040
}
4141

42+
// TODO: Remove IL3050 suppress when https://github.com/dotnet/linker/issues/2715 is complete.
4243
[UnconditionalSuppressMessage("AOT", "IL3050", Justification = "Validated with IsDynamicCodeSupported check.")]
4344
[UnconditionalSuppressMessage("ReflectionAnalysis", "IL2060:MakeGenericMethod",
4445
Justification = "PopulateMetadataMethod calls a public static method. TTarget is annotated to include public methods.")]

src/Http/Http.Results/src/RouteValueDictionaryTrimmerWarning.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ namespace Microsoft.AspNetCore.Routing;
66
internal static class RouteValueDictionaryTrimmerWarning
77
{
88
public const string Warning = "This API may perform reflection on supplied parameters which may be trimmed if not referenced directly. " +
9-
"Consider using a different overload to avoid this issue.";
9+
"Initialize a RouteValueDictionary with route values to avoid this issue.";
1010
}

src/Http/Routing/src/RouteValueDictionaryTrimmerWarning.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ namespace Microsoft.AspNetCore.Routing;
66
internal static class RouteValueDictionaryTrimmerWarning
77
{
88
public const string Warning = "This API may perform reflection on supplied parameters which may be trimmed if not referenced directly. " +
9-
"Consider using a different overload to avoid this issue.";
9+
"Initialize a RouteValueDictionary with route values to avoid this issue.";
1010
}

0 commit comments

Comments
 (0)