2 writes to _properties
System.ServiceModel.Primitives (2)
System\ServiceModel\Channels\MessageProperties.cs (2)
781
_properties
= new Property[InitialPropertyCount];
798
_properties
= newProperties;
52 references to _properties
System.ServiceModel.Primitives (52)
System\ServiceModel\Channels\MessageProperties.cs (52)
93
return
_properties
== null ||
_properties
.Length <= MaxRecycledArrayLength;
217
if (
_properties
!= null)
219
for (int i = 0; i <
_properties
.Length; i++)
221
string propertyName =
_properties
[i].Name;
289
if (
_properties
!= null)
291
for (int i = 0; i <
_properties
.Length; i++)
293
if (
_properties
[i].Name == null)
298
values.Add(
_properties
[i].Value);
369
if (
_properties
!= null)
371
for (int i = 0; i <
_properties
.Length; i++)
373
if (
_properties
[i].Name == null)
378
_properties
[i] = new Property();
405
if (properties.
_properties
!= null)
407
for (int i = 0; i < properties.
_properties
.Length; i++)
409
if (properties.
_properties
[i].Name == null)
414
Property property = properties.
_properties
[i];
443
if (properties.
_properties
!= null)
445
for (int i = 0; i < properties.
_properties
.Length; i++)
447
if (properties.
_properties
[i].Name == null)
452
Property property = properties.
_properties
[i];
543
if (
_properties
!= null)
545
for (int i = 0; i <
_properties
.Length; i++)
547
if (
_properties
[i].Name == null)
552
_properties
[i].Dispose();
580
if (
_properties
!= null)
582
for (int i = 0; i <
_properties
.Length; i++)
584
string propertyName =
_properties
[i].Name;
650
value =
_properties
[index].Value;
729
_properties
[index].Dispose();
731
for (shiftIndex = index + 1; shiftIndex <
_properties
.Length; shiftIndex++)
733
if (
_properties
[shiftIndex].Name == null)
738
_properties
[shiftIndex - 1] =
_properties
[shiftIndex];
740
_properties
[shiftIndex - 1] = new Property();
745
_properties
[index].Value = CreateCopyOfPropertyValue(value);
779
if (
_properties
== null)
786
for (newIndex = 0; newIndex <
_properties
.Length; newIndex++)
788
if (
_properties
[newIndex].Name == null)
794
if (newIndex ==
_properties
.Length)
796
Property[] newProperties = new Property[
_properties
.Length * 2];
797
Array.Copy(
_properties
, newProperties,
_properties
.Length);
803
_properties
[newIndex] = new Property(name, newValue);
851
if (
_properties
!= null)
853
for (int i = 0; i <
_properties
.Length; i++)
855
string propertyName =
_properties
[i].Name;
862
array[index++] = new KeyValuePair<string, object>(propertyName, CreateCopyOfPropertyValue(
_properties
[i].Value));
946
if (
_properties
!= null)
948
for (int i = 0; i <
_properties
.Length; i++)
950
string propertyName =
_properties
[i].Name;
957
pairs.Add(new KeyValuePair<string, object>(propertyName,
_properties
[i].Value));