6 writes to buffer
System.ServiceModel (6)
System\ServiceModel\Dispatcher\QueryUtil.cs (6)
546
this.
buffer
= null;
583
Array.Resize(ref this.
buffer
, value);
587
this.
buffer
= null;
593
this.
buffer
= new T[value];
703
this.
buffer
= new T[1];
724
this.
buffer
= tmp;
18 references to buffer
System.ServiceModel (18)
System\ServiceModel\Dispatcher\QueryUtil.cs (18)
576
if (this.
buffer
!= null)
578
if (value != this.
buffer
.Length)
651
this.
buffer
[i] = replace;
669
return this.
buffer
[index];
701
if (this.
buffer
== null)
705
else if (this.
buffer
.Length == this.size)
712
Array.Copy(this.
buffer
, 0, tmp, 1, this.size);
716
Array.Copy(this.
buffer
, 0, tmp, 0, this.size);
720
Array.Copy(this.
buffer
, 0, tmp, 0, index);
721
Array.Copy(this.
buffer
, index, tmp, index + 1, this.size - index);
728
Array.Copy(this.
buffer
, index, this.
buffer
, index + 1, this.size - index);
731
this.
buffer
[index] = item;
754
Array.Copy(this.
buffer
, index + 1, this.
buffer
, index, this.size - index - 1);
757
this.
buffer
[--this.size] = default(T);
791
result = comparer.Compare(key, this.
buffer
[mid]);
816
result = comparer.Compare(key, this.
buffer
[i]);