Esempio n. 1
0
 private static InvocationInfo CreateInvocationInfo(MemberInfo member, BoundAttribute boundAttribute, Type type, BindingFlags bindingFlags)
 {
     return(new InvocationInfo
     {
         Name = member.Name,
         BoundTo = boundAttribute.BoundTo,
         Scope = boundAttribute.ScopeContext,
         MemberInfo = member,
         MemberType = type,
         Binding = bindingFlags,
         ResolverContext = boundAttribute.ResolverContext,
         SetExpression = TypeExtensions.BuildSetAccessor(member)
     });
 }