2 writes to _properties
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageProperties.cs (2)
693
_properties
= new Property[InitialPropertyCount];
710
_properties
= newProperties;
52 references to _properties
dotnet-svcutil-lib (52)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageProperties.cs (52)
84
return
_properties
== null ||
_properties
.Length <= MaxRecycledArrayLength;
184
if (
_properties
!= null)
186
for (int i = 0; i <
_properties
.Length; i++)
188
string propertyName =
_properties
[i].Name;
247
if (
_properties
!= null)
249
for (int i = 0; i <
_properties
.Length; i++)
251
if (
_properties
[i].Name == null)
256
values.Add(
_properties
[i].Value);
314
if (
_properties
!= null)
316
for (int i = 0; i <
_properties
.Length; i++)
318
if (
_properties
[i].Name == null)
323
_properties
[i] = new Property();
350
if (properties.
_properties
!= null)
352
for (int i = 0; i < properties.
_properties
.Length; i++)
354
if (properties.
_properties
[i].Name == null)
359
Property property = properties.
_properties
[i];
388
if (properties.
_properties
!= null)
390
for (int i = 0; i < properties.
_properties
.Length; i++)
392
if (properties.
_properties
[i].Name == null)
397
Property property = properties.
_properties
[i];
475
if (
_properties
!= null)
477
for (int i = 0; i <
_properties
.Length; i++)
479
if (
_properties
[i].Name == null)
484
_properties
[i].Dispose();
504
if (
_properties
!= null)
506
for (int i = 0; i <
_properties
.Length; i++)
508
string propertyName =
_properties
[i].Name;
568
value =
_properties
[index].Value;
644
_properties
[index].Dispose();
646
for (shiftIndex = index + 1; shiftIndex <
_properties
.Length; shiftIndex++)
648
if (
_properties
[shiftIndex].Name == null)
653
_properties
[shiftIndex - 1] =
_properties
[shiftIndex];
655
_properties
[shiftIndex - 1] = new Property();
660
_properties
[index].Value = CreateCopyOfPropertyValue(value);
691
if (
_properties
== null)
698
for (newIndex = 0; newIndex <
_properties
.Length; newIndex++)
700
if (
_properties
[newIndex].Name == null)
706
if (newIndex ==
_properties
.Length)
708
Property[] newProperties = new Property[
_properties
.Length * 2];
709
Array.Copy(
_properties
, newProperties,
_properties
.Length);
715
_properties
[newIndex] = new Property(name, newValue);
745
if (
_properties
!= null)
747
for (int i = 0; i <
_properties
.Length; i++)
749
string propertyName =
_properties
[i].Name;
756
array[index++] = new KeyValuePair<string, object>(propertyName, CreateCopyOfPropertyValue(
_properties
[i].Value));
815
if (
_properties
!= null)
817
for (int i = 0; i <
_properties
.Length; i++)
819
string propertyName =
_properties
[i].Name;
826
pairs.Add(new KeyValuePair<string, object>(propertyName,
_properties
[i].Value));