220 writes to Size
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\Infrastructure\KestrelEventSource.cs (5)
404Size = (arg1.Length + 1) * sizeof(char) 409Size = (arg2.Length + 1) * sizeof(char) 414Size = (arg3.Length + 1) * sizeof(char) 419Size = (arg4.Length + 1) * sizeof(char) 424Size = (arg5.Length + 1) * sizeof(char)
Microsoft.CodeAnalysis (3)
CodeAnalysisEventSource.Common.cs (3)
196Size = (value.Length + 1) * sizeof(char), 205Size = sizeof(int), 214Size = sizeof(long),
Microsoft.CodeAnalysis.Workspaces (3)
src\Compilers\Core\Portable\CodeAnalysisEventSource.Common.cs (3)
196Size = (value.Length + 1) * sizeof(char), 205Size = sizeof(int), 214Size = sizeof(long),
Microsoft.Extensions.Logging.EventSource (2)
LoggingEventSource.cs (2)
572eventData.Size = checked((str.Length + 1) * sizeof(char)); // size is specified in bytes, including null wide char 578eventData.Size = sizeof(T);
System.Net.Http (32)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.Associate.cs (4)
60Size = ((arg1.Length + 1) * 2) 65Size = ((arg2.Length + 1) * 2) 70Size = ((arg3.Length + 1) * 2) 75Size = ((arg4.Length + 1) * 2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (3)
209Size = (arg1.Length + 1) * sizeof(char) 214Size = (arg2.Length + 1) * sizeof(char) 219Size = sizeof(int)
System\Net\Http\HttpTelemetry.cs (20)
256Size = (arg1.Length + 1) * sizeof(char) 261Size = (arg2.Length + 1) * sizeof(char) 266Size = sizeof(int) 271Size = (arg4.Length + 1) * sizeof(char) 276Size = sizeof(byte) 281Size = sizeof(byte) 286Size = sizeof(HttpVersionPolicy) 304Size = sizeof(double) 309Size = sizeof(byte) 314Size = sizeof(byte) 331Size = sizeof(byte) 336Size = sizeof(byte) 341Size = sizeof(long) 366Size = sizeof(byte) 371Size = sizeof(byte) 376Size = sizeof(long) 381Size = (arg4.Length + 1) * sizeof(char) 386Size = (arg5.Length + 1) * sizeof(char) 391Size = sizeof(int) 396Size = (arg7.Length + 1) * sizeof(char)
System\Net\Http\NetEventSource.Http.cs (5)
94Size = sizeof(int) 99Size = sizeof(int) 104Size = sizeof(int) 109Size = ((arg4.Length + 1) * 2) 114Size = ((arg5.Length + 1) * 2)
System.Net.HttpListener (11)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.Associate.cs (4)
60Size = ((arg1.Length + 1) * 2) 65Size = ((arg2.Length + 1) * 2) 70Size = ((arg3.Length + 1) * 2) 75Size = ((arg4.Length + 1) * 2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (3)
209Size = (arg1.Length + 1) * sizeof(char) 214Size = (arg2.Length + 1) * sizeof(char) 219Size = sizeof(int)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.DumpBuffer.cs (4)
61Size = (arg1.Length + 1) * sizeof(char) 66Size = (arg2.Length + 1) * sizeof(char) 71Size = 4 76Size = bufferLength
System.Net.Mail (7)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.Associate.cs (4)
60Size = ((arg1.Length + 1) * 2) 65Size = ((arg2.Length + 1) * 2) 70Size = ((arg3.Length + 1) * 2) 75Size = ((arg4.Length + 1) * 2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (3)
209Size = (arg1.Length + 1) * sizeof(char) 214Size = (arg2.Length + 1) * sizeof(char) 219Size = sizeof(int)
System.Net.NameResolution (3)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (3)
209Size = (arg1.Length + 1) * sizeof(char) 214Size = (arg2.Length + 1) * sizeof(char) 219Size = sizeof(int)
System.Net.Primitives (3)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (3)
209Size = (arg1.Length + 1) * sizeof(char) 214Size = (arg2.Length + 1) * sizeof(char) 219Size = sizeof(int)
System.Net.Quic (3)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (3)
209Size = (arg1.Length + 1) * sizeof(char) 214Size = (arg2.Length + 1) * sizeof(char) 219Size = sizeof(int)
System.Net.Requests (7)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.Associate.cs (4)
60Size = ((arg1.Length + 1) * 2) 65Size = ((arg2.Length + 1) * 2) 70Size = ((arg3.Length + 1) * 2) 75Size = ((arg4.Length + 1) * 2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (3)
209Size = (arg1.Length + 1) * sizeof(char) 214Size = (arg2.Length + 1) * sizeof(char) 219Size = sizeof(int)
System.Net.Security (20)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (3)
209Size = (arg1.Length + 1) * sizeof(char) 214Size = (arg2.Length + 1) * sizeof(char) 219Size = sizeof(int)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.DumpBuffer.cs (4)
61Size = (arg1.Length + 1) * sizeof(char) 66Size = (arg2.Length + 1) * sizeof(char) 71Size = 4 76Size = bufferLength
System\Net\Security\NetEventSource.Security.cs (8)
301Size = (arg1.Length + 1) * sizeof(char) 306Size = sizeof(int) 311Size = sizeof(int) 316Size = sizeof(int) 321Size = sizeof(int) 326Size = sizeof(int) 331Size = sizeof(int) 336Size = sizeof(int)
System\Net\Security\NetSecurityTelemetry.cs (5)
271Size = sizeof(int) // EventSource defines bool as a 32-bit type 276Size = (arg2.Length + 1) * sizeof(char) 298Size = sizeof(int) // EventSource defines bool as a 32-bit type 303Size = sizeof(double) 308Size = (arg3.Length + 1) * sizeof(char)
System.Net.Sockets (7)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (3)
209Size = (arg1.Length + 1) * sizeof(char) 214Size = (arg2.Length + 1) * sizeof(char) 219Size = sizeof(int)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.DumpBuffer.cs (4)
61Size = (arg1.Length + 1) * sizeof(char) 66Size = (arg2.Length + 1) * sizeof(char) 71Size = 4 76Size = bufferLength
System.Net.WebSockets (14)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.Associate.cs (4)
60Size = ((arg1.Length + 1) * 2) 65Size = ((arg2.Length + 1) * 2) 70Size = ((arg3.Length + 1) * 2) 75Size = ((arg4.Length + 1) * 2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (3)
209Size = (arg1.Length + 1) * sizeof(char) 214Size = (arg2.Length + 1) * sizeof(char) 219Size = sizeof(int)
System\Net\WebSockets\NetEventSource.WebSockets.cs (7)
219Size = (arg1.Length + 1) * sizeof(char) 224Size = (arg2.Length + 1) * sizeof(char) 229Size = sizeof(long) 251Size = (arg1.Length + 1) * sizeof(char) 256Size = (arg2.Length + 1) * sizeof(char) 261Size = (arg3.Length + 1) * sizeof(char) 266Size = sizeof(int)
System.Private.CoreLib (83)
src\libraries\System.Private.CoreLib\src\System\Buffers\ArrayPoolEventSource.cs (14)
57payload[0].Size = sizeof(int); 60payload[1].Size = sizeof(int); 63payload[2].Size = sizeof(int); 66payload[3].Size = sizeof(int); 83payload[0].Size = sizeof(int); 86payload[1].Size = sizeof(int); 89payload[2].Size = sizeof(int); 92payload[3].Size = sizeof(int); 95payload[4].Size = sizeof(BufferAllocatedReason); 132payload[0].Size = sizeof(int); 135payload[1].Size = sizeof(int); 138payload[2].Size = sizeof(int); 141payload[3].Size = sizeof(int); 144payload[4].Size = sizeof(BufferDroppedReason);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (38)
843descrs[0].Size = 4; 857descrs[0].Size = 4; 860descrs[1].Size = 4; 874descrs[0].Size = 4; 877descrs[1].Size = 4; 880descrs[2].Size = 4; 895descrs[0].Size = 8; 909descrs[0].Size = 8; 912descrs[1].Size = 8; 926descrs[0].Size = 8; 929descrs[1].Size = 8; 932descrs[2].Size = 8; 950descrs[0].Size = ((arg1.Length + 1) * 2); 970descrs[0].Size = ((arg1.Length + 1) * 2); 973descrs[1].Size = ((arg2.Length + 1) * 2); 995descrs[0].Size = ((arg1.Length + 1) * 2); 998descrs[1].Size = ((arg2.Length + 1) * 2); 1001descrs[2].Size = ((arg3.Length + 1) * 2); 1020descrs[0].Size = ((arg1.Length + 1) * 2); 1023descrs[1].Size = 4; 1041descrs[0].Size = ((arg1.Length + 1) * 2); 1044descrs[1].Size = 4; 1047descrs[2].Size = 4; 1066descrs[0].Size = ((arg1.Length + 1) * 2); 1069descrs[1].Size = 8; 1088descrs[0].Size = 8; 1091descrs[1].Size = ((arg2.Length + 1) * 2); 1110descrs[0].Size = 4; 1113descrs[1].Size = ((arg2.Length + 1) * 2); 1131descrs[0].Size = 4; 1134descrs[1].Size = 0; 1144descrs[0].Size = 4; 1147descrs[1].Size = blobSize; 1163descrs[0].Size = 8; 1169descrs[1].Size = 4; 1172descrs[2].Size = 0; 1182descrs[1].Size = 4; 1185descrs[2].Size = blobSize;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\FrameworkEventSource.cs (9)
50descrs[0].Size = 8; 53descrs[1].Size = 4; 56descrs[2].Size = ((arg3.Length + 1) * 2); 59descrs[3].Size = 4; 62descrs[4].Size = 4; 65descrs[5].Size = 4; 85descrs[0].Size = 8; 88descrs[1].Size = 4; 91descrs[2].Size = ((arg3.Length + 1) * 2);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TplEventSource.cs (22)
202eventPayload[0].Size = sizeof(int); 205eventPayload[1].Size = sizeof(int); 208eventPayload[2].Size = sizeof(int); 211eventPayload[3].Size = sizeof(int); 214eventPayload[4].Size = sizeof(int); 217eventPayload[5].Size = sizeof(int); 274eventPayload[0].Size = sizeof(int); 277eventPayload[1].Size = sizeof(int); 280eventPayload[2].Size = sizeof(int); 283eventPayload[3].Size = sizeof(int); 318eventPayload[0].Size = sizeof(int); 321eventPayload[1].Size = sizeof(int); 324eventPayload[2].Size = sizeof(int); 327eventPayload[3].Size = sizeof(int); 330eventPayload[4].Size = sizeof(int); 410eventPayload[0].Size = sizeof(int); 413eventPayload[1].Size = sizeof(int); 416eventPayload[2].Size = sizeof(int); 443eventPayload[0].Size = sizeof(int); 447eventPayload[1].Size = ((OperationName.Length + 1) * 2); 451eventPayload[2].Size = sizeof(long); 495eventPayload[0].Size = sizeof(int);
System.Threading (2)
System\Threading\CDSsyncETWBCLProvider.cs (2)
79Size = sizeof(int), 84Size = sizeof(long),
System.Threading.Tasks.Parallel (15)
System\Threading\Tasks\ParallelETWProvider.cs (15)
121Size = sizeof(int), 126Size = sizeof(int), 131Size = sizeof(int), 136Size = sizeof(int), 141Size = sizeof(long), 146Size = sizeof(long), 181Size = sizeof(int), 186Size = sizeof(int), 191Size = sizeof(int), 196Size = sizeof(long), 231Size = sizeof(int), 236Size = sizeof(int), 241Size = sizeof(int), 246Size = sizeof(int), 251Size = sizeof(int),
11 references to Size
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (11)
1790Debug.Assert(data->Size == 4); 1796int size = data->Size; 1822Debug.Assert(*(int*)dataPointer == (data + 1)->Size); 1921if (data->Size == 0) 1927var blob = new byte[data->Size]; 1936decoded = dataPointer == IntPtr.Zero ? null : new string((char*)dataPointer, 0, (data->Size >> 1) - 1); 1946Debug.Assert(data->Size >= 0 && data->Size % 2 == 0, "String size should be even"); 1948int charLength = data->Size / 2 - 1; 2157args[i] = dataPointer == IntPtr.Zero ? null : new string((char*)dataPointer, 0, (data->Size >> 1) - 1); 2164Debug.Assert(data->Size == 4);