1 write to bufBytes
System.Xml (1)
System\Xml\Core\XmlUtf8RawTextWriter.cs (1)
132
bufBytes
= new byte[bufLen + OVERFLOW];
181 references to bufBytes
System.Xml (181)
System\Xml\Core\HtmlUtf8RawTextWriter.cs (32)
127
bufBytes
[bufPos++] = (byte) '"';
132
bufBytes
[bufPos++] = (byte) '"';
135
bufBytes
[bufPos++] = (byte) ' ';
139
bufBytes
[bufPos++] = (byte) '[';
141
bufBytes
[bufPos++] = (byte) ']';
144
bufBytes
[this.bufPos++] = (byte) '>';
158
base.
bufBytes
[bufPos++] = (byte) '<';
172
base.
bufBytes
[base.bufPos++] = (byte) '>';
193
bufBytes
[base.bufPos++] = (byte) '<';
194
bufBytes
[base.bufPos++] = (byte) '/';
196
bufBytes
[base.bufPos++] = (byte) '>';
214
bufBytes
[base.bufPos++] = (byte) '<';
215
bufBytes
[base.bufPos++] = (byte) '/';
217
bufBytes
[base.bufPos++] = (byte) '>';
333
base.
bufBytes
[bufPos++] = (byte) ' ';
350
base.
bufBytes
[bufPos++] = (byte) '=';
351
base.
bufBytes
[bufPos++] = (byte) '"';
375
base.
bufBytes
[bufPos++] = (byte) '"';
387
bufBytes
[base.bufPos++] = (byte) '<';
388
bufBytes
[base.bufPos++] = (byte) '?';
390
bufBytes
[base.bufPos++] = (byte) ' ';
394
base.
bufBytes
[base.bufPos++] = (byte) '>';
552
fixed ( byte * pDstBegin =
bufBytes
) {
632
fixed ( byte * pDstBegin =
bufBytes
) {
715
base.
bufBytes
[bufPos++] = (byte)'a';
716
base.
bufBytes
[bufPos++] = (byte)'m';
717
base.
bufBytes
[bufPos++] = (byte)'p';
718
base.
bufBytes
[bufPos++] = (byte)';';
817
base.
bufBytes
[bufPos++] = (byte) '<';
827
base.
bufBytes
[base.bufPos++] = (byte) '<';
830
base.
bufBytes
[base.bufPos++] = (byte) ':';
838
base.
bufBytes
[base.bufPos++] = (byte) '>';
System\Xml\Core\XmlUtf8RawTextWriter.cs (80)
138
Buffer.BlockCopy( bom, 0,
bufBytes
, 1, bom.Length );
228
bufBytes
[bufPos++] = (byte) '"';
233
bufBytes
[bufPos++] = (byte) '"';
236
bufBytes
[bufPos++] = (byte) ' ';
240
bufBytes
[bufPos++] = (byte) '[';
242
bufBytes
[bufPos++] = (byte) ']';
245
bufBytes
[this.bufPos++] = (byte) '>';
253
bufBytes
[bufPos++] = (byte) '<';
256
bufBytes
[this.bufPos++] = (byte) ':';
266
bufBytes
[bufPos++] = (byte) '>';
282
bufBytes
[bufPos++] = (byte) '<';
283
bufBytes
[bufPos++] = (byte) '/';
287
bufBytes
[bufPos++] = (byte) ':';
290
bufBytes
[bufPos++] = (byte) '>';
295
bufBytes
[bufPos++] = (byte) ' ';
296
bufBytes
[bufPos++] = (byte) '/';
297
bufBytes
[bufPos++] = (byte) '>';
306
bufBytes
[bufPos++] = (byte) '<';
307
bufBytes
[bufPos++] = (byte) '/';
311
bufBytes
[bufPos++] = (byte) ':';
314
bufBytes
[bufPos++] = (byte) '>';
323
bufBytes
[bufPos++] = (byte) ' ';
328
bufBytes
[bufPos++] = (byte) ':';
331
bufBytes
[bufPos++] = (byte) '=';
332
bufBytes
[bufPos++] = (byte) '"';
340
bufBytes
[bufPos++] = (byte) '"';
372
bufBytes
[bufPos++] = (byte)'=';
373
bufBytes
[bufPos++] = (byte)'"';
384
bufBytes
[bufPos++] = (byte)'"';
401
bufBytes
[bufPos++] = (byte) '<';
402
bufBytes
[bufPos++] = (byte) '!';
403
bufBytes
[bufPos++] = (byte) '[';
404
bufBytes
[bufPos++] = (byte) 'C';
405
bufBytes
[bufPos++] = (byte) 'D';
406
bufBytes
[bufPos++] = (byte) 'A';
407
bufBytes
[bufPos++] = (byte) 'T';
408
bufBytes
[bufPos++] = (byte) 'A';
409
bufBytes
[bufPos++] = (byte) '[';
414
bufBytes
[bufPos++] = (byte) ']';
415
bufBytes
[bufPos++] = (byte) ']';
416
bufBytes
[bufPos++] = (byte) '>';
426
bufBytes
[bufPos++] = (byte) '<';
427
bufBytes
[bufPos++] = (byte) '!';
428
bufBytes
[bufPos++] = (byte) '-';
429
bufBytes
[bufPos++] = (byte) '-';
433
bufBytes
[bufPos++] = (byte) '-';
434
bufBytes
[bufPos++] = (byte) '-';
435
bufBytes
[bufPos++] = (byte) '>';
443
bufBytes
[bufPos++] = (byte) '<';
444
bufBytes
[bufPos++] = (byte) '?';
448
bufBytes
[bufPos++] = (byte) ' ';
452
bufBytes
[bufPos++] = (byte) '?';
453
bufBytes
[bufPos++] = (byte) '>';
460
bufBytes
[bufPos++] = (byte) '&';
462
bufBytes
[bufPos++] = (byte) ';';
480
bufBytes
[bufPos++] = (byte)'&';
481
bufBytes
[bufPos++] = (byte)'#';
482
bufBytes
[bufPos++] = (byte)'x';
484
bufBytes
[bufPos++] = (byte)';';
532
bufBytes
[bufPos++] = (byte)'&';
533
bufBytes
[bufPos++] = (byte)'#';
534
bufBytes
[bufPos++] = (byte)'x';
536
bufBytes
[bufPos++] = (byte)';';
636
stream.Write(
bufBytes
, 1, bufPos - 1 );
647
bufBytes
[0] =
bufBytes
[bufPos - 1];
649
if ( IsSurrogateByte(
bufBytes
[0] ) ) {
652
bufBytes
[1] =
bufBytes
[bufPos];
653
bufBytes
[2] =
bufBytes
[bufPos + 1];
654
bufBytes
[3] =
bufBytes
[bufPos + 2];
677
fixed ( byte * pDstBegin =
bufBytes
) {
774
fixed ( byte * pDstBegin =
bufBytes
) {
879
fixed ( byte * pDstBegin =
bufBytes
) {
923
fixed ( byte * pDstBegin =
bufBytes
) {
1015
fixed ( byte * pDstBegin =
bufBytes
) {
1136
fixed ( byte * pDstBegin =
bufBytes
) {
1350
fixed ( byte * pDstBegin =
bufBytes
) {
System\Xml\Core\XmlUtf8RawTextWriterAsync.cs (69)
77
bufBytes
[bufPos++] = (byte) '"';
82
bufBytes
[bufPos++] = (byte) '"';
85
bufBytes
[bufPos++] = (byte) ' ';
89
bufBytes
[bufPos++] = (byte) '[';
91
bufBytes
[bufPos++] = (byte) ']';
94
bufBytes
[this.bufPos++] = (byte) '>';
103
bufBytes
[bufPos++] = (byte) '<';
128
bufBytes
[bufPos++] = (byte) '<';
129
bufBytes
[bufPos++] = (byte) '/';
141
bufBytes
[bufPos++] = (byte) ' ';
142
bufBytes
[bufPos++] = (byte) '/';
143
bufBytes
[bufPos++] = (byte) '>';
154
bufBytes
[bufPos++] = (byte) '<';
155
bufBytes
[bufPos++] = (byte) '/';
172
bufBytes
[bufPos++] = (byte)' ';
192
bufBytes
[bufPos++] = (byte) '"';
228
bufBytes
[bufPos++] = (byte)'=';
229
bufBytes
[bufPos++] = (byte)'"';
241
bufBytes
[bufPos++] = (byte)'"';
261
bufBytes
[bufPos++] = (byte) '<';
262
bufBytes
[bufPos++] = (byte) '!';
263
bufBytes
[bufPos++] = (byte) '[';
264
bufBytes
[bufPos++] = (byte) 'C';
265
bufBytes
[bufPos++] = (byte) 'D';
266
bufBytes
[bufPos++] = (byte) 'A';
267
bufBytes
[bufPos++] = (byte) 'T';
268
bufBytes
[bufPos++] = (byte) 'A';
269
bufBytes
[bufPos++] = (byte) '[';
274
bufBytes
[bufPos++] = (byte) ']';
275
bufBytes
[bufPos++] = (byte) ']';
276
bufBytes
[bufPos++] = (byte) '>';
287
bufBytes
[bufPos++] = (byte) '<';
288
bufBytes
[bufPos++] = (byte) '!';
289
bufBytes
[bufPos++] = (byte) '-';
290
bufBytes
[bufPos++] = (byte) '-';
294
bufBytes
[bufPos++] = (byte) '-';
295
bufBytes
[bufPos++] = (byte) '-';
296
bufBytes
[bufPos++] = (byte) '>';
305
bufBytes
[bufPos++] = (byte) '<';
306
bufBytes
[bufPos++] = (byte) '?';
310
bufBytes
[bufPos++] = (byte) ' ';
314
bufBytes
[bufPos++] = (byte) '?';
315
bufBytes
[bufPos++] = (byte) '>';
323
bufBytes
[bufPos++] = (byte) '&';
325
bufBytes
[bufPos++] = (byte) ';';
344
bufBytes
[bufPos++] = (byte)'&';
345
bufBytes
[bufPos++] = (byte)'#';
346
bufBytes
[bufPos++] = (byte)'x';
348
bufBytes
[bufPos++] = (byte)';';
393
bufBytes
[bufPos++] = (byte)'&';
394
bufBytes
[bufPos++] = (byte)'#';
395
bufBytes
[bufPos++] = (byte)'x';
397
bufBytes
[bufPos++] = (byte)';';
466
await stream.WriteAsync(
bufBytes
, 1, bufPos - 1 ).ConfigureAwait(false);
477
bufBytes
[0] =
bufBytes
[bufPos - 1];
479
if ( IsSurrogateByte(
bufBytes
[0] ) ) {
482
bufBytes
[1] =
bufBytes
[bufPos];
483
bufBytes
[2] =
bufBytes
[bufPos + 1];
484
bufBytes
[3] =
bufBytes
[bufPos + 2];
510
fixed ( byte * pDstBegin =
bufBytes
) {
679
fixed ( byte * pDstBegin =
bufBytes
) {
882
fixed ( byte * pDstBegin =
bufBytes
) {
970
fixed ( byte * pDstBegin =
bufBytes
) {
1138
fixed ( byte * pDstBegin =
bufBytes
) {
1298
fixed ( byte * pDstBegin =
bufBytes
) {