1 write to m_eventData
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (1)
3308source.m_eventData = eventData; // officially initialize it. We do this at most once (it is racy otherwise).
35 references to m_eventData
System.Private.CoreLib (35)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (34)
774Debug.Assert(m_eventData != null); 776foreach (int metaKey in m_eventData.Keys) 778ref EventMetadata eventMetadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, metaKey); 1362Debug.Assert(m_eventData != null); // You must have initialized this if you enabled the source. 1365ref EventMetadata metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId); 1435ref EventMetadata metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId); 1992Debug.Assert(m_eventData != null); // You must have initialized this if you enabled the source. 1995ref EventMetadata metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId); 2090ref EventMetadata metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId); 2103Debug.Assert(m_eventData != null); 2104ref EventMetadata metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId); 2123Debug.Assert(m_eventData != null); 2124ref EventMetadata metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId); 2153Debug.Assert(m_eventData != null); 2154ref EventMetadata metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventCallbackArgs.EventId); 2381Debug.Assert(m_eventData != null); 2382ref EventMetadata metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventNum); 2689Debug.Assert(m_eventData != null); 2703foreach (int eventID in m_eventData.Keys) 2765Debug.Assert(m_eventData != null); 2776foreach (int eventID in m_eventData.Keys) 2789ref EventMetadata eventMeta = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventID); 2842Debug.Assert(m_eventData != null); 2843ref EventMetadata eventMeta = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId); 2875Debug.Assert(m_eventData != null); 2876foreach (EventMetadata eventMeta in m_eventData.Values) 2891if (m_eventData == null) 2896Debug.Assert(m_eventData != null); 2918Dictionary<int, bool> eventEnabled = new Dictionary<int, bool>(m_eventData.Count); 2919foreach (int eventId in m_eventData.Keys) 3590if (m_eventData != null) 3592enabledDict = new Dictionary<int, bool>(m_eventData.Count); 3593foreach (int eventId in m_eventData.Keys) 4172private ref EventSource.EventMetadata Metadata => ref CollectionsMarshal.GetValueRefOrNullRef(EventSource.m_eventData!, EventId);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\NativeRuntimeEventSource.cs (1)
56ref EventMetadata metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData!, (int)eventID);