Inheritance: Operand, IMemberInfo, IDelayedCompletion
Beispiel #1
0
        public EventGen CustomEvent(Type handlerType, string name)
        {
            EventGen eg = new EventGen(this, name, handlerType, mthVis | mthVirt | mthFlags);

            events.Add(eg);
            ResetAttrs();

            return(eg);
        }
Beispiel #2
0
        public EventGen EventImplementation(Type interfaceType, Type eventHandlerType, string name)
        {
            if (TypeBuilder.IsInterface)
            {
                throw new InvalidOperationException(Properties.Messages.ErrInterfaceNoExplicitImpl);
            }

            EventGen eg = new EventGen(this, name, eventHandlerType,
                                       MethodAttributes.Private | MethodAttributes.NewSlot | MethodAttributes.Virtual | MethodAttributes.Final);

            eg.ImplementedInterface = interfaceType;
            return(eg);
        }
Beispiel #3
0
			public EventInfoProxy(EventGen eg) { _eg = eg; }
Beispiel #4
0
 public EventInfoProxy(EventGen eg)
 {
     this.eg = eg;
 }
Beispiel #5
0
 public EventInfoProxy(EventGen eg)
 {
     _eg = eg;
 }
			public EventInfoProxy(EventGen eg) { this.eg = eg; }