1 write to reader
System.Data.SqlXml (1)
System\Xml\Xsl\Xslt\XsltInput.cs (1)
53
this.
reader
= reader;
64 references to reader
System.Data.SqlXml (64)
System\Xml\Xsl\Xslt\XsltInput.cs (64)
98
if (
reader
.ReadState != ReadState.Interactive) {
108
if (
reader
.ReadState == ReadState.Interactive) {
110
IXmlNamespaceResolver nsResolver =
reader
as IXmlNamespaceResolver;
147
while (
reader
.ReadState == ReadState.Interactive) {
148
reader
.Skip();
154
rec.localName =
reader
.LocalName;
155
rec.nsUri =
reader
.NamespaceURI;
156
rec.prefix =
reader
.Prefix;
157
rec.value =
reader
.Value;
158
rec.baseUri =
reader
.BaseURI;
167
rec.start = new Location(readerLineInfo.LineNumber, readerLineInfo.LinePosition - PositionAdjustment(
reader
.NodeType));
173
rec.end = new Location(readerLineInfo.LineNumber, readerLineInfo.LinePosition - PositionAdjustment(
reader
.NodeType));
174
if (
reader
.BaseURI != rec.baseUri || rec.end.LessOrEqual(rec.start)) {
182
reader
.NodeType == XmlNodeType.Whitespace ||
reader
.NodeType == XmlNodeType.SignificantWhitespace ||
183
reader
.NodeType == XmlNodeType.Text ||
reader
.NodeType == XmlNodeType.CDATA
188
rec.value =
reader
.Value;
189
rec.baseUri =
reader
.BaseURI;
192
bool isCDATA = (
reader
.NodeType == XmlNodeType.CDATA);
219
Debug.Assert(
reader
.NodeType == XmlNodeType.EntityReference);
220
string local =
reader
.LocalName;
225
rec.baseUri =
reader
.BaseURI;
230
reader
.ResolveEntity();
231
reader
.Read();
232
Debug.Assert(
reader
.NodeType == XmlNodeType.Text ||
reader
.NodeType == XmlNodeType.Whitespace ||
reader
.NodeType == XmlNodeType.SignificantWhitespace);
233
rec.value =
reader
.Value;
234
reader
.Read();
235
Debug.Assert(
reader
.NodeType == XmlNodeType.EndEntity);
247
Debug.Assert(
reader
.NodeType == XmlNodeType.Attribute, "reader.NodeType == XmlNodeType.Attribute");
250
string atomizedValue = atoms.NameTable.Add(
reader
.Value);
257
string atomizedValue = atoms.NameTable.Add(
reader
.Value);
263
if (!
reader
.ReadAttributeValue()) {
270
int correction = (
reader
.NodeType == XmlNodeType.EntityReference) ? -2 : -1;
272
if (
reader
.BaseURI != rec.baseUri || rec.valueStart.LessOrEqual(rec.start)) {
280
switch (
reader
.NodeType) {
282
reader
.ResolveEntity();
287
Debug.Assert(
reader
.NodeType == XmlNodeType.Text, "Unexpected node type inside attribute value");
288
lastText =
reader
.Value;
292
} while (
reader
.ReadAttributeValue());
295
Debug.Assert(
reader
.NodeType != XmlNodeType.EntityReference);
296
int correction = ((
reader
.NodeType == XmlNodeType.EndEntity) ? 1 : lastText.Length) + 1;
298
if (
reader
.BaseURI != rec.baseUri || rec.end.LessOrEqual(rec.valueStart)) {
333
bool textPreserveWS =
reader
.XmlSpace == XmlSpace.Preserve;
337
switch (
reader
.NodeType) {
341
if (textIsWhite && ! XmlCharType.Instance.IsOnlyWhitespace(
reader
.Value)) {
349
reader
.Read();
353
string local =
reader
.LocalName;
366
reader
.ResolveEntity();
367
reader
.Read();
371
reader
.Read();
394
while (!
reader
.EOF) {
395
switch (
reader
.NodeType) {
416
reader
.Read();
420
reader
.Read();
428
Debug.Assert(
reader
.NodeType == XmlNodeType.Element);
433
isEmptyElement =
reader
.IsEmptyElement;
437
if (
reader
.MoveToFirstAttribute()) {
443
} while (
reader
.MoveToNextAttribute());
444
reader
.MoveToElement();
446
reader
.Read();
926
return new SourceLineInfo(
reader
.BaseURI, loc, loc);