4 writes to headerCount
System.ServiceModel (4)
System\ServiceModel\Channels\MessageHeaders.cs (4)
104
this.
headerCount
= headers.headerCount;
472
headerCount
= 0;
1276
headerCount
++;
1430
headers[--
headerCount
] = new Header();
61 references to headerCount
System.ServiceModel (61)
System\ServiceModel\Channels\MessageHeaders.cs (61)
104
this.headerCount = headers.
headerCount
;
105
this.headers = new Header[
headerCount
];
106
Array.Copy(headers.headers, this.headers,
headerCount
);
161
get { return
headerCount
; }
330
if (index < 0 || index >=
headerCount
)
334
SR.GetString(SR.ValueMustBeInRange, 0,
headerCount
)));
343
Insert(
headerCount
, header);
348
Insert(
headerCount
, actionHeader, HeaderKind.Action);
353
Insert(
headerCount
, messageIDHeader, HeaderKind.MessageId);
358
Insert(
headerCount
, relatesToHeader, HeaderKind.RelatesTo);
363
Insert(
headerCount
, replyToHeader, HeaderKind.ReplyTo);
368
Insert(
headerCount
, toHeader, HeaderKind.To);
373
Insert(
headerCount
, header, kind);
378
InsertHeader(
headerCount
, header);
391
for (int i = 0; i <
headerCount
; i++)
415
for (int i = 0; i <
headerCount
; i++)
470
for (int i = 0; i <
headerCount
; i++)
497
if (headerIndex < 0 || headerIndex >= collection.
headerCount
)
501
SR.GetString(SR.ValueMustBeInRange, 0, collection.
headerCount
)));
535
for (int i = 0; i < collection.
headerCount
; i++)
546
if (index < 0 || (index +
headerCount
) > array.Length)
550
SR.GetString(SR.ValueMustBeInRange, 0, array.Length -
headerCount
)));
552
for (int i = 0; i <
headerCount
; i++)
610
for (int i = 0; i <
headerCount
; i++)
632
for (int i = 0; i <
headerCount
; i++)
667
for (int i = 0; i <
headerCount
; i++)
693
for (int i = 0; i <
headerCount
; i++)
709
for (int i = 0; i <
headerCount
; i++)
745
MessageHeaderInfo[] headers = new MessageHeaderInfo[
headerCount
];
760
for (int i = 0; i <
headerCount
; i++)
860
if (index < 0 || index >=
headerCount
)
864
SR.GetString(SR.ValueMustBeInRange, 0,
headerCount
)));
964
if (headerIndex < 0 || headerIndex >=
headerCount
)
968
SR.GetString(SR.ValueMustBeInRange, 0,
headerCount
)));
1030
attrs = new string[
headerCount
];
1033
if (index ==
headerCount
- 1)
1041
for (int index = 0; index <
headerCount
; index++)
1051
attrs = new string[
headerCount
];
1064
if (index < 0 || index >=
headerCount
)
1068
SR.GetString(SR.ValueMustBeInRange, 0,
headerCount
)));
1090
for (int headerIndex = 0; headerIndex <
headerCount
; headerIndex++)
1122
for (int headerIndex = 0; headerIndex <
headerCount
; headerIndex++)
1240
if (headerIndex < 0 || headerIndex >
headerCount
)
1244
SR.GetString(SR.ValueMustBeInRange, 0,
headerCount
)));
1247
if (
headerCount
== headers.Length)
1260
if (headerIndex <
headerCount
)
1264
for (int i = headerIndex; i <
headerCount
; i++)
1273
Array.Copy(headers, headerIndex, headers, headerIndex + 1,
headerCount
- headerIndex);
1289
for (int i = 0; i <
headerCount
; i++)
1369
for (int i = 0; i <
headerCount
; i++)
1388
for (int i = 0; i <
headerCount
; i++)
1409
for (int i =
headerCount
- 1; i >= 0; i--)
1421
if (headerIndex < 0 || headerIndex >=
headerCount
)
1425
SR.GetString(SR.ValueMustBeInRange, 0,
headerCount
)));
1429
Array.Copy(headers, headerIndex + 1, headers, headerIndex,
headerCount
- headerIndex - 1);
1436
if (headerIndex < 0 || headerIndex >=
headerCount
)
1440
SR.GetString(SR.ValueMustBeInRange, 0,
headerCount
)));
1587
if (headerIndex < 0 || headerIndex >=
headerCount
)
1591
SR.GetString(SR.ValueMustBeInRange, 0,
headerCount
)));
1619
if (headerIndex < 0 || headerIndex >=
headerCount
)
1623
SR.GetString(SR.ValueMustBeInRange, 0,
headerCount
)));