42 references to Event
Microsoft.CodeAnalysis (7)
Emit\EditAndContinue\DeltaMetadataWriter.cs (5)
106
_eventDefs = new DefinitionIndex<IEventDefinition>(this.TryGetExistingEventDefIndex, sizes[(int)TableIndex.
Event
]);
157
sizes[(int)TableIndex.
Event
] = _eventDefs.GetAdded().Count;
1103
PopulateEncLogTableEventsOrProperties(_eventDefs, TableIndex.
Event
, EditAndContinueOperation.AddEvent, _eventMap, TableIndex.EventMap);
1289
case TableIndex.
Event
:
1355
TableIndex.
Event
,
Emit\EditAndContinue\EmitBaseline.cs (1)
344
Debug.Assert(tableEntriesAdded[(int)TableIndex.
Event
] >= eventsAdded.Count);
PEWriter\MetadataWriter.cs (1)
2207
metadata.SetCapacity(TableIndex.
Event
, eventDefs.Count);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (16)
Emit\EditAndContinue\EditAndContinueTests.cs (16)
5454
Row(1, TableIndex.
Event
, EditAndContinueOperation.Default),
5484
Handle(1, TableIndex.
Event
),
5508
Row(2, TableIndex.
Event
, EditAndContinueOperation.Default),
5537
Handle(2, TableIndex.
Event
),
5667
Row(2, TableIndex.
Event
, EditAndContinueOperation.Default),
5710
Handle(2, TableIndex.
Event
),
5810
Row(1, TableIndex.
Event
, EditAndContinueOperation.Default),
5833
Handle(1, TableIndex.
Event
),
6402
new CustomAttributeRow(Handle(1, TableIndex.
Event
), Handle(10, TableIndex.MemberRef)));
6405
Row(1, TableIndex.
Event
, EditAndContinueOperation.Default),
6412
Handle(1, TableIndex.
Event
),
7367
new CustomAttributeRow(Handle(1, TableIndex.
Event
), Handle(2, TableIndex.MethodDef)),
7402
Row(2, TableIndex.
Event
, EditAndContinueOperation.Default),
7455
Handle(2, TableIndex.
Event
),
7468
new CustomAttributeRow(Handle(2, TableIndex.
Event
), Handle(1, TableIndex.MethodDef)),
7486
new CustomAttributeRow(Handle(2, TableIndex.
Event
), Handle(1, TableIndex.MethodDef)),
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (3)
Emit\EditAndContinue\EditAndContinueTests.vb (3)
1528
Row(1, TableIndex.
Event
, EditAndContinueOperation.Default),
1631
Row(1, TableIndex.
Event
, EditAndContinueOperation.Default),
1726
Row(1, TableIndex.
Event
, EditAndContinueOperation.Default),
System.Reflection.Metadata (16)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (4)
163
case TableIndex.
Event
: SetTableCapacity(_eventTable, rowCount); break;
236
case TableIndex.
Event
: return _eventTable.Count;
308
rowCounts[(int)TableIndex.
Event
] = _eventTable.Count;
1727
if (metadataSizes.IsPresent(TableIndex.
Event
))
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (2)
69
TableIndex.
Event
=> reader.EventTable.RowSize,
150
TableIndex.
Event
=> reader.EventTable.Block,
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (5)
159
EventDefReferenceIsSmall = IsReferenceSmall(0, TableIndex.
Event
);
175
TableIndex.
Event
,
189
HasSemanticsCodedIndexIsSmall = IsReferenceSmall(1, TableIndex.
Event
, TableIndex.Property);
219
TableIndex.
Event
,
292
size += GetTableSize(TableIndex.
Event
, 2 + stringReferenceSize + typeDefOrRefCodedIndexSize);
System\Reflection\Metadata\Internal\MetadataFlags.cs (2)
38
Event = 1UL << TableIndex.
Event
,
216
internal const uint Event = (uint)TableIndex.
Event
;
System\Reflection\Metadata\MetadataReader.cs (3)
580
int eventRefSizeSorted = GetReferenceSize(rowCounts, TableIndex.EventPtr) > SmallIndexSize ? LargeIndexSize : GetReferenceSize(rowCounts, TableIndex.
Event
);
668
this.EventPtrTable = new EventPtrTableReader(rowCounts[(int)TableIndex.EventPtr], GetReferenceSize(rowCounts, TableIndex.
Event
), metadataTablesMemoryBlock, totalRequiredSize);
671
this.EventTable = new EventTableReader(rowCounts[(int)TableIndex.
Event
], typeDefOrRefRefSize, stringHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize);