4 writes to _headerCount
dotnet-svcutil-lib (4)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeaders.cs (4)
105
_headerCount
= headers._headerCount;
473
_headerCount
= 0;
1268
_headerCount
++;
1422
_headers[--
_headerCount
] = new Header();
61 references to _headerCount
dotnet-svcutil-lib (61)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeaders.cs (61)
105
_headerCount = headers.
_headerCount
;
106
_headers = new Header[
_headerCount
];
107
Array.Copy(headers._headers, _headers,
_headerCount
);
162
get { return
_headerCount
; }
331
if (index < 0 || index >=
_headerCount
)
335
string.Format(SRServiceModel.ValueMustBeInRange, 0,
_headerCount
)));
344
Insert(
_headerCount
, header);
349
Insert(
_headerCount
, actionHeader, HeaderKind.Action);
354
Insert(
_headerCount
, messageIDHeader, HeaderKind.MessageId);
359
Insert(
_headerCount
, relatesToHeader, HeaderKind.RelatesTo);
364
Insert(
_headerCount
, replyToHeader, HeaderKind.ReplyTo);
369
Insert(
_headerCount
, toHeader, HeaderKind.To);
374
Insert(
_headerCount
, header, kind);
379
InsertHeader(
_headerCount
, header);
392
for (int i = 0; i <
_headerCount
; i++)
416
for (int i = 0; i <
_headerCount
; i++)
471
for (int i = 0; i <
_headerCount
; i++)
497
if (headerIndex < 0 || headerIndex >= collection.
_headerCount
)
501
string.Format(SRServiceModel.ValueMustBeInRange, 0, collection.
_headerCount
)));
535
for (int i = 0; i < collection.
_headerCount
; i++)
546
if (index < 0 || (index +
_headerCount
) > array.Length)
550
string.Format(SRServiceModel.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++)
859
if (index < 0 || index >=
_headerCount
)
863
string.Format(SRServiceModel.ValueMustBeInRange, 0,
_headerCount
)));
963
if (headerIndex < 0 || headerIndex >=
_headerCount
)
967
string.Format(SRServiceModel.ValueMustBeInRange, 0,
_headerCount
)));
1029
attrs = new string[
_headerCount
];
1032
if (index ==
_headerCount
- 1)
1040
for (int index = 0; index <
_headerCount
; index++)
1050
attrs = new string[
_headerCount
];
1063
if (index < 0 || index >=
_headerCount
)
1067
string.Format(SRServiceModel.ValueMustBeInRange, 0,
_headerCount
)));
1089
for (int headerIndex = 0; headerIndex <
_headerCount
; headerIndex++)
1114
for (int headerIndex = 0; headerIndex <
_headerCount
; headerIndex++)
1232
if (headerIndex < 0 || headerIndex >
_headerCount
)
1236
string.Format(SRServiceModel.ValueMustBeInRange, 0,
_headerCount
)));
1239
if (
_headerCount
== _headers.Length)
1252
if (headerIndex <
_headerCount
)
1256
for (int i = headerIndex; i <
_headerCount
; i++)
1265
Array.Copy(_headers, headerIndex, _headers, headerIndex + 1,
_headerCount
- headerIndex);
1281
for (int i = 0; i <
_headerCount
; i++)
1361
for (int i = 0; i <
_headerCount
; i++)
1380
for (int i = 0; i <
_headerCount
; i++)
1401
for (int i =
_headerCount
- 1; i >= 0; i--)
1413
if (headerIndex < 0 || headerIndex >=
_headerCount
)
1417
string.Format(SRServiceModel.ValueMustBeInRange, 0,
_headerCount
)));
1421
Array.Copy(_headers, headerIndex + 1, _headers, headerIndex,
_headerCount
- headerIndex - 1);
1428
if (headerIndex < 0 || headerIndex >=
_headerCount
)
1432
string.Format(SRServiceModel.ValueMustBeInRange, 0,
_headerCount
)));
1579
if (headerIndex < 0 || headerIndex >=
_headerCount
)
1583
string.Format(SRServiceModel.ValueMustBeInRange, 0,
_headerCount
)));
1611
if (headerIndex < 0 || headerIndex >=
_headerCount
)
1615
string.Format(SRServiceModel.ValueMustBeInRange, 0,
_headerCount
)));