diff --git a/AspNetCore.sln b/AspNetCore.sln
index 9164c1b75bba..7eba541ea0a0 100644
--- a/AspNetCore.sln
+++ b/AspNetCore.sln
@@ -1102,7 +1102,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "perf", "perf", "{5095E70C-6
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.SignalR.Microbenchmarks", "src\SignalR\perf\Microbenchmarks\Microsoft.AspNetCore.SignalR.Microbenchmarks.csproj", "{A6A95BEF-7E21-4D3D-921B-F77267219D27}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.SignalR.Tests", "src\SignalR\server\SignalR\test\Microsoft.AspNetCore.SignalR.Tests.csproj", "{4DC9C494-9867-4319-937E-5FBC0E5F5A51}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.SignalR.Tests", "src\SignalR\server\SignalR\test\Microsoft.AspNetCore.SignalR.Tests\Microsoft.AspNetCore.SignalR.Tests.csproj", "{4DC9C494-9867-4319-937E-5FBC0E5F5A51}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Specification.Tests", "Specification.Tests", "{245939DA-D68D-4B5C-A95E-D3B6923614FF}"
EndProject
diff --git a/eng/RequiresDelayedBuildProjects.props b/eng/RequiresDelayedBuildProjects.props
index aca07fcc13f2..3c1626ba53bf 100644
--- a/eng/RequiresDelayedBuildProjects.props
+++ b/eng/RequiresDelayedBuildProjects.props
@@ -21,6 +21,7 @@
+
diff --git a/eng/TrimmableProjects.props b/eng/TrimmableProjects.props
index 3b28def7582c..6ba207ac1852 100644
--- a/eng/TrimmableProjects.props
+++ b/eng/TrimmableProjects.props
@@ -92,6 +92,8 @@
+
+
diff --git a/eng/testing/linker/SupportFiles/Directory.Build.targets b/eng/testing/linker/SupportFiles/Directory.Build.targets
index dc209479dd85..8d7674b8923a 100644
--- a/eng/testing/linker/SupportFiles/Directory.Build.targets
+++ b/eng/testing/linker/SupportFiles/Directory.Build.targets
@@ -73,6 +73,8 @@
+
+
diff --git a/src/Components/Components/src/Microsoft.AspNetCore.Components.WarningSuppressions.xml b/src/Components/Components/src/Microsoft.AspNetCore.Components.WarningSuppressions.xml
index cd14d7bb7e37..4a18cf8fc813 100644
--- a/src/Components/Components/src/Microsoft.AspNetCore.Components.WarningSuppressions.xml
+++ b/src/Components/Components/src/Microsoft.AspNetCore.Components.WarningSuppressions.xml
@@ -1,36 +1,6 @@
-
-
- ILLink
- IL2026
- member
- M:Microsoft.AspNetCore.Components.BindConverter.FormatterDelegateCache.MakeTypeConverterFormatter``1
-
-
- ILLink
- IL2026
- member
- M:Microsoft.AspNetCore.Components.BindConverter.ParserDelegateCache.MakeTypeConverterConverter``1
-
-
- ILLink
- IL2026
- member
- M:Microsoft.AspNetCore.Components.RouteTableFactory.<GetRouteableComponents>g__GetRouteableComponents|4_0(System.Collections.Generic.List{System.Type},System.Reflection.Assembly)
-
-
- ILLink
- IL2062
- member
- M:Microsoft.AspNetCore.Components.RouteTableFactory.Create(System.Collections.Generic.Dictionary{System.Type,System.String[]})
-
-
- ILLink
- IL2067
- member
- M:Microsoft.AspNetCore.Components.CascadingParameterState.CreateReflectedCascadingParameterInfos(System.Type)
-
+
ILLink
IL2072
@@ -43,47 +13,17 @@
member
M:Microsoft.AspNetCore.Components.ComponentFactory.PerformPropertyInjection(System.IServiceProvider,Microsoft.AspNetCore.Components.IComponent)
-
- ILLink
- IL2072
- member
- M:Microsoft.AspNetCore.Components.DynamicComponent.SetParametersAsync(Microsoft.AspNetCore.Components.ParameterView)
-
ILLink
IL2072
member
M:Microsoft.AspNetCore.Components.Reflection.ComponentProperties.SetProperties(Microsoft.AspNetCore.Components.ParameterView@,System.Object)
-
- ILLink
- IL2077
- member
- M:Microsoft.AspNetCore.Components.ComponentFactory.CreateInitializer(System.Type)
-
-
- ILLink
- IL2077
- member
- M:Microsoft.AspNetCore.Components.LayoutView.<>c__DisplayClass13_0.<WrapInLayout>g__Render|0(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder)
-
-
- ILLink
- IL2080
- member
- M:Microsoft.AspNetCore.Components.Reflection.MemberAssignment.<GetPropertiesIncludingInherited>d__0.MoveNext
-
ILLink
IL2110
member
M:Microsoft.AspNetCore.Components.RouteView.Render(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder)
-
- ILLink
- IL2111
- member
- M:Microsoft.AspNetCore.Components.RouteView.Render(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder)
-
\ No newline at end of file
diff --git a/src/Http/Http.Extensions/src/Microsoft.AspNetCore.Http.Extensions.WarningSuppressions.xml b/src/Http/Http.Extensions/src/Microsoft.AspNetCore.Http.Extensions.WarningSuppressions.xml
index 70f9e571648c..09ebb0306a2d 100644
--- a/src/Http/Http.Extensions/src/Microsoft.AspNetCore.Http.Extensions.WarningSuppressions.xml
+++ b/src/Http/Http.Extensions/src/Microsoft.AspNetCore.Http.Extensions.WarningSuppressions.xml
@@ -1,6 +1,6 @@
-
+
-
+
ILLink
IL2026
diff --git a/src/JSInterop/Microsoft.JSInterop/src/Microsoft.JSInterop.WarningSuppressions.xml b/src/JSInterop/Microsoft.JSInterop/src/Microsoft.JSInterop.WarningSuppressions.xml
index 35166cf65fd7..2da13e369808 100644
--- a/src/JSInterop/Microsoft.JSInterop/src/Microsoft.JSInterop.WarningSuppressions.xml
+++ b/src/JSInterop/Microsoft.JSInterop/src/Microsoft.JSInterop.WarningSuppressions.xml
@@ -1,72 +1,12 @@
-
+
-
-
- ILLink
- IL2026
- member
- M:Microsoft.JSInterop.Infrastructure.DotNetDispatcher.BeginInvokeDotNet(Microsoft.JSInterop.JSRuntime,Microsoft.JSInterop.Infrastructure.DotNetInvocationInfo,System.String)
-
-
- ILLink
- IL2026
- member
- M:Microsoft.JSInterop.Infrastructure.DotNetDispatcher.EndInvokeDotNetAfterTask(System.Threading.Tasks.Task,Microsoft.JSInterop.JSRuntime,Microsoft.JSInterop.Infrastructure.DotNetInvocationInfo@)
-
-
- ILLink
- IL2026
- member
- M:Microsoft.JSInterop.Infrastructure.DotNetDispatcher.Invoke(Microsoft.JSInterop.JSRuntime,Microsoft.JSInterop.Infrastructure.DotNetInvocationInfo@,System.String)
-
-
- ILLink
- IL2026
- member
- M:Microsoft.JSInterop.Infrastructure.DotNetDispatcher.ParseArguments(Microsoft.JSInterop.JSRuntime,System.String,System.String,System.Type[])
-
-
- ILLink
- IL2026
- member
- M:Microsoft.JSInterop.JSRuntime.EndInvokeJS(System.Int64,System.Boolean,System.Text.Json.Utf8JsonReader@)
-
-
- ILLink
- IL2026
- member
- M:Microsoft.JSInterop.JSRuntime.InvokeAsync``1(System.Int64,System.String,System.Threading.CancellationToken,System.Object[])
-
-
- ILLink
- IL2055
- member
- M:Microsoft.JSInterop.Infrastructure.DotNetObjectReferenceJsonConverterFactory.CreateConverter(System.Type,System.Text.Json.JsonSerializerOptions)
-
+
ILLink
IL2065
member
M:Microsoft.JSInterop.Infrastructure.DotNetDispatcher.ScanAssemblyForCallableMethods(Microsoft.JSInterop.Infrastructure.DotNetDispatcher.AssemblyKey)
-
- ILLink
- IL2091
- member
- M:Microsoft.JSInterop.JSObjectReferenceExtensions.<InvokeAsync>d__4`1.MoveNext
-
-
- ILLink
- IL2091
- member
- M:Microsoft.JSInterop.JSRuntime.<InvokeAsync>d__16`1.MoveNext
-
-
- ILLink
- IL2091
- member
- M:Microsoft.JSInterop.JSRuntimeExtensions.<InvokeAsync>d__4`1.MoveNext
-
ILLink
IL2111
@@ -74,4 +14,4 @@
M:Microsoft.JSInterop.Infrastructure.DotNetDispatcher.GetCachedMethodInfo(Microsoft.JSInterop.Infrastructure.IDotNetObjectReference,System.String)
-
+
\ No newline at end of file
diff --git a/src/Shared/ObjectMethodExecutor/ObjectMethodExecutor.cs b/src/Shared/ObjectMethodExecutor/ObjectMethodExecutor.cs
index 8de064da2216..b24d903c3ebd 100644
--- a/src/Shared/ObjectMethodExecutor/ObjectMethodExecutor.cs
+++ b/src/Shared/ObjectMethodExecutor/ObjectMethodExecutor.cs
@@ -7,11 +7,10 @@
using System.Diagnostics.CodeAnalysis;
using System.Linq.Expressions;
using System.Reflection;
+using System.Runtime.CompilerServices;
namespace Microsoft.Extensions.Internal;
-[RequiresUnreferencedCode("ObjectMethodExecutor performs reflection on arbitrary types.")]
-[RequiresDynamicCode("ObjectMethodExecutor performs reflection on arbitrary types.")]
internal sealed class ObjectMethodExecutor
{
private readonly object?[]? _parameterDefaultValues;
@@ -28,7 +27,7 @@ internal sealed class ObjectMethodExecutor
typeof(Action