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

It throw a exception when executing next(context):Code supposed to be unreachable. #50

Closed
ElderJames opened this issue Sep 19, 2017 · 0 comments

Comments

@ElderJames
Copy link
Member

The StackTrace is here:

   at AspectCore.Extensions.Reflection.Emit.ILGeneratorExtensions.EmitConstant(ILGenerator ilGenerator, Object value, Type valueType)
   at AspectCore.Extensions.Reflection.CustomAttributeReflector.CreateInvoker()
   at AspectCore.Extensions.Reflection.CustomAttributeReflector..ctor(CustomAttributeData customAttributeData)
   at AspectCore.Extensions.Reflection.CustomAttributeReflector.<>c.<Create>b__11_0(CustomAttributeData data)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at System.Linq.Enumerable.SelectIListIterator`2.ToArray()
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at AspectCore.Extensions.Reflection.MemberReflector`1..ctor(TMemberInfo reflectionInfo)
   at AspectCore.Extensions.Reflection.MethodReflector..ctor(MethodInfo reflectionInfo)
   at AspectCore.Extensions.Reflection.MethodReflector.<>c__DisplayClass0_0.<Create>g__CreateInternal0(Pair`2 item)
   at AspectCore.Extensions.Reflection.ReflectorCacheUtils`2.<>c__DisplayClass1_0.<GetOrAdd>b__0(TMemberInfo k)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at AspectCore.Extensions.Reflection.MethodReflector.Create(MethodInfo reflectionInfo, CallOptions callOption)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at AspectCore.DynamicProxy.RuntimeAspectContext.Complete()
   at Shriek.ServiceProxy.Tcp.Client.TcpServiceClient.<Invoke>d__35.MoveNext() in E:\项目\myproject\ShriekFx\src\Shriek.ServiceProxy.Tcp\Client\TcpServiceClient.cs:line 128
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at AspectCore.DynamicProxy.AspectActivator.InvokeTask[TResult](AspectActivatorContext activatorContext)
   at AspectCore.DynamicGenerated.TcpTestService.Test(String sth)
   at Shriek.Samples.WebApiProxy.Program.Main(String[] args) in E:\项目\myproject\ShriekFx\samples\Shriek.Samples.WebApiProxy\Program.cs:line 101
@ElderJames ElderJames changed the title throw a exception when executing next(context):Code supposed to be unreachable. It throw a exception when executing next(context):Code supposed to be unreachable. Sep 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants