39 references to ThreadInstance
mscorlib (39)
System\Diagnostics\Eventing\TraceLogging\TraceLoggingDataCollector.cs (34)
36return DataCollector.ThreadInstance.BeginBufferedArray(); 46DataCollector.ThreadInstance.EndBufferedArray(bookmark, count); 66DataCollector.ThreadInstance.AddScalar(&value, sizeof(bool)); 76DataCollector.ThreadInstance.AddScalar(&value, sizeof(sbyte)); 85DataCollector.ThreadInstance.AddScalar(&value, sizeof(byte)); 94DataCollector.ThreadInstance.AddScalar(&value, sizeof(short)); 104DataCollector.ThreadInstance.AddScalar(&value, sizeof(ushort)); 113DataCollector.ThreadInstance.AddScalar(&value, sizeof(int)); 123DataCollector.ThreadInstance.AddScalar(&value, sizeof(uint)); 132DataCollector.ThreadInstance.AddScalar(&value, sizeof(long)); 142DataCollector.ThreadInstance.AddScalar(&value, sizeof(ulong)); 151DataCollector.ThreadInstance.AddScalar(&value, IntPtr.Size); 161DataCollector.ThreadInstance.AddScalar(&value, UIntPtr.Size); 170DataCollector.ThreadInstance.AddScalar(&value, sizeof(float)); 179DataCollector.ThreadInstance.AddScalar(&value, sizeof(double)); 188DataCollector.ThreadInstance.AddScalar(&value, sizeof(char)); 197DataCollector.ThreadInstance.AddScalar(&value, 16); 208DataCollector.ThreadInstance.AddBinary(value, value == null ? 0 : value.Length * 2); 219DataCollector.ThreadInstance.AddBinary(value, value == null ? 0 : value.Length); 230DataCollector.ThreadInstance.AddArray(value, value == null ? 0 : value.Length, sizeof(bool)); 242DataCollector.ThreadInstance.AddArray(value, value == null ? 0 : value.Length, sizeof(sbyte)); 253DataCollector.ThreadInstance.AddArray(value, value == null ? 0 : value.Length, sizeof(short)); 265DataCollector.ThreadInstance.AddArray(value, value == null ? 0 : value.Length, sizeof(ushort)); 276DataCollector.ThreadInstance.AddArray(value, value == null ? 0 : value.Length, sizeof(int)); 288DataCollector.ThreadInstance.AddArray(value, value == null ? 0 : value.Length, sizeof(uint)); 299DataCollector.ThreadInstance.AddArray(value, value == null ? 0 : value.Length, sizeof(long)); 311DataCollector.ThreadInstance.AddArray(value, value == null ? 0 : value.Length, sizeof(ulong)); 322DataCollector.ThreadInstance.AddArray(value, value == null ? 0 : value.Length, IntPtr.Size); 334DataCollector.ThreadInstance.AddArray(value, value == null ? 0 : value.Length, UIntPtr.Size); 345DataCollector.ThreadInstance.AddArray(value, value == null ? 0 : value.Length, sizeof(float)); 356DataCollector.ThreadInstance.AddArray(value, value == null ? 0 : value.Length, sizeof(double)); 367DataCollector.ThreadInstance.AddArray(value, value == null ? 0 : value.Length, sizeof(char)); 378DataCollector.ThreadInstance.AddArray(value, value == null ? 0 : value.Length, 16); 389DataCollector.ThreadInstance.AddArray(value, value == null ? 0 : value.Length, sizeof(byte));
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventSource.cs (5)
449DataCollector.ThreadInstance.Enable( 467(int)(DataCollector.ThreadInstance.Finish() - descriptors), 640DataCollector.ThreadInstance.Enable( 655(int)(DataCollector.ThreadInstance.Finish() - descriptors), 724DataCollector.ThreadInstance.Disable();