1 write to m_eventData
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (1)
3416source.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)
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); 1446ref EventMetadata metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId); 1981Debug.Assert(m_eventData != null); // You must have initialized this if you enabled the source. 1984ref EventMetadata metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId); 2079ref EventMetadata metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId); 2092Debug.Assert(m_eventData != null); 2093ref EventMetadata metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId); 2112Debug.Assert(m_eventData != null); 2113ref EventMetadata metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId); 2142Debug.Assert(m_eventData != null); 2143ref EventMetadata metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventCallbackArgs.EventId); 2370Debug.Assert(m_eventData != null); 2371ref EventMetadata metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventNum); 2678Debug.Assert(m_eventData != null); 2692foreach (int eventID in m_eventData.Keys) 2754Debug.Assert(m_eventData != null); 2765foreach (int eventID in m_eventData.Keys) 2778ref EventMetadata eventMeta = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventID); 2831Debug.Assert(m_eventData != null); 2832ref EventMetadata eventMeta = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData, eventId); 2864Debug.Assert(m_eventData != null); 2865foreach (EventMetadata eventMeta in m_eventData.Values) 2880if (m_eventData == null) 2885Debug.Assert(m_eventData != null); 2907Dictionary<int, bool> eventEnabled = new Dictionary<int, bool>(m_eventData.Count); 2908foreach (int eventId in m_eventData.Keys) 3583if (m_eventData != null) 3585enabledDict = new Dictionary<int, bool>(m_eventData.Count); 3586foreach (int eventId in m_eventData.Keys) 4779private ref EventSource.EventMetadata Metadata => ref CollectionsMarshal.GetValueRefOrNullRef(EventSource.m_eventData!, EventId);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\NativeRuntimeEventSource.cs (1)
61ref EventMetadata metadata = ref CollectionsMarshal.GetValueRefOrNullRef(m_eventData!, (int)eventID);