4 types derived from EventInfo
System.Private.CoreLib (1)
System\Reflection\Runtime\EventInfos\RuntimeEventInfo.cs (1)
21
internal abstract partial class RuntimeEventInfo :
EventInfo
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingEventInfo.cs (1)
9
internal class DelegatingEventInfo :
EventInfo
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\General\TypeExtensions.net.cs (1)
28
internal abstract class LeveledEventInfo :
EventInfo
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\ComAwareEventInfo.cs (1)
18
public class ComAwareEventInfo :
EventInfo
222 references to EventInfo
Microsoft.CSharp (6)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\EventSymbol.cs (1)
20
public
EventInfo
AssociatedEventInfo;
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (5)
178
List<
EventInfo
> events = null;
218
else if (member is
EventInfo
e)
221
(events ??= new List<
EventInfo
>()).Add(e);
227
foreach (
EventInfo
e in events)
1098
private static void AddEventToSymbolTable(
EventInfo
eventInfo, AggregateSymbol aggregate, FieldSymbol addedField)
Microsoft.Maui.Controls (2)
Interactivity\EventTrigger.cs (1)
18
EventInfo
_eventinfo;
PlatformBindingHelpers.cs (1)
163
EventInfo
updateSourceEvent = null;
Microsoft.Maui.Controls.Xaml (1)
ApplyPropertiesVisitor.cs (1)
463
var
eventInfo = elementType.GetRuntimeEvent(localName) ?? elementType.GetRuntimeEvents().FirstOrDefault(ei => ei.Name == localName && !(ei.AddMethod.IsPrivate));
Microsoft.NET.Sdk.Publish.Tasks (4)
MsDeploy\DynamicAssembly.cs (4)
151
internal static Delegate? CreateEventHandlerDelegate<TDelegate>(
EventInfo
evt, TDelegate d)
175
EventInfo
eventInfo = obj.GetType().GetEvent(eventName);
183
EventInfo
eventInfo = obj.GetType().GetEvent(eventName);
189
EventInfo
eventInfo = obj.GetType().GetEvent(eventName);
mscorlib (1)
parent\ref\mscorlib.cs (1)
454
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.
EventInfo
))]
netstandard (1)
netstandard.cs (1)
1422
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.
EventInfo
))]
PresentationBuildTasks (9)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (2)
1880
if (memberInfo is
EventInfo
ei)
2931
param1 = new CodeParameterDeclarationExpression(typeof(
EventInfo
), EVENTINFO);
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (1)
3209
else if (dynamicObject is
EventInfo
)
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlTypeMapper.cs (6)
970
private bool IsAllowedEvent(
EventInfo
ei, bool isProtectedAllowed)
1157
private static bool IsPublicEvent(
EventInfo
ei)
1310
EventInfo
ei = memberInfo as
EventInfo
;
1469
EventInfo
ei = memberInfo as
EventInfo
;
PresentationFramework (19)
MS\Internal\Data\StaticPropertyChangedEventManager.cs (4)
274
EventInfo
spcEvent = _type.GetEvent(StaticPropertyChanged, BindingFlags.Public | BindingFlags.Static);
284
EventInfo
spcEvent = _type.GetEvent(StaticPropertyChanged, BindingFlags.Public | BindingFlags.Static);
604
EventInfo
eventInfo = type.GetEvent(eventName, BindingFlags.Public | BindingFlags.Static);
615
EventInfo
eventInfo = type.GetEvent(eventName, BindingFlags.Public | BindingFlags.Static);
System\Windows\Markup\Baml2006\WpfXamlMember.cs (1)
78
EventInfo
eventInfo,
System\Windows\Markup\Baml2006\WpfXamlType.cs (1)
396
return new WpfXamlMember(re, (
EventInfo
)memberFromBase.UnderlyingMember, SchemaContext, UseV3Rules);
System\Windows\Markup\BamlRecordReader.cs (2)
2855
EventInfo
ei = reidOrEi as
EventInfo
;
System\Windows\Markup\BamlRecords.cs (2)
4860
internal
EventInfo
EventInfo
4942
private
EventInfo
_ei = null;
System\Windows\Markup\XamlTypeMapper.cs (9)
1143
private static bool IsAllowedEvent(
EventInfo
ei, bool allowProtected, out bool isPublic)
1157
private static bool IsPublicEvent(
EventInfo
ei)
1310
EventInfo
ei = memberInfo as
EventInfo
;
1469
EventInfo
ei = memberInfo as
EventInfo
;
1583
internal
EventInfo
GetClrEventInfo(
1590
EventInfo
eventInfo = null;
2811
internal static bool AddInternalEventHandler(ParserContext pc, object rootElement,
EventInfo
eventInfo, object target, Delegate handler)
System.ComponentModel.Composition (2)
System\ComponentModel\Composition\ReflectionModel\LazyMemberInfo.cs (2)
36
EventInfo
event_ = (
EventInfo
)member;
System.ComponentModel.TypeConverter (9)
System\ComponentModel\ReflectEventDescriptor.cs (6)
68
private
EventInfo
? _realEvent; // actual event info... may be null
96
EventInfo
eventInfo)
107
internal static ReflectEventDescriptor CreateWithRegisteredType(Type componentClass,
EventInfo
eventInfo) => new ReflectEventDescriptor(componentClass, eventInfo);
257
private void FillEventInfoAttribute(
EventInfo
realEventInfo, IList attributes)
324
EventInfo
? defined = null;
332
EventInfo
test = start.GetEvent(_realEvent.Name, bindingFlags)!;
System\ComponentModel\ReflectTypeDescriptionProvider.cs (2)
1172
EventInfo
[] eventInfos = TrimSafeReflectionHelper.GetEvents(type, bindingFlags);
1178
EventInfo
eventInfo = eventInfos[idx];
System\ComponentModel\TrimSafeReflectionHelper.cs (1)
15
public static
EventInfo
[] GetEvents(Type type, BindingFlags bindingAttr) => type.GetEvents(bindingAttr);
System.Private.CoreLib (61)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Attribute.cs (9)
253
private static Attribute[] InternalGetCustomAttributes(
EventInfo
element, Type type, bool inherit)
266
EventInfo
? baseEvent = GetParentDefinition(element);
293
private static
EventInfo
? GetParentDefinition(
EventInfo
ev)
311
private static bool InternalIsDefined(
EventInfo
element, Type attributeType, bool inherit)
326
EventInfo
? baseEvent = GetParentDefinition(element);
596
MemberTypes.Event => InternalGetCustomAttributes((
EventInfo
)element, attributeType, inherit),
613
MemberTypes.Event => InternalGetCustomAttributes((
EventInfo
)element, typeof(Attribute), inherit),
635
MemberTypes.Event => InternalIsDefined((
EventInfo
)element, attributeType, inherit),
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (3)
424
public override
EventInfo
GetEvent(string name, BindingFlags bindingAttr)
430
public override
EventInfo
[] GetEvents()
485
public override
EventInfo
[] GetEvents(BindingFlags bindingAttr)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeBuilderInstantiation.cs (3)
189
public override
EventInfo
GetEvent(string name, BindingFlags bindingAttr) { throw new NotSupportedException(); }
192
public override
EventInfo
[] GetEvents() { throw new NotSupportedException(); }
212
public override
EventInfo
[] GetEvents(BindingFlags bindingAttr) { throw new NotSupportedException(); }
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\EventInfo.cs (4)
80
public static bool operator ==(
EventInfo
? left,
EventInfo
? right)
98
public static bool operator !=(
EventInfo
? left,
EventInfo
? right) => !(left == right);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedType.cs (3)
135
public override
EventInfo
? GetEvent(string name, BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_ModifiedType);
138
public override
EventInfo
[] GetEvents() => throw new NotSupportedException(SR.NotSupported_ModifiedType);
149
public override
EventInfo
[] GetEvents(BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_ModifiedType);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\NullabilityInfoContext.cs (3)
12
/// <see cref="ParameterInfo"/>, <see cref="FieldInfo"/>, <see cref="PropertyInfo"/> and <see cref="
EventInfo
"/>.
237
/// Populates <see cref="NullabilityInfo" /> for the given <see cref="
EventInfo
" />.
244
public NullabilityInfo Create(
EventInfo
eventInfo)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\RuntimeReflectionExtensions.cs (2)
46
public static IEnumerable<
EventInfo
> GetRuntimeEvents(
86
public static
EventInfo
? GetRuntimeEvent(
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureType.cs (3)
116
public sealed override
EventInfo
GetEvent(string name, BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_SignatureType);
119
public sealed override
EventInfo
[] GetEvents(BindingFlags bindingAttr) => throw new NotSupportedException(SR.NotSupported_SignatureType);
173
public sealed override
EventInfo
[] GetEvents() => throw new NotSupportedException(SR.NotSupported_SignatureType);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (3)
105
public override
EventInfo
? GetEvent(string name, BindingFlags bindingAttr) => typeImpl.GetEvent(name, bindingAttr);
108
public override
EventInfo
[] GetEvents() => typeImpl.GetEvents();
124
public override
EventInfo
[] GetEvents(BindingFlags bindingAttr) => typeImpl.GetEvents(bindingAttr);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\TypeInfo.cs (2)
19
public virtual
EventInfo
? GetDeclaredEvent(string name) => GetEvent(name, DeclaredOnlyLookup);
54
public virtual IEnumerable<
EventInfo
> DeclaredEvents
src\runtime\src\libraries\System.Private.CoreLib\src\System\Type.cs (4)
208
public
EventInfo
? GetEvent(string name) => GetEvent(name, DefaultLookup);
211
public abstract
EventInfo
? GetEvent(string name, BindingFlags bindingAttr);
214
public virtual
EventInfo
[] GetEvents() => GetEvents(DefaultLookup);
217
public abstract
EventInfo
[] GetEvents(BindingFlags bindingAttr);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Type.Helpers.cs (2)
181
EventInfo
?[]? e = null;
335
if (e[i] is
EventInfo
ei)
System\Reflection\Runtime\BindingFlagSupport\EventPolicies.cs (8)
13
internal sealed class EventPolicies : MemberPolicies<
EventInfo
>
19
public sealed override IEnumerable<
EventInfo
> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter? optionalNameFilter, RuntimeTypeInfo reflectedType)
26
public sealed override void GetMemberAttributes(
EventInfo
member, out MethodAttributes visibility, out bool isStatic, out bool isVirtual, out bool isNewSlot)
52
public sealed override bool IsSuppressedByMoreDerivedMember(
EventInfo
member,
EventInfo
[] priorMembers, int startIndex, int endIndex)
62
public sealed override bool OkToIgnoreAmbiguity(
EventInfo
m1,
EventInfo
m2)
67
private static MethodInfo? GetAccessorMethod(
EventInfo
e)
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeTypeInfo.CoreGetDeclared.cs (1)
56
internal sealed override IEnumerable<
EventInfo
> CoreGetDeclaredEvents(NameFilter optionalNameFilter, RuntimeTypeInfo reflectedType, RuntimeTypeInfo contextTypeInfo)
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.BindingFlags.cs (4)
44
public
EventInfo
[] GetEvents(BindingFlags bindingAttr) => Query<
EventInfo
>(EventPolicies.Instance, bindingAttr).ToArray();
46
public
EventInfo
GetEvent(string name, BindingFlags bindingAttr) => Query<
EventInfo
>(EventPolicies.Instance, name, bindingAttr).Disambiguate();
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.CoreGetDeclared.cs (3)
82
internal IEnumerable<
EventInfo
> CoreGetDeclaredEvents(NameFilter optionalNameFilter, RuntimeTypeInfo reflectedType)
89
return Array.Empty<
EventInfo
>();
131
internal abstract IEnumerable<
EventInfo
> CoreGetDeclaredEvents(NameFilter optionalNameFilter, RuntimeTypeInfo reflectedType, RuntimeTypeInfo contextTypeInfo);
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.GetMember.cs (1)
47
QueryResult<
EventInfo
> events;
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.TypeComponentsCache.cs (1)
86
perNameCaches[MemberTypeIndex.Event] = new PerNameQueryCache<
EventInfo
>(type, ignoreCase: ignoreCase);
System\RuntimeType.NativeAot.cs (2)
719
public override
EventInfo
? GetEvent(string name, BindingFlags bindingAttr)
723
public override
EventInfo
[] GetEvents(BindingFlags bindingAttr)
System.Private.Reflection.Execution (2)
Internal\Reflection\Execution\TypeLoader\ConstraintValidatorSupport.cs (2)
149
public override
EventInfo
GetEvent(string name, BindingFlags bindingAttr) { Debug.Assert(false); throw NotImplemented.ByDesign; }
151
public override
EventInfo
[] GetEvents(BindingFlags bindingAttr) { Debug.Assert(false); throw NotImplemented.ByDesign; }
System.Reflection (1)
System.Reflection.cs (1)
13
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.
EventInfo
))]
System.Reflection.Context (17)
System\Reflection\Context\Custom\AttributeUtils.cs (1)
109
EventInfo
provider = evnt.UnderlyingEvent;
System\Reflection\Context\Custom\CustomEventInfo.cs (1)
10
public CustomEventInfo(
EventInfo
template, CustomReflectionContext context)
System\Reflection\Context\CustomReflectionContext.Projector.cs (3)
94
public override
EventInfo
? ProjectEvent(
EventInfo
? value)
239
output = ProjectEvent((
EventInfo
)value);
System\Reflection\Context\Delegation\DelegatingEventInfo.cs (2)
11
public DelegatingEventInfo(
EventInfo
@event)
58
public
EventInfo
UnderlyingEvent { get; }
System\Reflection\Context\Delegation\DelegatingType.cs (3)
215
public override
EventInfo
[] GetEvents()
318
public override
EventInfo
? GetEvent(string name, BindingFlags bindingAttr)
323
public override
EventInfo
[] GetEvents(BindingFlags bindingAttr)
System\Reflection\Context\Projection\ProjectingEventInfo.cs (1)
14
public ProjectingEventInfo(
EventInfo
@event, Projector projector)
System\Reflection\Context\Projection\ProjectingType.cs (4)
81
public override
EventInfo
[] GetEvents()
199
public override
EventInfo
? GetEvent(string name, BindingFlags bindingAttr)
204
public override
EventInfo
[] GetEvents(BindingFlags bindingAttr)
234
EventInfo
[] events = GetEvents(bindingAttr);
System\Reflection\Context\Projection\Projector.cs (2)
54
public abstract
EventInfo
? ProjectEvent(
EventInfo
? value);
System.Reflection.DispatchProxy (2)
System\Reflection\DispatchProxyGenerator.cs (2)
344
foreach (
EventInfo
ei in iface.GetRuntimeEvents())
401
foreach (
EventInfo
ei in iface.GetRuntimeEvents())
System.Reflection.Emit (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (3)
424
public override
EventInfo
GetEvent(string name, BindingFlags bindingAttr)
430
public override
EventInfo
[] GetEvents()
485
public override
EventInfo
[] GetEvents(BindingFlags bindingAttr)
System\Reflection\Emit\EnumBuilderImpl.cs (3)
114
public override
EventInfo
[] GetEvents() => throw new NotSupportedException();
116
public override
EventInfo
[] GetEvents(BindingFlags bindingAttr) => throw new NotSupportedException();
118
public override
EventInfo
? GetEvent(string name, BindingFlags bindingAttr) => throw new NotSupportedException();
System\Reflection\Emit\GenericTypeParameterBuilderImpl.cs (3)
120
public override
EventInfo
GetEvent(string name, BindingFlags bindingAttr) => throw new NotSupportedException();
122
public override
EventInfo
[] GetEvents() => throw new NotSupportedException();
135
public override
EventInfo
[] GetEvents(BindingFlags bindingAttr) => throw new NotSupportedException();
System\Reflection\Emit\TypeBuilderImpl.cs (4)
766
public override
EventInfo
[] GetEvents() => throw new NotSupportedException();
768
public override
EventInfo
[] GetEvents(BindingFlags bindingAttr) => throw new NotSupportedException();
770
public override
EventInfo
? GetEvent(string name, BindingFlags bindingAttr) => throw new NotSupportedException();
1172
EventInfo
[] events = [];
System.Reflection.MetadataLoadContext (32)
System\Reflection\Runtime\BindingFlagSupport\EventPolicies.cs (11)
12
internal sealed class EventPolicies : MemberPolicies<
EventInfo
>
14
public sealed override IEnumerable<
EventInfo
> GetDeclaredMembers(TypeInfo typeInfo)
19
public sealed override IEnumerable<
EventInfo
> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter? filter, RuntimeTypeInfo reflectedType)
26
public sealed override void GetMemberAttributes(
EventInfo
member, out MethodAttributes visibility, out bool isStatic, out bool isVirtual, out bool isNewSlot)
52
public sealed override bool IsSuppressedByMoreDerivedMember(
EventInfo
member,
EventInfo
[] priorMembers, int startIndex, int endIndex)
62
public sealed override bool ImplicitlyOverrides(
EventInfo
? baseMember,
EventInfo
? derivedMember)
69
public sealed override bool OkToIgnoreAmbiguity(
EventInfo
m1,
EventInfo
m2)
74
private static MethodInfo? GetAccessorMethod(
EventInfo
e)
System\Reflection\Runtime\BindingFlagSupport\MemberPolicies.cs (1)
209
else if (t.Equals(typeof(
EventInfo
)))
System\Reflection\TypeLoading\RuntimeTypeInfo.BindingFlags.cs (4)
46
public sealed override
EventInfo
[] GetEvents(BindingFlags bindingAttr) => Query<
EventInfo
>(bindingAttr).ToArray();
47
public sealed override
EventInfo
? GetEvent(string name, BindingFlags bindingAttr) => Query<
EventInfo
>(name, bindingAttr).Disambiguate();
System\Reflection\TypeLoading\RuntimeTypeInfo.GetMember.cs (1)
49
if ((results = QuerySpecificMemberTypeIfRequested(type, optionalName, bindingAttr, predicate, MemberTypes.Event, out QueryResult<
EventInfo
> events)) != null)
System\Reflection\TypeLoading\RuntimeTypeInfo.TypeComponentsCache.cs (1)
88
perNameCaches[MemberTypeIndex.Event] = new PerNameQueryCache<
EventInfo
>(type, ignoreCase: ignoreCase, immediateTypeOnly: immediateTypeOnly);
System\Reflection\TypeLoading\Types\Ecma\EcmaDefinitionType.BindingFlags.cs (1)
46
internal sealed override IEnumerable<
EventInfo
> SpecializeEvents(NameFilter? filter, Type reflectedType, RoInstantiationProviderType declaringType)
System\Reflection\TypeLoading\Types\RoConstructedGenericType.cs (1)
141
internal sealed override IEnumerable<
EventInfo
> GetEventsCore(NameFilter? filter, Type reflectedType) => _genericTypeDefinition.SpecializeEvents(filter, reflectedType, this);
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (2)
238
internal sealed override IEnumerable<
EventInfo
> GetEventsCore(NameFilter? filter, Type reflectedType) => SpecializeEvents(filter, reflectedType, this);
245
internal abstract IEnumerable<
EventInfo
> SpecializeEvents(NameFilter? filter, Type reflectedType, RoInstantiationProviderType declaringType);
System\Reflection\TypeLoading\Types\RoExceptionType.cs (1)
47
internal sealed override IEnumerable<
EventInfo
> SpecializeEvents(NameFilter? filter, Type reflectedType, RoInstantiationProviderType declaringType) => throw null!;
System\Reflection\TypeLoading\Types\RoFunctionPointerType.cs (2)
199
internal sealed override IEnumerable<
EventInfo
> GetEventsCore(NameFilter? filter, Type reflectedType) => Array.Empty<
EventInfo
>();
System\Reflection\TypeLoading\Types\RoGenericParameterType.cs (2)
90
internal sealed override IEnumerable<
EventInfo
> GetEventsCore(NameFilter? filter, Type reflectedType) => Array.Empty<
EventInfo
>();
System\Reflection\TypeLoading\Types\RoHasElementType.cs (2)
82
internal sealed override IEnumerable<
EventInfo
> GetEventsCore(NameFilter? filter, Type reflectedType) => Array.Empty<
EventInfo
>();
System\Reflection\TypeLoading\Types\RoModifiedType.cs (1)
198
internal override IEnumerable<
EventInfo
> GetEventsCore(NameFilter? filter, Type reflectedType) => throw new NotSupportedException(SR.NotSupported_ModifiedType);
System\Reflection\TypeLoading\Types\RoStubType.cs (1)
79
internal sealed override IEnumerable<
EventInfo
> GetEventsCore(NameFilter? filter, Type reflectedType) => throw null!;
System\Reflection\TypeLoading\Types\RoType.cs (1)
398
internal abstract IEnumerable<
EventInfo
> GetEventsCore(NameFilter? filter, Type reflectedType);
System.Reflection.TypeExtensions (10)
System\Reflection\TypeExtensions.cs (10)
57
public static
EventInfo
? GetEvent(
67
public static
EventInfo
? GetEvent(
78
public static
EventInfo
[] GetEvents(
87
public static
EventInfo
[] GetEvents(
401
public static MethodInfo? GetAddMethod(this
EventInfo
eventInfo)
409
public static MethodInfo? GetAddMethod(this
EventInfo
eventInfo, bool nonPublic)
417
public static MethodInfo? GetRaiseMethod(this
EventInfo
eventInfo)
425
public static MethodInfo? GetRaiseMethod(this
EventInfo
eventInfo, bool nonPublic)
433
public static MethodInfo? GetRemoveMethod(this
EventInfo
eventInfo)
441
public static MethodInfo? GetRemoveMethod(this
EventInfo
eventInfo, bool nonPublic)
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
470
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.
EventInfo
))]
System.Runtime.InteropServices (2)
System\Runtime\InteropServices\ComAwareEventInfo.cs (2)
20
private readonly
EventInfo
_innerEventInfo;
101
private static void GetDataForComInvocation(
EventInfo
eventInfo, out Guid sourceIid, out int dispid)
System.Windows.Forms.Design (1)
System\ComponentModel\Design\EventBindingService.cs (1)
146
EventInfo
? evInfo = ed.ComponentType.GetEvent(ed.Name);
System.Xaml (26)
System\Xaml\Schema\TypeReflector.cs (14)
451
internal
EventInfo
LookupEvent(string name)
455
EventInfo
ei = UnderlyingType.GetEvent(name, AllProperties_BF);
465
out ICollection<
EventInfo
> newEvents, out List<XamlMember> knownMembers)
471
EventInfo
[] eventList = UnderlyingType.GetEvents(AllProperties_BF);
548
private ICollection<
EventInfo
> FilterEvents(
EventInfo
[] eventList, List<XamlMember> knownMembers)
550
Dictionary<string,
EventInfo
> result = new Dictionary<string,
EventInfo
>(eventList.Length);
553
EventInfo
currentEvent = eventList[i];
565
EventInfo
shadowedEvent;
590
List<
EventInfo
> filteredResult = new List<
EventInfo
>(result.Count);
591
foreach (
EventInfo
evt in result.Values)
627
private static bool IsPrivate(
EventInfo
ei)
System\Xaml\XamlMember.cs (8)
65
public XamlMember(
EventInfo
eventInfo, XamlSchemaContext schemaContext)
70
public XamlMember(
EventInfo
eventInfo, XamlSchemaContext schemaContext, XamlMemberInvoker invoker)
75
internal XamlMember(
EventInfo
eventInfo, XamlSchemaContext schemaContext, XamlMemberInvoker invoker, MemberReflector reflector)
618
return UnderlyingMember is
EventInfo
;
794
EventInfo
ei = UnderlyingMember as
EventInfo
;
1011
EventInfo
ei = underlyingMember as
EventInfo
;
System\Xaml\XamlSchemaContext.cs (1)
641
internal virtual XamlMember GetEvent(
EventInfo
ei)
System\Xaml\XamlType.cs (3)
1067
ICollection<
EventInfo
> events;
1085
foreach (
EventInfo
ei in events)
1123
EventInfo
ei = _reflector.LookupEvent(name);