223 writes to Size
System.ServiceModel.Internals (223)
System\Runtime\Diagnostics\DiagnosticEventProvider.cs (20)
254
dataDescriptor->
Size
= (uint)((sRet.Length + 1) * 2);
260
dataDescriptor->
Size
= (uint)sizeof(IntPtr);
267
dataDescriptor->
Size
= (uint)sizeof(int);
274
dataDescriptor->
Size
= (uint)sizeof(long);
281
dataDescriptor->
Size
= (uint)sizeof(uint);
288
dataDescriptor->
Size
= (uint)sizeof(ulong);
295
dataDescriptor->
Size
= (uint)sizeof(char);
302
dataDescriptor->
Size
= (uint)sizeof(byte);
309
dataDescriptor->
Size
= (uint)sizeof(short);
316
dataDescriptor->
Size
= (uint)sizeof(sbyte);
323
dataDescriptor->
Size
= (uint)sizeof(ushort);
330
dataDescriptor->
Size
= (uint)sizeof(float);
337
dataDescriptor->
Size
= (uint)sizeof(double);
344
dataDescriptor->
Size
= (uint)sizeof(bool);
351
dataDescriptor->
Size
= (uint)sizeof(Guid);
358
dataDescriptor->
Size
= (uint)sizeof(decimal);
365
dataDescriptor->
Size
= (uint)sizeof(Boolean);
374
dataDescriptor->
Size
= (uint)((sRet.Length + 1) * 2);
477
userData.
Size
= 0;
667
userData.
Size
= (uint)((data.Length + 1) * 2);
System\Runtime\Diagnostics\EtwProvider.cs (203)
79
eventDataPtr[0].
Size
= (uint)(sizeof(Guid));
82
eventDataPtr[1].
Size
= (uint)(value2.Length + 1) * sizeof(char);
85
eventDataPtr[2].
Size
= (uint)(value3.Length + 1) * sizeof(char);
110
eventDataPtr[0].
Size
= (uint)(value1.Length + 1) * sizeof(char);
113
eventDataPtr[1].
Size
= (uint)(value2.Length + 1) * sizeof(char);
138
eventDataPtr[0].
Size
= (uint)(value1.Length + 1) * sizeof(char);
141
eventDataPtr[1].
Size
= (uint)(value2.Length + 1) * sizeof(char);
167
eventDataPtr[0].
Size
= (uint)(value1.Length + 1) * sizeof(char);
170
eventDataPtr[1].
Size
= (uint)(value2.Length + 1) * sizeof(char);
173
eventDataPtr[2].
Size
= (uint)(value3.Length + 1) * sizeof(char);
200
eventDataPtr[0].
Size
= (uint)(value1.Length + 1) * sizeof(char);
203
eventDataPtr[1].
Size
= (uint)(value2.Length + 1) * sizeof(char);
206
eventDataPtr[2].
Size
= (uint)(value3.Length + 1) * sizeof(char);
209
eventDataPtr[3].
Size
= (uint)(value4.Length + 1) * sizeof(char);
238
eventDataPtr[0].
Size
= (uint)(value1.Length + 1) * sizeof(char);
241
eventDataPtr[1].
Size
= (uint)(value2.Length + 1) * sizeof(char);
244
eventDataPtr[2].
Size
= (uint)(value3.Length + 1) * sizeof(char);
247
eventDataPtr[3].
Size
= (uint)(value4.Length + 1) * sizeof(char);
250
eventDataPtr[4].
Size
= (uint)(value5.Length + 1) * sizeof(char);
280
eventDataPtr[0].
Size
= (uint)(value1.Length + 1) * sizeof(char);
283
eventDataPtr[1].
Size
= (uint)(value2.Length + 1) * sizeof(char);
286
eventDataPtr[2].
Size
= (uint)(value3.Length + 1) * sizeof(char);
289
eventDataPtr[3].
Size
= (uint)(value4.Length + 1) * sizeof(char);
292
eventDataPtr[4].
Size
= (uint)(value5.Length + 1) * sizeof(char);
295
eventDataPtr[5].
Size
= (uint)(value6.Length + 1) * sizeof(char);
327
eventDataPtr[0].
Size
= (uint)(value1.Length + 1) * sizeof(char);
330
eventDataPtr[1].
Size
= (uint)(value2.Length + 1) * sizeof(char);
333
eventDataPtr[2].
Size
= (uint)(value3.Length + 1) * sizeof(char);
336
eventDataPtr[3].
Size
= (uint)(value4.Length + 1) * sizeof(char);
339
eventDataPtr[4].
Size
= (uint)(value5.Length + 1) * sizeof(char);
342
eventDataPtr[5].
Size
= (uint)(value6.Length + 1) * sizeof(char);
345
eventDataPtr[6].
Size
= (uint)(value7.Length + 1) * sizeof(char);
378
eventDataPtr[0].
Size
= (uint)(value1.Length + 1) * sizeof(char);
381
eventDataPtr[1].
Size
= (uint)(value2.Length + 1) * sizeof(char);
384
eventDataPtr[2].
Size
= (uint)(value3.Length + 1) * sizeof(char);
387
eventDataPtr[3].
Size
= (uint)(value4.Length + 1) * sizeof(char);
390
eventDataPtr[4].
Size
= (uint)(value5.Length + 1) * sizeof(char);
393
eventDataPtr[5].
Size
= (uint)(value6.Length + 1) * sizeof(char);
396
eventDataPtr[6].
Size
= (uint)(value7.Length + 1) * sizeof(char);
399
eventDataPtr[7].
Size
= (uint)(value8.Length + 1) * sizeof(char);
433
eventDataPtr[0].
Size
= (uint)(value1.Length + 1) * sizeof(char);
436
eventDataPtr[1].
Size
= (uint)(value2.Length + 1) * sizeof(char);
439
eventDataPtr[2].
Size
= (uint)(value3.Length + 1) * sizeof(char);
442
eventDataPtr[3].
Size
= (uint)(value4.Length + 1) * sizeof(char);
445
eventDataPtr[4].
Size
= (uint)(value5.Length + 1) * sizeof(char);
448
eventDataPtr[5].
Size
= (uint)(value6.Length + 1) * sizeof(char);
451
eventDataPtr[6].
Size
= (uint)(value7.Length + 1) * sizeof(char);
454
eventDataPtr[7].
Size
= (uint)(value8.Length + 1) * sizeof(char);
457
eventDataPtr[8].
Size
= (uint)(value9.Length + 1) * sizeof(char);
492
eventDataPtr[0].
Size
= (uint)(value1.Length + 1) * sizeof(char);
495
eventDataPtr[1].
Size
= (uint)(value2.Length + 1) * sizeof(char);
498
eventDataPtr[2].
Size
= (uint)(value3.Length + 1) * sizeof(char);
501
eventDataPtr[3].
Size
= (uint)(value4.Length + 1) * sizeof(char);
504
eventDataPtr[4].
Size
= (uint)(value5.Length + 1) * sizeof(char);
507
eventDataPtr[5].
Size
= (uint)(value6.Length + 1) * sizeof(char);
510
eventDataPtr[6].
Size
= (uint)(value7.Length + 1) * sizeof(char);
513
eventDataPtr[7].
Size
= (uint)(value8.Length + 1) * sizeof(char);
516
eventDataPtr[8].
Size
= (uint)(value9.Length + 1) * sizeof(char);
519
eventDataPtr[9].
Size
= (uint)(value10.Length + 1) * sizeof(char);
555
eventDataPtr[0].
Size
= (uint)(value1.Length + 1) * sizeof(char);
558
eventDataPtr[1].
Size
= (uint)(value2.Length + 1) * sizeof(char);
561
eventDataPtr[2].
Size
= (uint)(value3.Length + 1) * sizeof(char);
564
eventDataPtr[3].
Size
= (uint)(value4.Length + 1) * sizeof(char);
567
eventDataPtr[4].
Size
= (uint)(value5.Length + 1) * sizeof(char);
570
eventDataPtr[5].
Size
= (uint)(value6.Length + 1) * sizeof(char);
573
eventDataPtr[6].
Size
= (uint)(value7.Length + 1) * sizeof(char);
576
eventDataPtr[7].
Size
= (uint)(value8.Length + 1) * sizeof(char);
579
eventDataPtr[8].
Size
= (uint)(value9.Length + 1) * sizeof(char);
582
eventDataPtr[9].
Size
= (uint)(value10.Length + 1) * sizeof(char);
585
eventDataPtr[10].
Size
= (uint)(value11.Length + 1) * sizeof(char);
622
eventDataPtr[0].
Size
= (uint)(value1.Length + 1) * sizeof(char);
625
eventDataPtr[1].
Size
= (uint)(value2.Length + 1) * sizeof(char);
628
eventDataPtr[2].
Size
= (uint)(value3.Length + 1) * sizeof(char);
631
eventDataPtr[3].
Size
= (uint)(value4.Length + 1) * sizeof(char);
634
eventDataPtr[4].
Size
= (uint)(value5.Length + 1) * sizeof(char);
637
eventDataPtr[5].
Size
= (uint)(value6.Length + 1) * sizeof(char);
640
eventDataPtr[6].
Size
= (uint)(value7.Length + 1) * sizeof(char);
643
eventDataPtr[7].
Size
= (uint)(value8.Length + 1) * sizeof(char);
646
eventDataPtr[8].
Size
= (uint)(value9.Length + 1) * sizeof(char);
649
eventDataPtr[9].
Size
= (uint)(value10.Length + 1) * sizeof(char);
652
eventDataPtr[10].
Size
= (uint)(value11.Length + 1) * sizeof(char);
655
eventDataPtr[11].
Size
= (uint)(value12.Length + 1) * sizeof(char);
693
eventDataPtr[0].
Size
= (uint)(value1.Length + 1) * sizeof(char);
696
eventDataPtr[1].
Size
= (uint)(value2.Length + 1) * sizeof(char);
699
eventDataPtr[2].
Size
= (uint)(value3.Length + 1) * sizeof(char);
702
eventDataPtr[3].
Size
= (uint)(value4.Length + 1) * sizeof(char);
705
eventDataPtr[4].
Size
= (uint)(value5.Length + 1) * sizeof(char);
708
eventDataPtr[5].
Size
= (uint)(value6.Length + 1) * sizeof(char);
711
eventDataPtr[6].
Size
= (uint)(value7.Length + 1) * sizeof(char);
714
eventDataPtr[7].
Size
= (uint)(value8.Length + 1) * sizeof(char);
717
eventDataPtr[8].
Size
= (uint)(value9.Length + 1) * sizeof(char);
720
eventDataPtr[9].
Size
= (uint)(value10.Length + 1) * sizeof(char);
723
eventDataPtr[10].
Size
= (uint)(value11.Length + 1) * sizeof(char);
726
eventDataPtr[11].
Size
= (uint)(value12.Length + 1) * sizeof(char);
729
eventDataPtr[12].
Size
= (uint)(value13.Length + 1) * sizeof(char);
749
eventDataPtr[0].
Size
= (uint)(sizeof(int));
769
eventDataPtr[0].
Size
= (uint)(sizeof(int));
772
eventDataPtr[1].
Size
= (uint)(sizeof(int));
792
eventDataPtr[0].
Size
= (uint)(sizeof(int));
795
eventDataPtr[1].
Size
= (uint)(sizeof(int));
798
eventDataPtr[2].
Size
= (uint)(sizeof(int));
818
eventDataPtr[0].
Size
= (uint)(sizeof(long));
838
eventDataPtr[0].
Size
= (uint)(sizeof(long));
841
eventDataPtr[1].
Size
= (uint)(sizeof(long));
861
eventDataPtr[0].
Size
= (uint)(sizeof(long));
864
eventDataPtr[1].
Size
= (uint)(sizeof(long));
867
eventDataPtr[2].
Size
= (uint)(sizeof(long));
906
eventDataPtr[0].
Size
= (uint)(sizeof(Guid));
909
eventDataPtr[1].
Size
= (uint)(sizeof(long));
912
eventDataPtr[2].
Size
= (uint)(sizeof(long));
915
eventDataPtr[3].
Size
= (uint)(value4.Length + 1) * sizeof(char);
918
eventDataPtr[4].
Size
= (uint)(value5.Length + 1) * sizeof(char);
921
eventDataPtr[5].
Size
= (uint)(value6.Length + 1) * sizeof(char);
924
eventDataPtr[6].
Size
= (uint)(value7.Length + 1) * sizeof(char);
927
eventDataPtr[7].
Size
= (uint)(value8.Length + 1) * sizeof(char);
930
eventDataPtr[8].
Size
= (uint)(value9.Length + 1) * sizeof(char);
933
eventDataPtr[9].
Size
= (uint)(value10.Length + 1) * sizeof(char);
936
eventDataPtr[10].
Size
= (uint)(value11.Length + 1) * sizeof(char);
939
eventDataPtr[11].
Size
= (uint)(value12.Length + 1) * sizeof(char);
942
eventDataPtr[12].
Size
= (uint)(value13.Length + 1) * sizeof(char);
945
eventDataPtr[13].
Size
= (uint)(value14.Length + 1) * sizeof(char);
948
eventDataPtr[14].
Size
= (uint)(value15.Length + 1) * sizeof(char);
990
eventDataPtr[0].
Size
= (uint)(sizeof(Guid));
993
eventDataPtr[1].
Size
= (uint)(sizeof(long));
996
eventDataPtr[2].
Size
= (uint)(sizeof(long));
999
eventDataPtr[3].
Size
= (uint)(value4.Length + 1) * sizeof(char);
1002
eventDataPtr[4].
Size
= (uint)(value5.Length + 1) * sizeof(char);
1005
eventDataPtr[5].
Size
= (uint)(value6.Length + 1) * sizeof(char);
1008
eventDataPtr[6].
Size
= (uint)(value7.Length + 1) * sizeof(char);
1011
eventDataPtr[7].
Size
= (uint)(value8.Length + 1) * sizeof(char);
1014
eventDataPtr[8].
Size
= (uint)(value9.Length + 1) * sizeof(char);
1017
eventDataPtr[9].
Size
= (uint)(value10.Length + 1) * sizeof(char);
1020
eventDataPtr[10].
Size
= (uint)(value11.Length + 1) * sizeof(char);
1023
eventDataPtr[11].
Size
= (uint)(value12.Length + 1) * sizeof(char);
1026
eventDataPtr[12].
Size
= (uint)(sizeof(bool));
1029
eventDataPtr[13].
Size
= (uint)(value14.Length + 1) * sizeof(char);
1032
eventDataPtr[14].
Size
= (uint)(value15.Length + 1) * sizeof(char);
1035
eventDataPtr[15].
Size
= (uint)(value16.Length + 1) * sizeof(char);
1038
eventDataPtr[16].
Size
= (uint)(value17.Length + 1) * sizeof(char);
1070
eventDataPtr[0].
Size
= (uint)(sizeof(Guid));
1073
eventDataPtr[1].
Size
= (uint)(sizeof(long));
1076
eventDataPtr[2].
Size
= (uint)(sizeof(long));
1079
eventDataPtr[3].
Size
= (uint)(value4.Length + 1) * sizeof(char);
1082
eventDataPtr[4].
Size
= (uint)(value5.Length + 1) * sizeof(char);
1085
eventDataPtr[5].
Size
= (uint)(value6.Length + 1) * sizeof(char);
1088
eventDataPtr[6].
Size
= (uint)(value7.Length + 1) * sizeof(char);
1091
eventDataPtr[7].
Size
= (uint)(value8.Length + 1) * sizeof(char);
1094
eventDataPtr[8].
Size
= (uint)(value9.Length + 1) * sizeof(char);
1127
eventDataPtr[0].
Size
= (uint)(sizeof(Guid));
1130
eventDataPtr[1].
Size
= (uint)(sizeof(long));
1133
eventDataPtr[2].
Size
= (uint)(sizeof(long));
1136
eventDataPtr[3].
Size
= (uint)(value4.Length + 1) * sizeof(char);
1139
eventDataPtr[4].
Size
= (uint)(value5.Length + 1) * sizeof(char);
1142
eventDataPtr[5].
Size
= (uint)(value6.Length + 1) * sizeof(char);
1145
eventDataPtr[6].
Size
= (uint)(value7.Length + 1) * sizeof(char);
1148
eventDataPtr[7].
Size
= (uint)(value8.Length + 1) * sizeof(char);
1151
eventDataPtr[8].
Size
= (uint)(value9.Length + 1) * sizeof(char);
1154
eventDataPtr[9].
Size
= (uint)(value10.Length + 1) * sizeof(char);
1157
eventDataPtr[10].
Size
= (uint)(value11.Length + 1) * sizeof(char);
1192
eventDataPtr[0].
Size
= (uint)(sizeof(Guid));
1195
eventDataPtr[1].
Size
= (uint)(sizeof(long));
1198
eventDataPtr[2].
Size
= (uint)(sizeof(long));
1201
eventDataPtr[3].
Size
= (uint)(value4.Length + 1) * sizeof(char);
1204
eventDataPtr[4].
Size
= (uint)(value5.Length + 1) * sizeof(char);
1207
eventDataPtr[5].
Size
= (uint)(value6.Length + 1) * sizeof(char);
1210
eventDataPtr[6].
Size
= (uint)(value7.Length + 1) * sizeof(char);
1213
eventDataPtr[7].
Size
= (uint)(value8.Length + 1) * sizeof(char);
1216
eventDataPtr[8].
Size
= (uint)(value9.Length + 1) * sizeof(char);
1219
eventDataPtr[9].
Size
= (uint)(value10.Length + 1) * sizeof(char);
1222
eventDataPtr[10].
Size
= (uint)(value11.Length + 1) * sizeof(char);
1225
eventDataPtr[11].
Size
= (uint)(value12.Length + 1) * sizeof(char);
1228
eventDataPtr[12].
Size
= (uint)(value13.Length + 1) * sizeof(char);
1264
eventDataPtr[0].
Size
= (uint)(sizeof(Guid));
1267
eventDataPtr[1].
Size
= (uint)(sizeof(long));
1270
eventDataPtr[2].
Size
= (uint)(sizeof(long));
1273
eventDataPtr[3].
Size
= (uint)(value4.Length + 1) * sizeof(char);
1276
eventDataPtr[4].
Size
= (uint)(value5.Length + 1) * sizeof(char);
1279
eventDataPtr[5].
Size
= (uint)(value6.Length + 1) * sizeof(char);
1282
eventDataPtr[6].
Size
= (uint)(value7.Length + 1) * sizeof(char);
1285
eventDataPtr[7].
Size
= (uint)(value8.Length + 1) * sizeof(char);
1288
eventDataPtr[8].
Size
= (uint)(value9.Length + 1) * sizeof(char);
1291
eventDataPtr[9].
Size
= (uint)(value10.Length + 1) * sizeof(char);
1294
eventDataPtr[10].
Size
= (uint)(value11.Length + 1) * sizeof(char);
1297
eventDataPtr[11].
Size
= (uint)(value12.Length + 1) * sizeof(char);
1300
eventDataPtr[12].
Size
= (uint)(value13.Length + 1) * sizeof(char);
1303
eventDataPtr[13].
Size
= (uint)(value14.Length + 1) * sizeof(char);
1338
eventDataPtr[0].
Size
= (uint)(sizeof(Guid));
1341
eventDataPtr[1].
Size
= (uint)(sizeof(long));
1344
eventDataPtr[2].
Size
= (uint)(sizeof(long));
1347
eventDataPtr[3].
Size
= (uint)(value4.Length + 1) * sizeof(char);
1350
eventDataPtr[4].
Size
= (uint)(sizeof(Guid));
1353
eventDataPtr[5].
Size
= (uint)(value6.Length + 1) * sizeof(char);
1356
eventDataPtr[6].
Size
= (uint)(value7.Length + 1) * sizeof(char);
1359
eventDataPtr[7].
Size
= (uint)(value8.Length + 1) * sizeof(char);
1362
eventDataPtr[8].
Size
= (uint)(value9.Length + 1) * sizeof(char);
1365
eventDataPtr[9].
Size
= (uint)(value10.Length + 1) * sizeof(char);
1368
eventDataPtr[10].
Size
= (uint)(value11.Length + 1) * sizeof(char);
1371
eventDataPtr[11].
Size
= (uint)(value12.Length + 1) * sizeof(char);
1374
eventDataPtr[12].
Size
= (uint)(value13.Length + 1) * sizeof(char);
1401
eventDataPtr[0].
Size
= (uint)(value1.Length + 1) * sizeof(char);
1404
eventDataPtr[1].
Size
= (uint)(sizeof(long));
1407
eventDataPtr[2].
Size
= (uint)(value3.Length + 1) * sizeof(char);
1410
eventDataPtr[3].
Size
= (uint)(value4.Length + 1) * sizeof(char);
3 references to Size
System.ServiceModel.Internals (3)
System\Runtime\Diagnostics\DiagnosticEventProvider.cs (3)
487
if (userData.
Size
> traceEventMaximumSize)
554
totalEventSize += userDataPtr->
Size
;
781
totalEventSize += userDataPtr->
Size
;