111 references to EventOpcode
mscorlib (104)
system\diagnostics\eventing\eventprovider.cs (8)
1110
Contract.Assert((
EventOpcode
)eventDescriptor.Opcode ==
EventOpcode
.Send ||
1111
(
EventOpcode
)eventDescriptor.Opcode ==
EventOpcode
.Receive ||
1112
(
EventOpcode
)eventDescriptor.Opcode ==
EventOpcode
.Start ||
1113
(
EventOpcode
)eventDescriptor.Opcode ==
EventOpcode
.Stop);
system\diagnostics\eventing\eventsource.cs (56)
1187
EventOpcode
opcode = (
EventOpcode
)m_eventData[eventId].Descriptor.Opcode;
1193
if (opcode !=
EventOpcode
.Info && relatedActivityId == null &&
1196
if (opcode ==
EventOpcode
.Start)
1200
else if (opcode ==
EventOpcode
.Stop)
1275
Opcode = (
EventOpcode
)m_eventData[eventId].Descriptor.Opcode
1922
EventOpcode
opcode = (
EventOpcode
)m_eventData[eventId].Descriptor.Opcode;
1928
if (opcode ==
EventOpcode
.Start)
1932
else if (opcode ==
EventOpcode
.Stop)
2000
Opcode = (
EventOpcode
)m_eventData[eventId].Descriptor.Opcode
2340
(
EventOpcode
)m_eventData[eventId].Descriptor.Opcode ==
EventOpcode
.Send)
2473
if ((
EventOpcode
)eventData.Descriptor.Opcode !=
EventOpcode
.Send &&
2474
(
EventOpcode
)eventData.Descriptor.Opcode !=
EventOpcode
.Receive &&
2475
(
EventOpcode
)eventData.Descriptor.Opcode !=
EventOpcode
.Start)
2482
internal static
EventOpcode
GetOpcodeWithDefault(
EventOpcode
opcode, string eventName)
2484
if (opcode ==
EventOpcode
.Info && eventName != null)
2488
return
EventOpcode
.Start;
2492
return
EventOpcode
.Stop;
3429
if (eventAttribute.Opcode ==
EventOpcode
.Info) // We are still using the default opcode.
3439
eventAttribute.Opcode = GetOpcodeWithDefault(
EventOpcode
.Info, eventName);
3444
if (eventAttribute.Opcode ==
EventOpcode
.Start)
3455
else if (eventAttribute.Opcode ==
EventOpcode
.Stop)
3467
if (startEventMetadata.Descriptor.Opcode == (byte)
EventOpcode
.Start &&
3602
if (!reflectionOnly && (staticFieldType == typeof(
EventOpcode
)) || AttributeTypeNamesMatch(staticFieldType, typeof(
EventOpcode
)))
3721
Contract.Assert(eventAttribute.Task != EventTask.None || eventAttribute.Opcode !=
EventOpcode
.Info);
3740
if (eventAttribute.Opcode !=
EventOpcode
.Info)
3751
if ((eventAttribute.Opcode !=
EventOpcode
.Start && eventAttribute.Opcode !=
EventOpcode
.Stop) && eventAttribute.Task == autoAssignedTask)
4872
public
EventOpcode
Opcode
4878
return (
EventOpcode
)m_eventSource.m_eventData[EventId].Descriptor.Opcode;
4980
internal
EventOpcode
m_opcode;
5047
public
EventOpcode
Opcode
5096
EventOpcode
m_opcode;
5487
((
EventOpcode
)source.m_eventData[eventId].Descriptor.Opcode ==
EventOpcode
.Send))
5545
((
EventOpcode
)source.m_eventData[af.m_eventId].Descriptor.Opcode ==
EventOpcode
.Send)))
6661
private string GetOpcodeName(
EventOpcode
opcode, string eventName)
6665
case
EventOpcode
.Info:
6667
case
EventOpcode
.Start:
6669
case
EventOpcode
.Stop:
6671
case
EventOpcode
.DataCollectionStart:
6673
case
EventOpcode
.DataCollectionStop:
6675
case
EventOpcode
.Extension:
6677
case
EventOpcode
.Reply:
6679
case
EventOpcode
.Resume:
6681
case
EventOpcode
.Suspend:
6683
case
EventOpcode
.Send:
6685
case
EventOpcode
.Receive:
system\diagnostics\eventing\frameworkeventsource.cs (8)
69
public const
EventOpcode
ReceiveHandled = (
EventOpcode
)11;
505
Task = Tasks.GetResponse, Opcode =
EventOpcode
.Start, Version = 1)]
511
Task = Tasks.GetResponse, Opcode =
EventOpcode
.Stop, Version = 1)]
519
Task = Tasks.GetRequestStream, Opcode =
EventOpcode
.Start, Version = 1)]
525
Task = Tasks.GetRequestStream, Opcode =
EventOpcode
.Stop, Version = 1)]
561
[Event(150, Level = EventLevel.Informational, Keywords = Keywords.ThreadTransfer, Task = Tasks.ThreadTransfer, Opcode =
EventOpcode
.Send)]
581
[Event(151, Level = EventLevel.Informational, Keywords = Keywords.ThreadTransfer, Task = Tasks.ThreadTransfer, Opcode =
EventOpcode
.Receive)]
System\Diagnostics\Eventing\TraceLogging\EventDataAttribute.cs (3)
24
private
EventOpcode
opcode = (
EventOpcode
)(-1);
104
internal
EventOpcode
Opcode
System\Diagnostics\Eventing\TraceLogging\EventSourceActivity.cs (2)
253
newActivity.startStopOptions.Opcode =
EventOpcode
.Start;
292
this.startStopOptions.Opcode =
EventOpcode
.Stop;
System\Diagnostics\Eventing\TraceLogging\EventSourceOptions.cs (2)
51
public
EventOpcode
Opcode
55
return (
EventOpcode
)this.opcode;
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventSource.cs (5)
617
EventOpcode
opcode = (
EventOpcode
)descriptor.Opcode;
624
if (opcode ==
EventOpcode
.Start)
628
else if (opcode ==
EventOpcode
.Stop)
696
eventCallbackArgs.m_opcode = (
EventOpcode
) eventDescriptor.Opcode;
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventTypes.cs (2)
175
internal
EventOpcode
Opcode
177
get { return (
EventOpcode
)this.opcode; }
System\Diagnostics\Eventing\TraceLogging\TraceLoggingTypeInfo.cs (4)
25
private readonly
EventOpcode
opcode = (
EventOpcode
)(-1);
46
EventOpcode
opcode,
97
public
EventOpcode
Opcode
System\Diagnostics\Eventing\TraceLogging\TraceLoggingTypeInfo_T.cs (1)
61
EventOpcode
opcode,
System\Diagnostics\Eventing\TraceLogging\TypeAnalysis.cs (4)
21
internal readonly
EventOpcode
opcode = (
EventOpcode
)(-1);
79
this.opcode = (
EventOpcode
)Statics.Combine((int)typeInfo.Opcode, (int)this.opcode);
87
this.opcode = (
EventOpcode
)Statics.Combine((int)eventAttrib.Opcode, (int)this.opcode);
system\threading\Tasks\TPLETWProvider.cs (9)
224
Task = TplEtwProvider.Tasks.Loop, Opcode =
EventOpcode
.Start)]
268
[Event(PARALLELLOOPEND_ID, Level = EventLevel.Informational, Task = TplEtwProvider.Tasks.Loop, Opcode =
EventOpcode
.Stop)]
306
Task = TplEtwProvider.Tasks.Invoke, Opcode =
EventOpcode
.Start)]
345
[Event(PARALLELINVOKEEND_ID, Level = EventLevel.Informational, Task = TplEtwProvider.Tasks.Invoke, Opcode =
EventOpcode
.Stop)]
367
Task = TplEtwProvider.Tasks.ForkJoin, Opcode =
EventOpcode
.Start)]
387
[Event(PARALLELJOIN_ID, Level = EventLevel.Verbose, Task = TplEtwProvider.Tasks.ForkJoin, Opcode =
EventOpcode
.Stop)]
419
[Event(TASKSCHEDULED_ID, Task = Tasks.TaskScheduled, Version=1, Opcode =
EventOpcode
.Send,
518
[Event(TASKWAITBEGIN_ID, Version=3, Task = TplEtwProvider.Tasks.TaskWait, Opcode =
EventOpcode
.Send,
605
[Event(AWAITTASKCONTINUATIONSCHEDULED_ID, Task = Tasks.AwaitTaskContinuationScheduled, Opcode =
EventOpcode
.Send,
System.Core (4)
System\Linq\Parallel\Utils\PLINQETWProvider.cs (4)
109
[Event(PARALLELQUERYBEGIN_EVENTID, Level = EventLevel.Informational, Task = PlinqEtwProvider.Tasks.Query, Opcode =
EventOpcode
.Start)]
137
[Event(PARALLELQUERYEND_EVENTID, Level = EventLevel.Informational, Task = PlinqEtwProvider.Tasks.Query, Opcode =
EventOpcode
.Stop)]
169
[Event(PARALLELQUERYFORK_EVENTID, Level = EventLevel.Verbose, Task = PlinqEtwProvider.Tasks.ForkJoin, Opcode =
EventOpcode
.Start)]
199
[Event(PARALLELQUERYJOIN_EVENTID, Level = EventLevel.Verbose, Task = PlinqEtwProvider.Tasks.ForkJoin, Opcode =
EventOpcode
.Stop)]
System.Web (3)
AspNetEventSource.cs (3)
97
[Event((int)Events.RequestEnteredAspNetPipeline, Level = EventLevel.Informational, Task = (EventTask)Tasks.Request, Opcode =
EventOpcode
.Send, Version = 1)]
151
[Event((int)Events.RequestStarted, Level = EventLevel.Informational, Task = (EventTask)Tasks.Request, Opcode =
EventOpcode
.Start, Version = 1)]
161
[Event((int)Events.RequestCompleted, Level = EventLevel.Informational, Task = (EventTask)Tasks.Request, Opcode =
EventOpcode
.Stop, Version = 1)]