3 writes to data
System.Private.Xml (3)
System\Xml\Core\XmlWellFormedWriterHelpers.cs (3)
179
this.
data
= data;
426
item.
data
= XmlConvert.TrimStringStart((string)item.data);
467
item.
data
= XmlConvert.TrimStringEnd((string)item.data);
25 references to data
System.Private.Xml (25)
System\Xml\Core\XmlWellFormedWriterHelpers.cs (16)
175
[MemberNotNull(nameof(
data
))]
358
writer.WriteEntityRef((string)item.
data
);
361
writer.WriteCharEntity((char)item.
data
);
364
char[] chars = (char[])item.
data
;
368
writer.WriteWhitespace((string)item.
data
);
371
writer.WriteString((string)item.
data
);
374
bufChunk = (BufferChunk)item.
data
;
378
writer.WriteRaw((string)item.
data
);
381
bufChunk = (BufferChunk)item.
data
;
385
writer.WriteValue((string)item.
data
);
426
item.data = XmlConvert.TrimStringStart((string)item.
data
);
427
if (((string)item.
data
).Length == 0)
435
BufferChunk bufChunk = (BufferChunk)item.
data
;
467
item.data = XmlConvert.TrimStringEnd((string)item.
data
);
468
if (((string)item.
data
).Length == 0)
476
BufferChunk bufChunk = (BufferChunk)item.
data
;
System\Xml\Core\XmlWellFormedWriterHelpersAsync.cs (9)
69
await writer.WriteEntityRefAsync((string)item.
data
).ConfigureAwait(false);
72
await writer.WriteCharEntityAsync((char)item.
data
).ConfigureAwait(false);
75
char[] chars = (char[])item.
data
;
79
await writer.WriteWhitespaceAsync((string)item.
data
).ConfigureAwait(false);
82
await writer.WriteStringAsync((string)item.
data
).ConfigureAwait(false);
85
bufChunk = (BufferChunk)item.
data
;
89
await writer.WriteRawAsync((string)item.
data
).ConfigureAwait(false);
92
bufChunk = (BufferChunk)item.
data
;
96
await writer.WriteStringAsync((string)item.
data
).ConfigureAwait(false);