14 references to MAX
mscorlib (14)
system\diagnostics\eventing\eventsource.cs (14)
1492
m_etwSessionIdMap = new EtwSession[SessionMask.
MAX
];
2316
for (int i = 0; i < SessionMask.
MAX
; ++i)
2615
bool shouldReport = (commandArgs.perEventSourceSessionId > 0) && (commandArgs.perEventSourceSessionId <= SessionMask.
MAX
);
2676
Contract.Assert(commandArgs.perEventSourceSessionId >= -1 && commandArgs.perEventSourceSessionId <= SessionMask.
MAX
);
2720
if (commandArgs.perEventSourceSessionId >= 0 && commandArgs.perEventSourceSessionId < SessionMask.
MAX
)
2758
for (int i = 0; i < SessionMask.
MAX
; ++i)
2768
for (int i = 0; i < SessionMask.
MAX
; ++i)
2855
if (sessionIdBit < SessionMask.
MAX
)
2933
sessionKwd >= SessionMask.SHIFT_SESSION_TO_KEYWORD + SessionMask.
MAX
)
2955
for (int sessId = 0; sessId < SessionMask.
MAX
; ++sessId)
4006
for (int perEventSourceSessionId = 0; perEventSourceSessionId < SessionMask.
MAX
; ++perEventSourceSessionId)
5893
Contract.Assert(perEventSourceSessionId <
MAX
);
5911
Contract.Assert(perEventSourceSessionId <
MAX
);
5916
Contract.Assert(perEventSourceSessionId <
MAX
);