Skip to content

Commit c3324e9

Browse files
Update EventSource+EventData.xml (#8785)
Fixed code sample. There is no type `EventProvider.EventData`
1 parent 085d8a2 commit c3324e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System.Diagnostics.Tracing/EventSource+EventData.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
5252
[NonEvent]
5353
public unsafe void WriteEvent(int eventId, int arg1, int arg2, int arg3, int arg4) {
54-
EventData* dataDesc = stackalloc EventProvider.EventData[4];
54+
EventData* dataDesc = stackalloc EventSource.EventData[4];
5555
5656
dataDesc[0].DataPointer = (IntPtr)(&arg1);
5757
dataDesc[0].Size = 4;

0 commit comments

Comments
 (0)