3 writes to listeners
System (3)
compmod\system\diagnostics\TraceSource.cs (3)
92
listeners
= sourceElement.Listeners.GetRuntimeObject();
111
listeners
= new TraceListenerCollection();
227
listeners
= newListenerCollection;
39 references to listeners
System (39)
compmod\system\diagnostics\TraceSource.cs (39)
112
listeners
.Add(new DefaultTraceListener());
119
if (
listeners
!= null) {
122
foreach (TraceListener listener in
listeners
) {
131
if (
listeners
!= null) {
134
foreach (TraceListener listener in
listeners
) {
140
foreach (TraceListener listener in
listeners
) {
213
TraceListener listener =
listeners
[listenerElement.Name];
232
listeners
.Clear();
245
if (internalSwitch.ShouldTrace(eventType) &&
listeners
!= null) {
249
for (int i=0; i<
listeners
.Count; i++) {
250
TraceListener listener =
listeners
[i];
257
for (int i=0; i<
listeners
.Count; i++) {
258
TraceListener listener =
listeners
[i];
281
if (internalSwitch.ShouldTrace(eventType) &&
listeners
!= null) {
285
for (int i=0; i<
listeners
.Count; i++) {
286
TraceListener listener =
listeners
[i];
293
for (int i=0; i<
listeners
.Count; i++) {
294
TraceListener listener =
listeners
[i];
317
if (internalSwitch.ShouldTrace(eventType) &&
listeners
!= null) {
321
for (int i=0; i<
listeners
.Count; i++) {
322
TraceListener listener =
listeners
[i];
329
for (int i=0; i<
listeners
.Count; i++) {
330
TraceListener listener =
listeners
[i];
353
if (internalSwitch.ShouldTrace(eventType) &&
listeners
!= null) {
357
for (int i=0; i<
listeners
.Count; i++) {
358
TraceListener listener =
listeners
[i];
365
for (int i=0; i<
listeners
.Count; i++) {
366
TraceListener listener =
listeners
[i];
389
if (internalSwitch.ShouldTrace(eventType) &&
listeners
!= null) {
393
for (int i=0; i<
listeners
.Count; i++) {
394
TraceListener listener =
listeners
[i];
401
for (int i=0; i<
listeners
.Count; i++) {
402
TraceListener listener =
listeners
[i];
437
if (internalSwitch.ShouldTrace(TraceEventType.Transfer) &&
listeners
!= null) {
441
for (int i=0; i<
listeners
.Count; i++) {
442
TraceListener listener =
listeners
[i];
449
for (int i=0; i<
listeners
.Count; i++) {
450
TraceListener listener =
listeners
[i];
497
return
listeners
;