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