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)
197Size = (value.Length + 1) * sizeof(char), 206Size = sizeof(int), 215Size = sizeof(long),
Microsoft.CodeAnalysis.Workspaces (3)
src\Compilers\Core\Portable\CodeAnalysisEventSource.Common.cs (3)
197Size = (value.Length + 1) * sizeof(char), 206Size = sizeof(int), 215Size = sizeof(long),
Microsoft.Extensions.Logging.EventSource (2)
LoggingEventSource.cs (2)
575eventData.Size = checked((str.Length + 1) * sizeof(char)); // size is specified in bytes, including null wide char 581eventData.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)
203Size = (arg1.Length + 1) * sizeof(char) 208Size = (arg2.Length + 1) * sizeof(char) 213Size = 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)
203Size = (arg1.Length + 1) * sizeof(char) 208Size = (arg2.Length + 1) * sizeof(char) 213Size = 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)
203Size = (arg1.Length + 1) * sizeof(char) 208Size = (arg2.Length + 1) * sizeof(char) 213Size = sizeof(int)
System.Net.NameResolution (3)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (3)
203Size = (arg1.Length + 1) * sizeof(char) 208Size = (arg2.Length + 1) * sizeof(char) 213Size = sizeof(int)
System.Net.Primitives (3)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (3)
203Size = (arg1.Length + 1) * sizeof(char) 208Size = (arg2.Length + 1) * sizeof(char) 213Size = sizeof(int)
System.Net.Quic (3)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (3)
203Size = (arg1.Length + 1) * sizeof(char) 208Size = (arg2.Length + 1) * sizeof(char) 213Size = 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)
203Size = (arg1.Length + 1) * sizeof(char) 208Size = (arg2.Length + 1) * sizeof(char) 213Size = sizeof(int)
System.Net.Security (20)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (3)
203Size = (arg1.Length + 1) * sizeof(char) 208Size = (arg2.Length + 1) * sizeof(char) 213Size = 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)
203Size = (arg1.Length + 1) * sizeof(char) 208Size = (arg2.Length + 1) * sizeof(char) 213Size = 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)
203Size = (arg1.Length + 1) * sizeof(char) 208Size = (arg2.Length + 1) * sizeof(char) 213Size = 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)
52payload[0].Size = sizeof(int); 55payload[1].Size = sizeof(int); 58payload[2].Size = sizeof(int); 61payload[3].Size = sizeof(int); 78payload[0].Size = sizeof(int); 81payload[1].Size = sizeof(int); 84payload[2].Size = sizeof(int); 87payload[3].Size = sizeof(int); 90payload[4].Size = sizeof(BufferAllocatedReason); 127payload[0].Size = sizeof(int); 130payload[1].Size = sizeof(int); 133payload[2].Size = sizeof(int); 136payload[3].Size = sizeof(int); 139payload[4].Size = sizeof(BufferDroppedReason);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (38)
832descrs[0].Size = 4; 846descrs[0].Size = 4; 849descrs[1].Size = 4; 863descrs[0].Size = 4; 866descrs[1].Size = 4; 869descrs[2].Size = 4; 884descrs[0].Size = 8; 898descrs[0].Size = 8; 901descrs[1].Size = 8; 915descrs[0].Size = 8; 918descrs[1].Size = 8; 921descrs[2].Size = 8; 939descrs[0].Size = ((arg1.Length + 1) * 2); 959descrs[0].Size = ((arg1.Length + 1) * 2); 962descrs[1].Size = ((arg2.Length + 1) * 2); 984descrs[0].Size = ((arg1.Length + 1) * 2); 987descrs[1].Size = ((arg2.Length + 1) * 2); 990descrs[2].Size = ((arg3.Length + 1) * 2); 1009descrs[0].Size = ((arg1.Length + 1) * 2); 1012descrs[1].Size = 4; 1030descrs[0].Size = ((arg1.Length + 1) * 2); 1033descrs[1].Size = 4; 1036descrs[2].Size = 4; 1055descrs[0].Size = ((arg1.Length + 1) * 2); 1058descrs[1].Size = 8; 1077descrs[0].Size = 8; 1080descrs[1].Size = ((arg2.Length + 1) * 2); 1099descrs[0].Size = 4; 1102descrs[1].Size = ((arg2.Length + 1) * 2); 1120descrs[0].Size = 4; 1123descrs[1].Size = 0; 1133descrs[0].Size = 4; 1136descrs[1].Size = blobSize; 1152descrs[0].Size = 8; 1158descrs[1].Size = 4; 1161descrs[2].Size = 0; 1171descrs[1].Size = 4; 1174descrs[2].Size = blobSize;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\FrameworkEventSource.cs (9)
45descrs[0].Size = 8; 48descrs[1].Size = 4; 51descrs[2].Size = ((arg3.Length + 1) * 2); 54descrs[3].Size = 4; 57descrs[4].Size = 4; 60descrs[5].Size = 4; 80descrs[0].Size = 8; 83descrs[1].Size = 4; 86descrs[2].Size = ((arg3.Length + 1) * 2);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TplEventSource.cs (22)
197eventPayload[0].Size = sizeof(int); 200eventPayload[1].Size = sizeof(int); 203eventPayload[2].Size = sizeof(int); 206eventPayload[3].Size = sizeof(int); 209eventPayload[4].Size = sizeof(int); 212eventPayload[5].Size = sizeof(int); 269eventPayload[0].Size = sizeof(int); 272eventPayload[1].Size = sizeof(int); 275eventPayload[2].Size = sizeof(int); 278eventPayload[3].Size = sizeof(int); 313eventPayload[0].Size = sizeof(int); 316eventPayload[1].Size = sizeof(int); 319eventPayload[2].Size = sizeof(int); 322eventPayload[3].Size = sizeof(int); 325eventPayload[4].Size = sizeof(int); 405eventPayload[0].Size = sizeof(int); 408eventPayload[1].Size = sizeof(int); 411eventPayload[2].Size = sizeof(int); 438eventPayload[0].Size = sizeof(int); 442eventPayload[1].Size = ((OperationName.Length + 1) * 2); 446eventPayload[2].Size = sizeof(long); 490eventPayload[0].Size = sizeof(int);
System.Threading (2)
System\Threading\CDSsyncETWBCLProvider.cs (2)
76Size = sizeof(int), 81Size = sizeof(long),
System.Threading.Tasks.Parallel (15)
System\Threading\Tasks\ParallelETWProvider.cs (15)
118Size = sizeof(int), 123Size = sizeof(int), 128Size = sizeof(int), 133Size = sizeof(int), 138Size = sizeof(long), 143Size = sizeof(long), 178Size = sizeof(int), 183Size = sizeof(int), 188Size = sizeof(int), 193Size = sizeof(long), 228Size = sizeof(int), 233Size = sizeof(int), 238Size = sizeof(int), 243Size = sizeof(int), 248Size = sizeof(int),
11 references to Size
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (11)
1804Debug.Assert(data->Size == 4); 1810int size = data->Size; 1836Debug.Assert(*(int*)dataPointer == (data + 1)->Size); 1935if (data->Size == 0) 1941var blob = new byte[data->Size]; 1950decoded = dataPointer == IntPtr.Zero ? null : new string((char*)dataPointer, 0, (data->Size >> 1) - 1); 1960Debug.Assert(data->Size >= 0 && data->Size % 2 == 0, "String size should be even"); 1962int charLength = data->Size / 2 - 1; 2176args[i] = dataPointer == IntPtr.Zero ? null : new string((char*)dataPointer, 0, (data->Size >> 1) - 1); 2183Debug.Assert(data->Size == 4);