105 references to TraceInternal
System (105)
compmod\system\diagnostics\Debug.cs (36)
35
return
TraceInternal
.Listeners;
47
return
TraceInternal
.AutoFlush;
52
TraceInternal
.AutoFlush = value;
61
get { return
TraceInternal
.IndentLevel; }
63
set {
TraceInternal
.IndentLevel = value; }
70
get { return
TraceInternal
.IndentSize; }
72
set {
TraceInternal
.IndentSize = value; }
81
TraceInternal
.Flush();
91
TraceInternal
.Close();
99
TraceInternal
.Assert(condition);
108
TraceInternal
.Assert(condition, message);
117
TraceInternal
.Assert(condition, message, detailMessage);
126
TraceInternal
.Assert(condition, message, String.Format(CultureInfo.InvariantCulture, detailMessageFormat, args));
134
TraceInternal
.Fail(message);
142
TraceInternal
.Fail(message, detailMessage);
147
TraceInternal
.WriteLine(message);
152
TraceInternal
.WriteLine(String.Format(CultureInfo.InvariantCulture, format, args));
160
TraceInternal
.Write(message);
169
TraceInternal
.Write(value);
178
TraceInternal
.Write(message, category);
187
TraceInternal
.Write(value, category);
197
TraceInternal
.WriteLine(message);
208
TraceInternal
.WriteLine(value);
218
TraceInternal
.WriteLine(message, category);
229
TraceInternal
.WriteLine(value, category);
240
TraceInternal
.WriteLine(String.Format(CultureInfo.InvariantCulture, format, args));
250
TraceInternal
.WriteIf(condition, message);
261
TraceInternal
.WriteIf(condition, value);
272
TraceInternal
.WriteIf(condition, message, category);
283
TraceInternal
.WriteIf(condition, value, category);
294
TraceInternal
.WriteLineIf(condition, message);
306
TraceInternal
.WriteLineIf(condition, value);
318
TraceInternal
.WriteLineIf(condition, message, category);
329
TraceInternal
.WriteLineIf(condition, value, category);
337
TraceInternal
.Indent();
345
TraceInternal
.Unindent();
compmod\system\diagnostics\DiagnosticsConfiguration.cs (1)
195
lock (
TraceInternal
.critSec) {
compmod\system\diagnostics\Switch.cs (3)
132
lock (
TraceInternal
.critSec) {
176
lock (
TraceInternal
.critSec) {
278
lock (
TraceInternal
.critSec) {
compmod\system\diagnostics\Trace.cs (41)
36
return
TraceInternal
.Listeners;
48
return
TraceInternal
.AutoFlush;
53
TraceInternal
.AutoFlush = value;
60
return
TraceInternal
.UseGlobalLock;
65
TraceInternal
.UseGlobalLock = value;
83
get { return
TraceInternal
.IndentLevel; }
85
set {
TraceInternal
.IndentLevel = value; }
95
get { return
TraceInternal
.IndentSize; }
97
set {
TraceInternal
.IndentSize = value; }
106
TraceInternal
.Flush();
118
TraceInternal
.Close();
128
TraceInternal
.Assert(condition);
137
TraceInternal
.Assert(condition, message);
146
TraceInternal
.Assert(condition, message, detailMessage);
154
TraceInternal
.Fail(message);
162
TraceInternal
.Fail(message, detailMessage);
169
TraceInternal
.Refresh();
174
TraceInternal
.TraceEvent(TraceEventType.Information, 0, message, null);
179
TraceInternal
.TraceEvent(TraceEventType.Information, 0, format, args);
184
TraceInternal
.TraceEvent(TraceEventType.Warning, 0, message, null);
189
TraceInternal
.TraceEvent(TraceEventType.Warning, 0, format, args);
194
TraceInternal
.TraceEvent(TraceEventType.Error, 0, message, null);
199
TraceInternal
.TraceEvent(TraceEventType.Error, 0, format, args);
208
TraceInternal
.Write(message);
217
TraceInternal
.Write(value);
226
TraceInternal
.Write(message, category);
235
TraceInternal
.Write(value, category);
245
TraceInternal
.WriteLine(message);
254
TraceInternal
.WriteLine(value);
265
TraceInternal
.WriteLine(message, category);
275
TraceInternal
.WriteLine(value, category);
284
TraceInternal
.WriteIf(condition, message);
294
TraceInternal
.WriteIf(condition, value);
303
TraceInternal
.WriteIf(condition, message, category);
313
TraceInternal
.WriteIf(condition, value, category);
324
TraceInternal
.WriteLineIf(condition, message);
336
TraceInternal
.WriteLineIf(condition, value);
346
TraceInternal
.WriteLineIf(condition, message, category);
357
TraceInternal
.WriteLineIf(condition, value, category);
365
TraceInternal
.Indent();
373
TraceInternal
.Unindent();
compmod\system\diagnostics\TraceListeners.cs (9)
69
lock (
TraceInternal
.critSec) {
138
listener.IndentSize =
TraceInternal
.IndentSize;
139
listener.IndentLevel =
TraceInternal
.IndentLevel;
154
lock (
TraceInternal
.critSec) {
182
lock (
TraceInternal
.critSec) {
225
lock (
TraceInternal
.critSec) {
248
lock (
TraceInternal
.critSec) {
255
lock (
TraceInternal
.critSec) {
276
lock (
TraceInternal
.critSec) {
compmod\system\diagnostics\TraceSource.cs (15)
121
lock (
TraceInternal
.critSec) {
132
if (
TraceInternal
.UseGlobalLock) {
133
lock (
TraceInternal
.critSec) {
246
if (
TraceInternal
.UseGlobalLock) {
248
lock (
TraceInternal
.critSec) {
282
if (
TraceInternal
.UseGlobalLock) {
284
lock (
TraceInternal
.critSec) {
318
if (
TraceInternal
.UseGlobalLock) {
320
lock (
TraceInternal
.critSec) {
354
if (
TraceInternal
.UseGlobalLock) {
356
lock (
TraceInternal
.critSec) {
390
if (
TraceInternal
.UseGlobalLock) {
392
lock (
TraceInternal
.critSec) {
438
if (
TraceInternal
.UseGlobalLock) {
440
lock (
TraceInternal
.critSec) {