9 references to GetEventDefinition
Microsoft.CodeAnalysis (3)
MetadataReader\PEModule.cs (3)
3525return MetadataReader.GetString(MetadataReader.GetEventDefinition(eventDef).Name); 3535EventDefinition eventRow = MetadataReader.GetEventDefinition(eventDef); 3927return MetadataReader.GetEventDefinition(eventDef).GetAccessors();
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Attributes\AttributeTests_Nullable.cs (1)
4871var @event = typeDef.GetEvents().Select(e => reader.GetEventDefinition(e)).Single(e => reader.StringComparer.Equals(e.Name, "Event"));
Attributes\AttributeTests_WellKnownAttributes.cs (1)
4771var flags = metadataReader.GetEventDefinition(eventDef).Attributes;
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
MetadataResolver.cs (1)
97var eventDef = _reader.GetEventDefinition(eventHandle);
Microsoft.CodeAnalysis.Features (1)
PdbSourceDocument\SymbolSourceDocumentFinder.cs (1)
74var eventDef = dllReader.GetEventDefinition(eventDefHandle);
Microsoft.CodeAnalysis.Test.Utilities (1)
Metadata\MetadataReaderUtils.cs (1)
138return reader.EventDefinitions.Select(handle => reader.GetEventDefinition(handle).Name).ToArray();
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (1)
26public static EventDefinition GetEventDefinition(this EventDefinitionHandle handle, MetadataReader reader) => reader.GetEventDefinition(handle);