2 writes to properties
System.ServiceModel (2)
System\ServiceModel\Channels\MessageProperties.cs (2)
698
properties
= new Property[InitialPropertyCount];
715
properties
= newProperties;
52 references to properties
System.ServiceModel (52)
System\ServiceModel\Channels\MessageProperties.cs (52)
84
return
properties
== null ||
properties
.Length <= MaxRecycledArrayLength;
188
if (
properties
!= null)
190
for (int i = 0; i <
properties
.Length; i++)
192
string propertyName =
properties
[i].Name;
251
if (
properties
!= null)
253
for (int i = 0; i <
properties
.Length; i++)
255
if (
properties
[i].Name == null)
260
values.Add(
properties
[i].Value);
318
if (
properties
!= null)
320
for (int i = 0; i <
properties
.Length; i++)
322
if (
properties
[i].Name == null)
327
properties
[i] = new Property();
354
if (properties.
properties
!= null)
356
for (int i = 0; i < properties.
properties
.Length; i++)
358
if (properties.
properties
[i].Name == null)
363
Property property = properties.
properties
[i];
392
if (properties.
properties
!= null)
394
for (int i = 0; i < properties.
properties
.Length; i++)
396
if (properties.
properties
[i].Name == null)
401
Property property = properties.
properties
[i];
479
if (
properties
!= null)
481
for (int i = 0; i <
properties
.Length; i++)
483
if (
properties
[i].Name == null)
488
properties
[i].Dispose();
509
if (
properties
!= null)
511
for (int i = 0; i <
properties
.Length; i++)
513
string propertyName =
properties
[i].Name;
573
value =
properties
[index].Value;
649
properties
[index].Dispose();
651
for (shiftIndex = index + 1; shiftIndex <
properties
.Length; shiftIndex++)
653
if (
properties
[shiftIndex].Name == null)
658
properties
[shiftIndex - 1] =
properties
[shiftIndex];
660
properties
[shiftIndex - 1] = new Property();
665
properties
[index].Value = CreateCopyOfPropertyValue(value);
696
if (
properties
== null)
703
for (newIndex = 0; newIndex <
properties
.Length; newIndex++)
705
if (
properties
[newIndex].Name == null)
711
if (newIndex ==
properties
.Length)
713
Property[] newProperties = new Property[
properties
.Length * 2];
714
Array.Copy(
properties
, newProperties,
properties
.Length);
720
properties
[newIndex] = new Property(name, newValue);
750
if (
properties
!= null)
752
for (int i = 0; i <
properties
.Length; i++)
754
string propertyName =
properties
[i].Name;
761
array[index++] = new KeyValuePair<string, object>(propertyName, CreateCopyOfPropertyValue(
properties
[i].Value));
820
if (
properties
!= null)
822
for (int i = 0; i <
properties
.Length; i++)
824
string propertyName =
properties
[i].Name;
831
pairs.Add(new KeyValuePair<string, object>(propertyName,
properties
[i].Value));