Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/9.0] Update dependencies from dotnet/runtime #57858

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
288 changes: 144 additions & 144 deletions eng/Version.Details.xml

Large diffs are not rendered by default.

144 changes: 72 additions & 72 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -67,80 +67,80 @@
-->
<PropertyGroup Label="Automated">
<!-- Packages from dotnet/runtime -->
<MicrosoftExtensionsDependencyModelVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsDependencyModelVersion>
<MicrosoftNETCoreAppRefVersion>9.0.0-rc.2.24461.16</MicrosoftNETCoreAppRefVersion>
<MicrosoftNETCoreAppRuntimewinx64Version>9.0.0-rc.2.24461.16</MicrosoftNETCoreAppRuntimewinx64Version>
<MicrosoftNETRuntimeMonoAOTCompilerTaskVersion>9.0.0-rc.2.24461.16</MicrosoftNETRuntimeMonoAOTCompilerTaskVersion>
<MicrosoftNETRuntimeWebAssemblySdkVersion>9.0.0-rc.2.24461.16</MicrosoftNETRuntimeWebAssemblySdkVersion>
<MicrosoftNETCoreAppRuntimeAOTwinx64CrossbrowserwasmVersion>9.0.0-rc.2.24461.16</MicrosoftNETCoreAppRuntimeAOTwinx64CrossbrowserwasmVersion>
<MicrosoftNETCoreBrowserDebugHostTransportVersion>9.0.0-rc.2.24461.16</MicrosoftNETCoreBrowserDebugHostTransportVersion>
<MicrosoftExtensionsCachingAbstractionsVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsCachingAbstractionsVersion>
<MicrosoftExtensionsCachingMemoryVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsCachingMemoryVersion>
<MicrosoftExtensionsConfigurationAbstractionsVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsConfigurationAbstractionsVersion>
<MicrosoftExtensionsConfigurationBinderVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsConfigurationBinderVersion>
<MicrosoftExtensionsConfigurationCommandLineVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsConfigurationCommandLineVersion>
<MicrosoftExtensionsConfigurationEnvironmentVariablesVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsConfigurationEnvironmentVariablesVersion>
<MicrosoftExtensionsConfigurationFileExtensionsVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsConfigurationFileExtensionsVersion>
<MicrosoftExtensionsConfigurationIniVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsConfigurationIniVersion>
<MicrosoftExtensionsConfigurationJsonVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsConfigurationJsonVersion>
<MicrosoftExtensionsConfigurationVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsConfigurationVersion>
<MicrosoftExtensionsConfigurationUserSecretsVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsConfigurationUserSecretsVersion>
<MicrosoftExtensionsConfigurationXmlVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsConfigurationXmlVersion>
<MicrosoftExtensionsDependencyInjectionAbstractionsVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsDependencyInjectionAbstractionsVersion>
<MicrosoftExtensionsDependencyInjectionVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsDependencyInjectionVersion>
<MicrosoftExtensionsDiagnosticsAbstractionsVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsDiagnosticsAbstractionsVersion>
<MicrosoftExtensionsDiagnosticsVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsDiagnosticsVersion>
<MicrosoftExtensionsFileProvidersAbstractionsVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsFileProvidersAbstractionsVersion>
<MicrosoftExtensionsFileProvidersCompositeVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsFileProvidersCompositeVersion>
<MicrosoftExtensionsFileProvidersPhysicalVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsFileProvidersPhysicalVersion>
<MicrosoftExtensionsFileSystemGlobbingVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsFileSystemGlobbingVersion>
<MicrosoftExtensionsHostFactoryResolverSourcesVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsHostFactoryResolverSourcesVersion>
<MicrosoftExtensionsHostingAbstractionsVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsHostingAbstractionsVersion>
<MicrosoftExtensionsHostingVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsHostingVersion>
<MicrosoftExtensionsHttpVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsHttpVersion>
<MicrosoftExtensionsLoggingAbstractionsVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsLoggingAbstractionsVersion>
<MicrosoftExtensionsLoggingConfigurationVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsLoggingConfigurationVersion>
<MicrosoftExtensionsLoggingConsoleVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsLoggingConsoleVersion>
<MicrosoftExtensionsLoggingDebugVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsLoggingDebugVersion>
<MicrosoftExtensionsLoggingEventSourceVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsLoggingEventSourceVersion>
<MicrosoftExtensionsLoggingEventLogVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsLoggingEventLogVersion>
<MicrosoftExtensionsLoggingVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsLoggingVersion>
<MicrosoftExtensionsLoggingTraceSourceVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsLoggingTraceSourceVersion>
<MicrosoftExtensionsOptionsConfigurationExtensionsVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsOptionsConfigurationExtensionsVersion>
<MicrosoftExtensionsOptionsDataAnnotationsVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsOptionsDataAnnotationsVersion>
<MicrosoftExtensionsOptionsVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsOptionsVersion>
<MicrosoftExtensionsPrimitivesVersion>9.0.0-rc.2.24461.16</MicrosoftExtensionsPrimitivesVersion>
<MicrosoftInternalRuntimeAspNetCoreTransportVersion>9.0.0-rc.2.24461.16</MicrosoftInternalRuntimeAspNetCoreTransportVersion>
<MicrosoftSourceBuildIntermediateruntimelinuxx64Version>9.0.0-rc.2.24461.16</MicrosoftSourceBuildIntermediateruntimelinuxx64Version>
<SystemCompositionVersion>9.0.0-rc.2.24461.16</SystemCompositionVersion>
<SystemConfigurationConfigurationManagerVersion>9.0.0-rc.2.24461.16</SystemConfigurationConfigurationManagerVersion>
<SystemDiagnosticsDiagnosticSourceVersion>9.0.0-rc.2.24461.16</SystemDiagnosticsDiagnosticSourceVersion>
<SystemDiagnosticsEventLogVersion>9.0.0-rc.2.24461.16</SystemDiagnosticsEventLogVersion>
<SystemDirectoryServicesProtocolsVersion>9.0.0-rc.2.24461.16</SystemDirectoryServicesProtocolsVersion>
<SystemIOPipelinesVersion>9.0.0-rc.2.24461.16</SystemIOPipelinesVersion>
<SystemNetHttpJsonVersion>9.0.0-rc.2.24461.16</SystemNetHttpJsonVersion>
<SystemNetHttpWinHttpHandlerVersion>9.0.0-rc.2.24461.16</SystemNetHttpWinHttpHandlerVersion>
<SystemNetServerSentEventsVersion>9.0.0-rc.2.24461.16</SystemNetServerSentEventsVersion>
<SystemReflectionMetadataVersion>9.0.0-rc.2.24461.16</SystemReflectionMetadataVersion>
<SystemResourcesExtensionsVersion>9.0.0-rc.2.24461.16</SystemResourcesExtensionsVersion>
<SystemSecurityCryptographyPkcsVersion>9.0.0-rc.2.24461.16</SystemSecurityCryptographyPkcsVersion>
<SystemSecurityCryptographyXmlVersion>9.0.0-rc.2.24461.16</SystemSecurityCryptographyXmlVersion>
<SystemSecurityPermissionsVersion>9.0.0-rc.2.24461.16</SystemSecurityPermissionsVersion>
<SystemServiceProcessServiceControllerVersion>9.0.0-rc.2.24461.16</SystemServiceProcessServiceControllerVersion>
<SystemTextEncodingsWebVersion>9.0.0-rc.2.24461.16</SystemTextEncodingsWebVersion>
<SystemTextJsonVersion>9.0.0-rc.2.24461.16</SystemTextJsonVersion>
<SystemThreadingAccessControlVersion>9.0.0-rc.2.24461.16</SystemThreadingAccessControlVersion>
<SystemThreadingChannelsVersion>9.0.0-rc.2.24461.16</SystemThreadingChannelsVersion>
<SystemThreadingRateLimitingVersion>9.0.0-rc.2.24461.16</SystemThreadingRateLimitingVersion>
<MicrosoftExtensionsDependencyModelVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsDependencyModelVersion>
<MicrosoftNETCoreAppRefVersion>9.0.0-rc.2.24462.10</MicrosoftNETCoreAppRefVersion>
<MicrosoftNETCoreAppRuntimewinx64Version>9.0.0-rc.2.24462.10</MicrosoftNETCoreAppRuntimewinx64Version>
<MicrosoftNETRuntimeMonoAOTCompilerTaskVersion>9.0.0-rc.2.24462.10</MicrosoftNETRuntimeMonoAOTCompilerTaskVersion>
<MicrosoftNETRuntimeWebAssemblySdkVersion>9.0.0-rc.2.24462.10</MicrosoftNETRuntimeWebAssemblySdkVersion>
<MicrosoftNETCoreAppRuntimeAOTwinx64CrossbrowserwasmVersion>9.0.0-rc.2.24462.10</MicrosoftNETCoreAppRuntimeAOTwinx64CrossbrowserwasmVersion>
<MicrosoftNETCoreBrowserDebugHostTransportVersion>9.0.0-rc.2.24462.10</MicrosoftNETCoreBrowserDebugHostTransportVersion>
<MicrosoftExtensionsCachingAbstractionsVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsCachingAbstractionsVersion>
<MicrosoftExtensionsCachingMemoryVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsCachingMemoryVersion>
<MicrosoftExtensionsConfigurationAbstractionsVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsConfigurationAbstractionsVersion>
<MicrosoftExtensionsConfigurationBinderVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsConfigurationBinderVersion>
<MicrosoftExtensionsConfigurationCommandLineVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsConfigurationCommandLineVersion>
<MicrosoftExtensionsConfigurationEnvironmentVariablesVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsConfigurationEnvironmentVariablesVersion>
<MicrosoftExtensionsConfigurationFileExtensionsVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsConfigurationFileExtensionsVersion>
<MicrosoftExtensionsConfigurationIniVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsConfigurationIniVersion>
<MicrosoftExtensionsConfigurationJsonVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsConfigurationJsonVersion>
<MicrosoftExtensionsConfigurationVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsConfigurationVersion>
<MicrosoftExtensionsConfigurationUserSecretsVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsConfigurationUserSecretsVersion>
<MicrosoftExtensionsConfigurationXmlVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsConfigurationXmlVersion>
<MicrosoftExtensionsDependencyInjectionAbstractionsVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsDependencyInjectionAbstractionsVersion>
<MicrosoftExtensionsDependencyInjectionVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsDependencyInjectionVersion>
<MicrosoftExtensionsDiagnosticsAbstractionsVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsDiagnosticsAbstractionsVersion>
<MicrosoftExtensionsDiagnosticsVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsDiagnosticsVersion>
<MicrosoftExtensionsFileProvidersAbstractionsVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsFileProvidersAbstractionsVersion>
<MicrosoftExtensionsFileProvidersCompositeVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsFileProvidersCompositeVersion>
<MicrosoftExtensionsFileProvidersPhysicalVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsFileProvidersPhysicalVersion>
<MicrosoftExtensionsFileSystemGlobbingVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsFileSystemGlobbingVersion>
<MicrosoftExtensionsHostFactoryResolverSourcesVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsHostFactoryResolverSourcesVersion>
<MicrosoftExtensionsHostingAbstractionsVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsHostingAbstractionsVersion>
<MicrosoftExtensionsHostingVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsHostingVersion>
<MicrosoftExtensionsHttpVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsHttpVersion>
<MicrosoftExtensionsLoggingAbstractionsVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsLoggingAbstractionsVersion>
<MicrosoftExtensionsLoggingConfigurationVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsLoggingConfigurationVersion>
<MicrosoftExtensionsLoggingConsoleVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsLoggingConsoleVersion>
<MicrosoftExtensionsLoggingDebugVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsLoggingDebugVersion>
<MicrosoftExtensionsLoggingEventSourceVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsLoggingEventSourceVersion>
<MicrosoftExtensionsLoggingEventLogVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsLoggingEventLogVersion>
<MicrosoftExtensionsLoggingVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsLoggingVersion>
<MicrosoftExtensionsLoggingTraceSourceVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsLoggingTraceSourceVersion>
<MicrosoftExtensionsOptionsConfigurationExtensionsVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsOptionsConfigurationExtensionsVersion>
<MicrosoftExtensionsOptionsDataAnnotationsVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsOptionsDataAnnotationsVersion>
<MicrosoftExtensionsOptionsVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsOptionsVersion>
<MicrosoftExtensionsPrimitivesVersion>9.0.0-rc.2.24462.10</MicrosoftExtensionsPrimitivesVersion>
<MicrosoftInternalRuntimeAspNetCoreTransportVersion>9.0.0-rc.2.24462.10</MicrosoftInternalRuntimeAspNetCoreTransportVersion>
<MicrosoftSourceBuildIntermediateruntimelinuxx64Version>9.0.0-rc.2.24462.10</MicrosoftSourceBuildIntermediateruntimelinuxx64Version>
<SystemCompositionVersion>9.0.0-rc.2.24462.10</SystemCompositionVersion>
<SystemConfigurationConfigurationManagerVersion>9.0.0-rc.2.24462.10</SystemConfigurationConfigurationManagerVersion>
<SystemDiagnosticsDiagnosticSourceVersion>9.0.0-rc.2.24462.10</SystemDiagnosticsDiagnosticSourceVersion>
<SystemDiagnosticsEventLogVersion>9.0.0-rc.2.24462.10</SystemDiagnosticsEventLogVersion>
<SystemDirectoryServicesProtocolsVersion>9.0.0-rc.2.24462.10</SystemDirectoryServicesProtocolsVersion>
<SystemIOPipelinesVersion>9.0.0-rc.2.24462.10</SystemIOPipelinesVersion>
<SystemNetHttpJsonVersion>9.0.0-rc.2.24462.10</SystemNetHttpJsonVersion>
<SystemNetHttpWinHttpHandlerVersion>9.0.0-rc.2.24462.10</SystemNetHttpWinHttpHandlerVersion>
<SystemNetServerSentEventsVersion>9.0.0-rc.2.24462.10</SystemNetServerSentEventsVersion>
<SystemReflectionMetadataVersion>9.0.0-rc.2.24462.10</SystemReflectionMetadataVersion>
<SystemResourcesExtensionsVersion>9.0.0-rc.2.24462.10</SystemResourcesExtensionsVersion>
<SystemSecurityCryptographyPkcsVersion>9.0.0-rc.2.24462.10</SystemSecurityCryptographyPkcsVersion>
<SystemSecurityCryptographyXmlVersion>9.0.0-rc.2.24462.10</SystemSecurityCryptographyXmlVersion>
<SystemSecurityPermissionsVersion>9.0.0-rc.2.24462.10</SystemSecurityPermissionsVersion>
<SystemServiceProcessServiceControllerVersion>9.0.0-rc.2.24462.10</SystemServiceProcessServiceControllerVersion>
<SystemTextEncodingsWebVersion>9.0.0-rc.2.24462.10</SystemTextEncodingsWebVersion>
<SystemTextJsonVersion>9.0.0-rc.2.24462.10</SystemTextJsonVersion>
<SystemThreadingAccessControlVersion>9.0.0-rc.2.24462.10</SystemThreadingAccessControlVersion>
<SystemThreadingChannelsVersion>9.0.0-rc.2.24462.10</SystemThreadingChannelsVersion>
<SystemThreadingRateLimitingVersion>9.0.0-rc.2.24462.10</SystemThreadingRateLimitingVersion>
<!-- Only listed explicitly to workaround https://github.com/dotnet/cli/issues/10528 -->
<MicrosoftNETCorePlatformsVersion>9.0.0-rc.2.24461.16</MicrosoftNETCorePlatformsVersion>
<MicrosoftBclAsyncInterfacesVersion>9.0.0-rc.2.24461.16</MicrosoftBclAsyncInterfacesVersion>
<MicrosoftNETCorePlatformsVersion>9.0.0-rc.2.24462.10</MicrosoftNETCorePlatformsVersion>
<MicrosoftBclAsyncInterfacesVersion>9.0.0-rc.2.24462.10</MicrosoftBclAsyncInterfacesVersion>
<!-- Transitive package to provide coherency in dotnet/extensions -->
<MicrosoftBclTimeProviderVersion>9.0.0-rc.2.24461.16</MicrosoftBclTimeProviderVersion>
<SystemCollectionsImmutableVersion>9.0.0-rc.2.24461.16</SystemCollectionsImmutableVersion>
<SystemDiagnosticsPerformanceCounterVersion>9.0.0-rc.2.24461.16</SystemDiagnosticsPerformanceCounterVersion>
<SystemIOHashingVersion>9.0.0-rc.2.24461.16</SystemIOHashingVersion>
<SystemRuntimeCachingVersion>9.0.0-rc.2.24461.16</SystemRuntimeCachingVersion>
<MicrosoftBclTimeProviderVersion>9.0.0-rc.2.24462.10</MicrosoftBclTimeProviderVersion>
<SystemCollectionsImmutableVersion>9.0.0-rc.2.24462.10</SystemCollectionsImmutableVersion>
<SystemDiagnosticsPerformanceCounterVersion>9.0.0-rc.2.24462.10</SystemDiagnosticsPerformanceCounterVersion>
<SystemIOHashingVersion>9.0.0-rc.2.24462.10</SystemIOHashingVersion>
<SystemRuntimeCachingVersion>9.0.0-rc.2.24462.10</SystemRuntimeCachingVersion>
<!-- Packages from dotnet/extensions -->
<MicrosoftExtensionsDiagnosticsTestingVersion>9.0.0-preview.8.24456.2</MicrosoftExtensionsDiagnosticsTestingVersion>
<MicrosoftExtensionsTimeProviderTestingVersion>9.0.0-preview.8.24456.2</MicrosoftExtensionsTimeProviderTestingVersion>
Expand Down
4 changes: 2 additions & 2 deletions src/Components/Forms/src/FieldIdentifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private static void ParseAccessor<T>(Expression<Func<T>> accessor, out object mo
// so, given that it embeds captured values such as "this". We could consider special-casing
// for "() => something.Member" and building a cache keyed by "something.GetType()" with values
// of type Func<object, object> so we can cheaply map from "something" to "something.Member".
var modelLambda = Expression.Lambda(memberExpression.Expression);
var modelLambda = Expression.Lambda(typeof(Func<object?>), memberExpression.Expression);
var modelLambdaCompiled = (Func<object?>)modelLambda.Compile();
var result = modelLambdaCompiled() ??
throw new ArgumentException("The provided expression must evaluate to a non-null value.");
Expand Down Expand Up @@ -201,7 +201,7 @@ static Func<object, object> CreateAccessor((Type model, MemberInfo member) arg)
private static object GetModelFromIndexer(Expression methodCallExpression)
{
object model;
var methodCallObjectLambda = Expression.Lambda(methodCallExpression!);
var methodCallObjectLambda = Expression.Lambda(typeof(Func<object?>), methodCallExpression!);
var methodCallObjectLambdaCompiled = (Func<object?>)methodCallObjectLambda.Compile();
var result = methodCallObjectLambdaCompiled();
if (result is null)
Expand Down
3 changes: 3 additions & 0 deletions src/SignalR/server/Core/src/DynamicHub.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System.Diagnostics.CodeAnalysis;

namespace Microsoft.AspNetCore.SignalR;

/// <summary>
/// A base class for SignalR hubs that use <c>dynamic</c> to represent client invocations.
/// </summary>
[RequiresDynamicCode("DynamicHub requires dynamic code generation to construct a call site.")]
public abstract class DynamicHub : Hub
{
private DynamicHubClients? _clients;
Expand Down
2 changes: 2 additions & 0 deletions src/SignalR/server/Core/src/DynamicHubClients.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System.Diagnostics.CodeAnalysis;
using Microsoft.AspNetCore.SignalR.Internal;

namespace Microsoft.AspNetCore.SignalR;

/// <summary>
/// A class that provides <c>dynamic</c> access to connections, including the one that sent the current invocation.
/// </summary>
[RequiresDynamicCodeAttribute("DynamicHubClients requires dynamic code generation to construct a call site.")]
public class DynamicHubClients
{
private readonly IHubCallerClients _clients;
Expand Down
2 changes: 2 additions & 0 deletions src/SignalR/server/Core/src/Internal/DynamicClientProxy.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System.Diagnostics.CodeAnalysis;
using System.Dynamic;

namespace Microsoft.AspNetCore.SignalR.Internal;
Expand All @@ -9,6 +10,7 @@ internal sealed class DynamicClientProxy : DynamicObject
{
private readonly IClientProxy _clientProxy;

[RequiresDynamicCodeAttribute("This constructor requires dynamic code generation to construct a call site.")]
public DynamicClientProxy(IClientProxy clientProxy)
{
_clientProxy = clientProxy;
Expand Down
Loading