Пример #1
0
            private static void CompareIssuer()
            {
                //Discarded unreachable code: IL_0002
                //IL_0003: Incompatible stack heights: 0 vs 1
                Type       type   = Type.GetType("Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo, Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", throwOnError: true);
                Type       type2  = Type.GetType("Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags, Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", throwOnError: true);
                Type       type3  = Type.GetType("Microsoft.CSharp.RuntimeBinder.Binder, Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", throwOnError: true);
                Type       type4  = typeof(IEnumerable <>).MakeGenericType(type);
                MethodInfo method = type3.GetMethod("GetMember", new Type[4]
                {
                    type2,
                    typeof(string),
                    typeof(Type),
                    type4
                });

                _TemplateComposer = ConfigProperty._0001()._0001 <object>(method);
                MethodInfo method2 = type3.GetMethod("SetMember", new Type[4]
                {
                    type2,
                    typeof(string),
                    typeof(Type),
                    type4
                });

                expressionComposer = ConfigProperty._0001()._0001 <object>(method2);
            }
Пример #2
0
 public ParamsComposerWorker(object key, Newtonsoft.Rules.ClientInstanceRule <object, object> col)
 {
     //Discarded unreachable code: IL_0002, IL_0006
     //IL_0003: Incompatible stack heights: 0 vs 1
     //IL_0007: Incompatible stack heights: 0 vs 1
     SingletonReader.PushGlobal();
     base._002Ector();
     errorTest     = key;
     _ComposerTest = col;
 }
Пример #3
0
        private static Newtonsoft.Rules.ClientInstanceRule <object, object> NewIssuer(Type task, string pol)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            MethodInfo methodInfo = PopIssuer(task, pol, BindingFlags.Static | BindingFlags.Public);
            MethodInfo method     = methodInfo.ReturnType.GetMethod("Invoke", BindingFlags.Instance | BindingFlags.Public);

            Newtonsoft.Rules.ClientInstanceRule <object, object> clientInstanceRule = ConfigProperty._0001()._0001 <object>(methodInfo);
            Newtonsoft.Rules.ClientInstanceRule <object, object> col = ConfigProperty._0001()._0001 <object>(method);
            return((object P_0, object[] P_1) => new ParamsComposerWorker(clientInstanceRule(P_0, P_1), col));
        }
        private static Func <object, object> FillProperty(GDBD.Workers.TemplateComposerWorker <Type, Type> init)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            Type       workerTest  = init.workerTest;
            Type       advisorTest = init._AdvisorTest;
            MethodInfo methodInfo  = advisorTest.GetMethod("op_Implicit", new Type[1]
            {
                workerTest
            }) ?? advisorTest.GetMethod("op_Explicit", new Type[1]
            {
                workerTest
            });

            if (methodInfo == null)
            {
                return(null);
            }
            Newtonsoft.Rules.ClientInstanceRule <object, object> clientInstanceRule = ConfigProperty._0001()._0001 <object>(methodInfo);
            return((object P_0) => clientInstanceRule(null, new object[1]
            {
                P_0
            }));
        }
Пример #5
0
 private void _0006(Newtonsoft.Rules.ClientInstanceRule <object, object> item)
 {
     //Discarded unreachable code: IL_0002
     //IL_0003: Incompatible stack heights: 0 vs 1
     serviceTest = item;
 }
Пример #6
0
 private void _0005(Newtonsoft.Rules.ClientInstanceRule <object, object> init)
 {
     //Discarded unreachable code: IL_0002
     //IL_0003: Incompatible stack heights: 0 vs 1
     m_AuthenticationTest = init;
 }
Пример #7
0
 private void _0004(Newtonsoft.Rules.ClientInstanceRule <object, object> i)
 {
     //Discarded unreachable code: IL_0002
     //IL_0003: Incompatible stack heights: 0 vs 1
     m_MethodTest = i;
 }
Пример #8
0
 private void _0002(Newtonsoft.Rules.ClientInstanceRule <object, object> v)
 {
     //Discarded unreachable code: IL_0002
     //IL_0003: Incompatible stack heights: 0 vs 1
     _IteratorTest = v;
 }
Пример #9
0
 private void _0001(Newtonsoft.Rules.ClientInstanceRule <object, object> reference)
 {
     //Discarded unreachable code: IL_0002
     //IL_0003: Incompatible stack heights: 0 vs 1
     requestTest = reference;
 }