1 interface inheriting from IEventDefinition
Microsoft.CodeAnalysis (1)
PEWriter\Members.cs (1)
864internal interface ISpecializedEventDefinition : IEventDefinition
1 implementation of IEventDefinition
Microsoft.CodeAnalysis (1)
Emit\NoPia\CommonEmbeddedEvent.cs (1)
37internal abstract class CommonEmbeddedEvent : CommonEmbeddedMember<TEventSymbol>, Cci.IEventDefinition
45 references to IEventDefinition
Microsoft.CodeAnalysis (45)
Emit\EditAndContinue\DeletedSourceTypeDefinition.cs (1)
110public IEnumerable<IEventDefinition> GetEvents(EmitContext context)
Emit\EditAndContinue\DeltaMetadataWriter.cs (9)
41private readonly DefinitionIndex<IEventDefinition> _eventDefs; 106_eventDefs = new DefinitionIndex<IEventDefinition>(this.TryGetExistingEventDefIndex, sizes[(int)TableIndex.Event]); 315protected override EventDefinitionHandle GetEventDefinitionHandle(IEventDefinition def) 320protected override IReadOnlyList<IEventDefinition> GetEventDefs() 633foreach (var eventDef in typeDef.GetEvents(this.Context)) 724IEventDefinition eventDef => TryGetExistingEventDefIndex(eventDef, out _), 814Debug.Assert(def is INestedTypeDefinition or IPropertyDefinition or IEventDefinition); 1616private bool TryGetExistingEventDefIndex(IEventDefinition item, out int index) 1842public override void Visit(IEventDefinition eventDefinition)
Emit\EditAndContinue\EmitBaseline.cs (4)
178eventsAdded: new Dictionary<Cci.IEventDefinition, int>(), 236internal readonly IReadOnlyDictionary<Cci.IEventDefinition, int> EventsAdded; 299IReadOnlyDictionary<Cci.IEventDefinition, int> eventsAdded, 398IReadOnlyDictionary<Cci.IEventDefinition, int> eventsAdded,
Emit\NoPia\CommonEmbeddedEvent.cs (8)
94Cci.IMethodReference Cci.IEventDefinition.Adder 99Cci.IMethodReference Cci.IEventDefinition.Remover 104Cci.IMethodReference Cci.IEventDefinition.Caller 109IEnumerable<Cci.IMethodReference> Cci.IEventDefinition.GetAccessors(EmitContext context) 127bool Cci.IEventDefinition.IsRuntimeSpecial 135bool Cci.IEventDefinition.IsSpecialName 143Cci.ITypeReference Cci.IEventDefinition.GetType(EmitContext context) 176visitor.Visit((Cci.IEventDefinition)this);
Emit\NoPia\CommonEmbeddedType.cs (3)
48private ImmutableArray<Cci.IEventDefinition> _lazyEvents; 243IEnumerable<Cci.IEventDefinition> Cci.ITypeDefinition.GetEvents(EmitContext context) 249var builder = ArrayBuilder<Cci.IEventDefinition>.GetInstance();
PEWriter\FullMetadataWriter.cs (6)
21private readonly DefinitionIndex<IEventDefinition> _eventDefs; 94_eventDefs = new DefinitionIndex<IEventDefinition>(0); 152protected override EventDefinitionHandle GetEventDefinitionHandle(IEventDefinition def) 157protected override IReadOnlyList<IEventDefinition> GetEventDefs() 336foreach (IEventDefinition eventDef in this.GetEventDefs()) 387foreach (IEventDefinition eventDef in typeDef.GetEvents(Context))
PEWriter\Members.cs (1)
872IEventDefinition UnspecializedVersion
PEWriter\MetadataVisitor.cs (3)
78public void Visit(IEnumerable<IEventDefinition> events) 80foreach (IEventDefinition eventDef in events) 86public virtual void Visit(IEventDefinition eventDefinition)
PEWriter\MetadataWriter.cs (6)
193protected abstract EventDefinitionHandle GetEventDefinitionHandle(IEventDefinition def); 199protected abstract IReadOnlyList<IEventDefinition> GetEventDefs(); 738public static EventAttributes GetEventAttributes(IEventDefinition eventDef) 1681IEventDefinition eventDef => GetEventDefinitionHandle(eventDef), 2209foreach (IEventDefinition eventDef in eventDefs) 2667foreach (IEventDefinition eventDef in this.GetEventDefs())
PEWriter\ReferenceIndexerBase.cs (1)
50public override void Visit(IEventDefinition eventDefinition)
PEWriter\RootModuleType.cs (2)
81public IEnumerable<IEventDefinition> GetEvents(EmitContext context) 83return SpecializedCollections.EmptyEnumerable<IEventDefinition>();
PEWriter\Types.cs (1)
465IEnumerable<IEventDefinition> GetEvents(EmitContext context);