update ForwardedTypes.cs

pull/18532/head
Jan Tattermusch 6 years ago
parent 5a97383283
commit ef4ee8eca8
  1. 13
      src/csharp/Grpc.Core/ForwardedTypes.cs

@ -18,24 +18,23 @@
using System.Runtime.CompilerServices;
using Grpc.Core;
using Grpc.Core.Logging;
using Grpc.Core.Internal;
using Grpc.Core.Utils;
// API types that used to be in Grpc.Core package, but were moved to Grpc.Core.Api
// https://docs.microsoft.com/en-us/dotnet/framework/app-domains/type-forwarding-in-the-common-language-runtime
// TODO(jtattermusch): move types needed for implementing a client
// TODO: problematic areas:
// - CallOptions depends on CallCredentials (publicly) and on CallFlags (internally) & CallOptions is a struct
// - internal method CallOptions.Normalize() uses internal method propagationToken.AsImplOrNull()
[assembly:TypeForwardedToAttribute(typeof(GrpcPreconditions))]
[assembly:TypeForwardedToAttribute(typeof(AsyncClientStreamingCall<,>))]
[assembly:TypeForwardedToAttribute(typeof(AsyncDuplexStreamingCall<,>))]
[assembly:TypeForwardedToAttribute(typeof(AsyncServerStreamingCall<>))]
[assembly:TypeForwardedToAttribute(typeof(AsyncUnaryCall<>))]
[assembly:TypeForwardedToAttribute(typeof(AuthContext))]
[assembly:TypeForwardedToAttribute(typeof(AuthInterceptorContext))]
[assembly: TypeForwardedToAttribute(typeof(CallCredentials))]
[assembly: TypeForwardedToAttribute(typeof(CallFlags))]
[assembly: TypeForwardedToAttribute(typeof(CallInvoker))]
[assembly: TypeForwardedToAttribute(typeof(CallOptions))]
[assembly:TypeForwardedToAttribute(typeof(ContextPropagationOptions))]
[assembly:TypeForwardedToAttribute(typeof(ContextPropagationToken))]
[assembly:TypeForwardedToAttribute(typeof(DeserializationContext))]

Loading…
Cancel
Save