clojure.lang.CljCompiler.Ast.NewInstanceExpr.DefineBaseClassMethods C# (CSharp) Метод

DefineBaseClassMethods() приватный статический Метод

private static DefineBaseClassMethods ( Type interfaces, TypeBuilder tb ) : void
interfaces System.Type
tb System.Reflection.Emit.TypeBuilder
Результат void
        private static void DefineBaseClassMethods(Type[] interfaces, TypeBuilder tb)
        {
            Dictionary<string, List<MethodInfo>> impled = new Dictionary<string, List<MethodInfo>>();

            foreach (Type itype in interfaces)
            {
                foreach (MethodInfo mi in itype.GetMethods())
                {
                    bool isExplicit = HasShadowedMethod(mi, impled);

                    EmitDummyMethod(tb, mi, isExplicit);

                    if (!impled.ContainsKey(mi.Name))
                        impled[mi.Name] = new List<MethodInfo>();
                    impled[mi.Name].Add(mi);

                }
            }
        }