Exemple #1
0
        public static bool IsEntryPointMethod(IEmitter emitter, MethodDeclaration methodDeclaration)
        {
            var     member_rr = emitter.Resolver.ResolveNode(methodDeclaration, emitter) as MemberResolveResult;
            IMethod method    = member_rr != null ? member_rr.Member as IMethod : null;

            return(Helpers.IsEntryPointMethod(method));
        }