1 write to EventId
mscorlib (1)
system\diagnostics\eventing\eventsource.cs (1)
5039
public EventAttribute(int eventId) { this.
EventId
= eventId; Level = EventLevel.Informational; this.m_opcodeSet = false; }
18 references to EventId
mscorlib (18)
system\diagnostics\eventing\eventsource.cs (18)
3373
&& eventAttribute.
EventId
<= 3
3392
manifest.ManifestError(Environment.GetResourceString("EventSource_AbstractMustNotDeclareEventMethods", method.Name, eventAttribute.
EventId
));
3418
else if (eventAttribute.
EventId
<= 0)
3424
manifest.ManifestError(Environment.GetResourceString("EventSource_EventMustNotBeExplicitImplementation", method.Name, eventAttribute.
EventId
));
3434
eventAttribute.Task = (EventTask)(0xFFFE - eventAttribute.
EventId
);
3458
int startEventId = eventAttribute.
EventId
- 1;
3640
if (eventData == null || eventData.Length <= eventAttribute.
EventId
)
3642
EventMetadata[] newValues = new EventMetadata[Math.Max(eventData.Length + 16, eventAttribute.
EventId
+ 1)];
3647
eventData[eventAttribute.
EventId
].Descriptor = new EventDescriptor(
3648
eventAttribute.
EventId
,
3660
eventData[eventAttribute.
EventId
].Tags = eventAttribute.Tags;
3661
eventData[eventAttribute.
EventId
].Name = eventName;
3662
eventData[eventAttribute.
EventId
].Parameters = eventParameters;
3663
eventData[eventAttribute.
EventId
].Message = eventAttribute.Message;
3664
eventData[eventAttribute.
EventId
].ActivityOptions = eventAttribute.ActivityOptions;
3665
eventData[eventAttribute.
EventId
].HasRelatedActivityID = hasRelatedActivityID;
3707
int evtId = eventAttribute.
EventId
;
6183
Append(" value=\"").Append(eventAttribute.
EventId
).Append("\"").