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