1 write to ResponseType
Microsoft.CodeAnalysis.ExternalAccess.Extensions (1)
Internal\ExtensionMessageHandlerWrapper.cs (1)
26ResponseType = customMessageHandlerInterface.GenericTypeArguments[1];
4 references to ResponseType
Microsoft.CodeAnalysis.ExternalAccess.Extensions (4)
Internal\ExtensionMessageHandlerWrapper.cs (4)
30_responseTaskResultProperty = typeof(Task<>).MakeGenericType(ResponseType).GetProperty(nameof(Task<int>.Result)); 52if ((response is null && ResponseType.IsValueType) || (response is not null && !ResponseType.IsAssignableFrom(response.GetType()))) 54throw new InvalidOperationException(string.Format(ExternalAccessExtensionsResources.The_message_type_0_is_not_assignable_to_1, response?.GetType().FullName ?? "null", ResponseType.FullName));