9 references to EventDefinition
System.Reflection.MetadataLoadContext (9)
System\Reflection\TypeLoading\Events\Ecma\EcmaEvent.cs (9)
36
public sealed override IEnumerable<CustomAttributeData> CustomAttributes =>
EventDefinition
.GetCustomAttributes().ToTrueCustomAttributes(_module);
59
protected sealed override string ComputeName() =>
EventDefinition
.Name.GetString(Reader);
60
protected sealed override EventAttributes ComputeAttributes() =>
EventDefinition
.Attributes;
61
protected sealed override Type ComputeEventHandlerType() =>
EventDefinition
.Type.ResolveTypeDefRefOrSpec(_module, TypeContext);
66
ImmutableArray<MethodDefinitionHandle> others =
EventDefinition
.GetAccessors().Others;
88
EventDefinition
.Type.ToTypeString(TypeContext, Reader) +
93
protected sealed override RoMethod? ComputeEventAddMethod() =>
EventDefinition
.GetAccessors().Adder.ToMethodOrNull(GetRoDeclaringType(), ReflectedType);
94
protected sealed override RoMethod? ComputeEventRemoveMethod() =>
EventDefinition
.GetAccessors().Remover.ToMethodOrNull(GetRoDeclaringType(), ReflectedType);
95
protected sealed override RoMethod? ComputeEventRaiseMethod() =>
EventDefinition
.GetAccessors().Raiser.ToMethodOrNull(GetRoDeclaringType(), ReflectedType);