1 write to m_eventData
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (1)
3407source.m_eventData = eventData; // officially initialize it. We do this at most once (it is racy otherwise).
37 references to m_eventData
System.Private.CoreLib (37)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (36)
785Debug.Assert(m_eventData != null); 787foreach (int metaKey in m_eventData.Keys) 789ref EventMetadata eventMetadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, metaKey); 1373Debug.Assert(m_eventData != null); // You must have initialized this if you enabled the source. 1376ref EventMetadata metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId); 1445ThrowEventSourceException(m_eventData[eventId].Name, ex); 1978Debug.Assert(m_eventData != null); // You must have initialized this if you enabled the source. 1981ref EventMetadata metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId); 2075ThrowEventSourceException(m_eventData[eventId].Name, ex); 2086Debug.Assert(m_eventData != null); 2087TraceLoggingEventTypes eventTypes = m_eventData[eventId].TraceLoggingEventTypes; 2105Debug.Assert(m_eventData != null); 2106ParameterInfo[] infos = m_eventData[eventId].Parameters; 2134Debug.Assert(m_eventData != null); 2135ref EventMetadata metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventCallbackArgs.EventId); 2362Debug.Assert(m_eventData != null); 2363EventLevel eventLevel = (EventLevel)m_eventData[eventNum].Descriptor.Level; 2364EventKeywords eventKeywords = unchecked((EventKeywords)((ulong)m_eventData[eventNum].Descriptor.Keywords & (~(SessionMask.All.ToEventKeywords())))); 2365EventChannel channel = unchecked((EventChannel)m_eventData[eventNum].Descriptor.Channel); 2669Debug.Assert(m_eventData != null); 2683foreach (int eventID in m_eventData.Keys) 2745Debug.Assert(m_eventData != null); 2756foreach (int eventID in m_eventData.Keys) 2769ref EventMetadata eventMeta = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventID); 2822Debug.Assert(m_eventData != null); 2823ref EventMetadata eventMeta = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId); 2855Debug.Assert(m_eventData != null); 2856foreach (EventMetadata eventMeta in m_eventData.Values) 2871if (m_eventData == null) 2876Debug.Assert(m_eventData != null); 2898Dictionary<int, bool> eventEnabled = new Dictionary<int, bool>(m_eventData.Count); 2899foreach (int eventId in m_eventData.Keys) 3574if (m_eventData != null) 3576enabledDict = new Dictionary<int, bool>(m_eventData.Count); 3577foreach (int eventId in m_eventData.Keys) 4770private ref EventSource.EventMetadata Metadata => ref CollectionsMarshal.GetValueRefOrNullRef(EventSource.m_eventData!, EventId);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\NativeRuntimeEventSource.cs (1)
54ref EventMetadata metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData!, (int)eventID);