3 writes to perEventSourceSessionId
mscorlib (3)
system\diagnostics\eventing\eventsource.cs (3)
2664
commandArgs.
perEventSourceSessionId
= -commandArgs.perEventSourceSessionId;
2667
--commandArgs.
perEventSourceSessionId
;
4715
this.
perEventSourceSessionId
= perEventSourceSessionId;
17 references to perEventSourceSessionId
mscorlib (17)
system\diagnostics\eventing\eventsource.cs (17)
2615
bool shouldReport = (commandArgs.
perEventSourceSessionId
> 0) && (commandArgs.
perEventSourceSessionId
<= SessionMask.MAX);
2657
bool bSessionEnable = (commandArgs.
perEventSourceSessionId
>= 0);
2658
if (commandArgs.
perEventSourceSessionId
== 0 && commandArgs.enable == false)
2664
commandArgs.perEventSourceSessionId = -commandArgs.
perEventSourceSessionId
;
2676
Contract.Assert(commandArgs.
perEventSourceSessionId
>= -1 && commandArgs.
perEventSourceSessionId
<= SessionMask.MAX);
2691
if (bSessionEnable && commandArgs.
perEventSourceSessionId
!= -1)
2700
if (commandArgs.listener == null && commandArgs.Arguments.Count > 0 && commandArgs.
perEventSourceSessionId
!= sessionIdBit)
2703
commandArgs.
perEventSourceSessionId
+ SessionMask.SHIFT_SESSION_TO_KEYWORD,
2709
UpdateEtwSession(commandArgs.
perEventSourceSessionId
, commandArgs.etwSessionId, true, activityFilters, participateInSampling);
2720
if (commandArgs.
perEventSourceSessionId
>= 0 && commandArgs.
perEventSourceSessionId
< SessionMask.MAX)
2722
commandArgs.Arguments["EtwSessionKeyword"] = (commandArgs.
perEventSourceSessionId
+ SessionMask.SHIFT_SESSION_TO_KEYWORD).ToString(CultureInfo.InvariantCulture);
2741
if (commandArgs.listener == null && !bSessionEnable && commandArgs.
perEventSourceSessionId
!= -1)
2744
UpdateEtwSession(commandArgs.
perEventSourceSessionId
, commandArgs.etwSessionId, false, null, false);
2832
SessionMask m = SessionMask.FromId(commandArgs.
perEventSourceSessionId
);