6 types derived from EventInfo
mscorlib (1)
System.Activities.Presentation (1)
System.Core (1)
System.Data (1)
System.Workflow.ComponentModel (2)
296 references to EventInfo
mscorlib (59)
system\attribute.cs (9)
136private static Attribute[] InternalGetCustomAttributes(EventInfo element, Type type, bool inherit)
152EventInfo baseEvent = GetParentDefinition(element);
167private static EventInfo GetParentDefinition(EventInfo ev)
185private static bool InternalIsDefined (EventInfo element, Type attributeType, bool inherit)
200EventInfo baseEvent = GetParentDefinition(element);
473return InternalGetCustomAttributes((EventInfo)element, type, inherit);
497return InternalGetCustomAttributes((EventInfo)element, typeof(Attribute), inherit);
528return InternalIsDefined((EventInfo)element, attributeType, inherit);
PresentationBuildTasks (11)
PresentationFramework (19)
System (7)
System.Activities (2)
System.Activities.Presentation (20)
System.Core (2)
System.Data (20)
System.Data.Entity.Design (3)
System.Data.Linq (2)
System.Data.Services.Design (3)
System.Web (18)
System.Web.Extensions (2)
System.Workflow.Activities (42)
CorrelationValidator.cs (28)
91EventInfo eventInfo = interfaceType.GetEvent(((HandleExternalEventActivity)activity).EventName, BindingFlags.Instance | BindingFlags.Public);
249EventInfo eventInfo = interfaceType.GetEvent(((HandleExternalEventActivity)currentActivity).EventName, BindingFlags.Instance | BindingFlags.Public);
402if (!(memberInfo is MethodInfo) && !(memberInfo is EventInfo))
410if (memberInfo is EventInfo)
412EventInfo eventInfo = (EventInfo)memberInfo;
428string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_GenericMethodsNotSupported), (memberInfo is EventInfo) ? delegateType.Name : methodInfo.Name), ErrorNumbers.Error_GenericMethodsNotSupported);
429if (memberInfo is EventInfo)
430error.UserData.Add(typeof(EventInfo), ((EventInfo)memberInfo).Name);
436if (methodInfo.ReturnType != typeof(void) && (memberInfo is EventInfo))
439string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_ReturnTypeNotVoid), (memberInfo is EventInfo) ? delegateType.Name : methodInfo.Name), ErrorNumbers.Error_ReturnTypeNotVoid);
440if (memberInfo is EventInfo)
441error.UserData.Add(typeof(EventInfo), ((EventInfo)memberInfo).Name);
452string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_OutRefParameterNotSupported), (memberInfo is EventInfo) ? delegateType.Name : methodInfo.Name, param.Name), ErrorNumbers.Error_OutRefParameterNotSupported);
453if (memberInfo is EventInfo)
454error.UserData.Add(typeof(EventInfo), ((EventInfo)memberInfo).Name);
523else if (memberInfo is EventInfo)
533Type delegateType = Helpers.GetDelegateFromEvent((EventInfo)memberInfo);
573if (memberInfo is EventInfo && ((Hashtable)delegateTypeCorrelationAliasAttrs[Helpers.GetDelegateFromEvent((EventInfo)memberInfo)])[paramName] != null)
598if (memberInfo is EventInfo && ((Hashtable)delegateTypeCorrelationAliasAttrs[Helpers.GetDelegateFromEvent((EventInfo)memberInfo)])[paramName] != null)
656if (memberInfo is EventInfo)
658Type delegateType = Helpers.GetDelegateFromEvent((EventInfo)memberInfo);
844EventInfo eventInfo = interfaceType.GetEvent(operation);
System.Workflow.ComponentModel (77)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (13)
29private EventInfo[] events = null;
381public override EventInfo GetEvent(string name, BindingFlags bindingAttr)
383return GetMemberHelper<EventInfo>(bindingAttr, new MemberSignature(name, null, null), ref this.events);
386public override EventInfo[] GetEvents(BindingFlags bindingAttr)
388return GetMembersHelper<EventInfo>(bindingAttr, ref this.events, true);
432members.AddRange(GetMembersHelper<EventInfo>(bindingAttr, new MemberSignature(name, null, null), ref this.events));
807else if (type == typeof(EventInfo))
895else if (typeof(EventInfo).IsAssignableFrom(type))
1050else if ((type == typeof(EventInfo)) && (this.events == null))
1051this.events = GetCodeDomMembers<EventInfo>().ToArray();
1055EnsureMembers(typeof(EventInfo));
1069foreach (EventInfo eventInfo in this.events)
1184else if ((memberInfoType == typeof(EventInfo)) && (member is CodeMemberEvent))
System.Workflow.Runtime (1)
System.WorkflowServices (6)
System\Workflow\Activities\ContractType.cs (6)
23private EventInfo[] events = null;
274public override EventInfo GetEvent(string name, BindingFlags bindingAttr)
276return GetMemberHelper<EventInfo>(bindingAttr, new MemberSignature(name, null, null), ref this.events);
279public override EventInfo[] GetEvents(BindingFlags bindingAttr)
281return GetMembersHelper<EventInfo>(bindingAttr, ref this.events, true);
344members.AddRange(GetMembersHelper<EventInfo>(bindingAttr, new MemberSignature(name, null, null), ref this.events));
WindowsBase (2)