24 overrides of Read
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
129public override bool Read()
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
103public override bool Read() {
System.Data.Common (1)
System\Data\xmlsaver.cs (1)
3475public override bool Read()
System.IO.Packaging (1)
System\IO\Packaging\XmlWrappingReader.cs (1)
95public override bool Read()
System.Private.DataContractSerialization (6)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
287public override bool Read()
System\Runtime\Serialization\Json\XmlJsonReader.cs (1)
396public override bool Read()
System\Runtime\Serialization\XmlSerializableReader.cs (1)
51public override bool Read()
System\Xml\XmlBinaryReader.cs (1)
368public override bool Read()
System\Xml\XmlDictionaryReader.cs (1)
1511public override bool Read()
System\Xml\XmlUTF8TextReader.cs (1)
1283public override bool Read()
System.Private.Xml (12)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
930public override bool Read()
System\Xml\Core\XmlAsyncCheckReader.cs (1)
499public override bool Read()
System\Xml\Core\XmlTextReader.cs (1)
236public override bool Read()
System\Xml\Core\XmlTextReaderImpl.cs (1)
1217public override bool Read()
System\Xml\Core\XmlValidatingReader.cs (1)
174public override bool Read()
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
538public override bool Read()
System\Xml\Core\XmlWrappingReader.cs (1)
103public override bool Read()
System\Xml\Core\XsdCachingReader.cs (1)
399public override bool Read()
System\Xml\Core\XsdValidatingReader.cs (1)
1407public override bool Read()
System\Xml\Dom\XmlNodeReader.cs (1)
1500public override bool Read()
System\Xml\XPath\XPathNavigatorReader.cs (1)
968public override bool Read()
System\Xml\Xsl\XsltOld\ReaderOutput.cs (1)
306public override bool Read()
System.Private.Xml.Linq (1)
System\Xml\Linq\XNodeReader.cs (1)
843public override bool Read()
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
103public override bool Read() {
373 references to Read
Contract.Message.IntegrationTests (8)
MessageContractTests.4.1.0.cs (8)
61reader.Read(); 66reader.Read(); // Move to Value node 67reader.Read(); // Move to the end tag 73reader.Read(); // Move to Value node 74reader.Read(); // Move to the end tag 81reader.Read(); // Move to Value node 82reader.Read(); // Move to the end tag 100while (reader.Read())
Microsoft.AspNetCore.Mvc.Formatters.Xml (3)
ProblemDetailsWrapper.cs (1)
52reader.Read();
SerializableErrorWrapper.cs (1)
60reader.Read();
ValidationProblemDetailsWrapper.cs (1)
45reader.Read();
Microsoft.Build (4)
BackEnd\Components\SdkResolution\SdkResolverManifest.cs (3)
76while (reader.Read()) 107reader.Read(); 142reader.Read();
Xml\XmlReaderExtension.cs (1)
95reader.Read();
Microsoft.Build.Engine.OM.UnitTests (3)
Definition\Project_Tests.cs (3)
275while (reader.Read()) 309reader.Read(); 313reader.Read().ShouldBeFalse();
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
131return _wrappedReader.Read();
Microsoft.Build.Tasks.Core (9)
AppConfig\AppConfig.cs (1)
81while (reader.Read())
AppConfig\DependentAssembly.cs (1)
51while (reader.Read())
AppConfig\RuntimeSection.cs (1)
21while (reader.Read())
GenerateResource.cs (2)
1772while (reader.Read()) 1971while (reader.Read())
ManifestUtil\ManifestReader.cs (1)
235r.Read();
RedistList.cs (3)
667while (reader.Read()) 732while (reader.Read()) 786while (reader.Read())
Microsoft.Build.Utilities.Core (1)
ToolLocationHelper.cs (1)
3135while (reader.Read())
Microsoft.CodeAnalysis (1)
DocumentationComments\XmlDocumentationCommentTextReader.cs (1)
50_reader.Read();
Microsoft.CodeAnalysis.Features (1)
PdbSourceDocument\ImplementationAssemblyLookupService.cs (1)
163xr.Read();
Microsoft.CodeAnalysis.Workspaces (3)
Shared\Utilities\DocumentationComment.cs (2)
304reader.Read(); 311reader.Read();
Shared\Utilities\XmlFragmentParser.cs (1)
70_xmlReader.Read();
Microsoft.Extensions.Configuration.Xml (1)
XmlStreamConfigurationProvider.cs (1)
58while (reader.Read())
Microsoft.Maui.Controls.Build.Tasks (2)
XamlTask.cs (2)
47 while (reader.Read()) 80 while (reader.Read() && reader.NodeType != XmlNodeType.Element)
Microsoft.Maui.Controls.Xaml (5)
XamlLoader.cs (3)
65 while (reader.Read()) 107 while (reader.Read()) 148 while (reader.Read())
XamlParser.cs (2)
62 while (reader.Read()) 143 while (skipFirstRead || reader.Read())
Microsoft.Maui.Graphics (1)
Text\XmlAttributedTextReader.cs (1)
38 while (_reader.Read())
PresentationBuildTasks (21)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (3)
835xmlReader.Read(); 844xmlReader.Read(); 873while (!exitLoop && xmlReader.Read());
MS\Internal\MarkupCompiler\ParserExtension.cs (2)
718xamlDefTagNode.XmlReader.Read(); 721xamlDefTagNode.XmlReader.Read();
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (8)
369XmlReader.Read(); // first time thru get to the first start tag. 1239while (readNextNode && XmlReader.Read()) 1307XmlReader.Read(); 2093XmlReader.Read(); // move to the next node. 2098XmlReader.Read(); // move to the next node. 2107XmlReader.Read(); 2165XmlReader.Read(); 3843XmlReader.Read();
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (7)
165bool more = Reader.Read(); //passed as ref arg to ReadStartElement and ReadEndElement 254more = Reader.Read(); 324more = Reader.Read(); 336more = Reader.Read(); 1172more = Reader.Read(); 1276more = Reader.Read(); 1353more = Reader.Read();
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
104return _reader.Read();
PresentationCore (13)
MS\Internal\FontFace\CompositeFontParser.cs (13)
299} while (!contentNode && _reader.Read()); 330while (_reader.Read()) 393_reader.Read(); 398_reader.Read(); 412_reader.Read(); 438_reader.Read(); 456_reader.Read(); 561_reader.Read(); 565_reader.Read(); 577_reader.Read(); 581_reader.Read(); 809_reader.Read(); 813_reader.Read();
PresentationFramework (30)
MS\Internal\Annotations\Serializer.cs (1)
93reader.Read();
MS\Internal\IO\Packaging\XamlFilter.cs (9)
418_xamlReader.Read(); // Consume current token. 494_xamlReader.Read(); // Move past data just processed. 501_xamlReader.Read(); // Skip data. 551_xamlReader.Read(); 649_xamlReader.Read(); 655_xamlReader.Read(); // skip start-tag 671_xamlReader.Read(); 711_xamlReader.Read(); 733_xamlReader.Read();
System\Windows\Annotations\Annotation.cs (8)
281reader.Read(); // Read the remainder of the "Annotation" start tag 291reader.Read(); // Reads the "Anchors" start tag 298reader.Read(); // Reads the "Anchors" end tag (or whole tag if it was empty) 306reader.Read(); // Reads the "Cargos" start tag 313reader.Read(); // Reads the "Cargos" end tag (or whole tag if it was empty) 321reader.Read(); // Reads the "Authors" start tag 336reader.Read(); // Reads the "Authors" end tag (or whole tag if it was empty) 346reader.Read(); // Read the end of the "Annotation" tag (or the whole tag if its empty)
System\Windows\Annotations\AnnotationResource.cs (2)
171reader.Read(); // Reads the remainder of "Resource" start tag 199reader.Read(); // Reads the end of the "Resource" element (or whole element if empty)
System\Windows\Annotations\LocatorGroup.cs (2)
131reader.Read(); // Reads the start of the "ContentLocatorGroup" element 151reader.Read(); // Reads the end of the "ContentLocatorGroup" element (or whole element if empty)
System\Windows\Annotations\LocatorPartList.cs (6)
213reader.Read(); // Reads the start of the "ContentLocator" element 234reader.Read(); // Read the start of the locator part tag 275reader.Read(); // Read the beginning of the complete Item tag 286reader.Read(); // Read the end of the Item tag 300reader.Read(); // Read the ContentLocatorPart element 304reader.Read(); // Reads the end of the "ContentLocator" element (or whole element if empty)
System\Windows\Documents\FixedFindEngine.cs (1)
385while (xmlReader.Read())
System\Windows\Documents\XPSS0ValidatingLoader.cs (1)
141while (xpsSchemaValidator.XmlReader.Read())
ReachFramework (4)
Packaging\XpsDocument.cs (1)
816while( xmlReader.Read() );
Packaging\XpsFixedDocumentReaderWriter.cs (1)
1091while (!endLoop && reader.Read())
Packaging\XPSSignatureDefinition.cs (2)
428while( !exitLoop && reader.Read() ) 573while (reader.Read() && !endLoop)
System.Configuration.ConfigurationManager (4)
System\Configuration\ConfigurationElement.cs (1)
1502while (reader.Read())
System\Configuration\ConfigurationSection.cs (1)
39if (!reader.Read() || (reader.NodeType != XmlNodeType.Element))
System\Configuration\DefaultSection.cs (1)
51if (!xmlReader.Read() || (xmlReader.NodeType != XmlNodeType.Element))
System\Configuration\IgnoreSection.cs (1)
51if (!xmlReader.Read() || (xmlReader.NodeType != XmlNodeType.Element))
System.Data.Common (72)
System\Data\Common\ObjectStorage.cs (2)
402xmlReader.Read(); // need to move to next node 446xmlReader.Read();
System\Data\DataSet.cs (9)
1738reader.Read(); 1786reader.Read(); 1795reader.Read(); 2168reader.Read(); 2219reader.Read(); 2482reader.Read(); 2497reader.Read(); 2527reader.Read(); 2714reader.Read();
System\Data\DataTable.cs (12)
5784reader.Read(); 5799reader.Read(); 5866reader.Read(); 5947reader.Read(); 6026reader.Read(); 6052reader.Read(); 6135reader.Read(); 6179reader.Read(); 6296reader.Read(); 6333reader.Read(); 6348reader.Read(); 6369reader.Read();
System\Data\SQLTypes\SqlXml.cs (3)
150reader.Read(); 191reader.Read(); 245reader.Read();
System\Data\XmlDataLoader.cs (21)
633_dataReader.Read(); 641_dataReader.Read(); // Not found? Read next element. 763_dataReader.Read(); // Advance to next element. 791_dataReader.Read(); // Continue to the next element. 816_dataReader.Read(); // We don't process that, skip to the next element. 821_dataReader.Read(); // Proceed to the next element. 968if (_dataReader.Read() && entryDepth < _dataReader.Depth) 991_dataReader.Read(); // Advance to next element. 1026_dataReader.Read(); // Not a table? Try next element. 1050_dataReader.Read(); // We don't process that, skip to the next element. 1055_dataReader.Read(); // We're done here, proceed to the next element. 1198while (_dataReader.Read() && (entryDepth < _dataReader.Depth)) ; 1200_dataReader.Read(); // And start reading next element. 1208_dataReader.Read(); // if UDT is wrapped, skip the wrapper 1230_dataReader.Read(); // if Wrapper is skipped, skip its end tag 1238if (_dataReader.Read() && entryDepth < _dataReader.Depth) 1255while (_dataReader.Read() && entryDepth < _dataReader.Depth && IsTextLikeNode(_dataReader.NodeType)) 1301_dataReader.Read(); // Already loaded, proceed to the next element 1329_dataReader.Read(); // No match? Try next element 1338_dataReader.Read(); // We don't process that, skip to the next element. 1343_dataReader.Read(); // We're done here. To the next element.
System\Data\XMLDiffLoader.cs (24)
27reader.Read(); // now the reader points to the error section 34reader.Read(); // pass the end of errors tag 64reader.Read(); // now the reader points to the error section 71reader.Read(); // pass the end of errors tag 85ssync.Read(); // pass the before node. 137ssync.Read(); // pass the before node. 187ssync.Read(); // pass the before node. 200ssync.Read(); // we may be inside a column 212ssync.Read(); 215ssync.Read(); 227ssync.Read(); // pass the before node. 254ssync.Read(); // we may be inside a column 266ssync.Read(); 269ssync.Read(); 350row.Read(); 361row.Read(); 383row.Read(); // consume the current node 384row.Read(); // now points to the next column 398row.Read(); // if UDT is wrapped, skip the wrapper 424row.Read(); // if Wrapper is skipped, skip its end tag 430row.Read(); 440row.Read(); // now points to the next column 452row.Read(); //now it should point to next row 461reader.Read();
System\Data\xmlsaver.cs (1)
3477return _xmlreader.Read();
System.IO.Packaging (13)
System\IO\Packaging\PackagingUtilities.cs (1)
34if (reader.Read() && reader.NodeType == XmlNodeType.XmlDeclaration && reader.Depth == 0)
System\IO\Packaging\PartBasedPackageProperties.cs (2)
515while (reader.Read() && reader.MoveToContent() != XmlNodeType.None) 641reader.Read();
System\IO\Packaging\XmlCompatibilityReader.cs (7)
148bool more = Reader.Read(); //passed as ref arg to ReadStartElement and ReadEndElement 237more = Reader.Read(); 307more = Reader.Read(); 319more = Reader.Read(); 1115more = Reader.Read(); 1219more = Reader.Read(); 1296more = Reader.Read();
System\IO\Packaging\XmlWrappingReader.cs (1)
97return _reader.Read();
System\IO\Packaging\ZipPackage.cs (2)
994while (reader.Read()) 1221reader.Read();
System.Private.DataContractSerialization (52)
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (1)
103reader.Read();
System\Runtime\Serialization\XmlReaderDelegator.cs (2)
178return reader.Read(); 182return reader.Read();
System\Runtime\Serialization\XmlSerializableReader.cs (1)
62return reader.Read();
System\Runtime\Serialization\XmlSerializableServices.cs (1)
35xmlReader.Read();
System\Xml\XmlBaseReader.cs (17)
854while (Read()); 1000Read(); 1188Read(); 1193Read(); 1205Read(); 1210Read(); 1233Read(); 1239Read(); 1245Read(); 1259Read(); 1282Read(); 1323Read(); 1363Read(); 1399Read(); 1729while (Read() && depth < Depth) 1735Read(); 1739Read();
System\Xml\XmlBinaryWriter.cs (2)
1197reader.Read(); 1218reader.Read();
System\Xml\XmlDictionaryReader.cs (24)
251Read(); 259Read(); 267Read(); 275Read(); 281Read(); 439Read(); 463if (!Read()) 484if (!Read()) 575if (!Read()) 580if (!Read()) 691Read(); 711Read(); 731Read(); 751Read(); 771Read(); 791Read(); 811Read(); 831Read(); 862Read(); 893Read(); 928Read(); 948Read(); 968Read(); 1513return _reader.Read();
System\Xml\XmlDictionaryWriter.cs (4)
315reader.Read(); 344reader.Read(); 371reader.Read(); 429if (!reader.Read())
System.Private.Xml (102)
System\Xml\Core\ReadContentAsBinaryHelper.cs (5)
247_reader.Read(); 280_reader.Read(); 294_reader.Read(); 407_reader.Read(); 445} while (_reader.Read());
System\Xml\Core\XmlAsyncCheckReader.cs (1)
502return _coreReader.Read();
System\Xml\Core\XmlCharCheckingReader.cs (1)
181if (!base.reader.Read())
System\Xml\Core\XmlReader.cs (29)
700if (!Read()) 713if (!Read()) 741} while (Read()); 752Read(); 764Read(); 782Read(); 802Read(); 808Read(); 812Read(); 840Read(); 844Read(); 872Read(); 876Read(); 889Read(); 921while (Read()) 942while (Read()) 981while (Read() && Depth > parentDepth) 1023while (Read() && Depth > parentDepth) 1112Read(); 1140while (Read() && d < Depth) 1183Read(); 1215Read(); 1393while (Read() && depth < Depth) 1400return Read(); 1404return Read(); 1505} while (AttributeCount != 0 ? ReadAttributeValue() : Read()); 1521Read(); 1532Read(); 1552Read();
System\Xml\Core\XmlSubtreeReader.cs (4)
491if (reader.Read()) 554reader.Read(); 557while (reader.Depth > _initialDepth && reader.Read()) 593if (reader.Read())
System\Xml\Core\XmlTextReaderImpl.cs (12)
1393while (_outerReader.Read() && _index > initialDepth) ; 1403_outerReader.Read(); 1569if (!_outerReader.Read()) 2227_outerReader.Read(); 2261_outerReader.Read(); 2295_outerReader.Read(); 5895_outerReader.Read(); 8248_outerReader.Read(); 8923_outerReader.Read(); 8939_outerReader.Read(); 8977} while (_outerReader.Read()); 9467_outerReader.Read();
System\Xml\Core\XmlValidatingReaderImpl.cs (4)
543if (_coreReader.Read()) 756if (!_outerReader.Read()) 969if (!_outerReader.Read()) 1055while (_outerReader.Read() && _coreReader.Depth > initialDepth) ;
System\Xml\Core\XmlWrappingReader.cs (1)
105return reader.Read();
System\Xml\Core\XmlWriter.cs (1)
418} while (reader.Read() && (d < reader.Depth || (d == reader.Depth && reader.NodeType == XmlNodeType.EndElement)));
System\Xml\Core\XmlWriterAsync.cs (1)
352} while (reader.Read() && (d < reader.Depth || (d == reader.Depth && reader.NodeType == XmlNodeType.EndElement)));
System\Xml\Core\XsdCachingReader.cs (4)
409if (_coreReader.Read()) 455return _coreReader.Read(); 548while (_coreReader.Read() && _coreReader.Depth > startDepth) 551_coreReader.Read();
System\Xml\Core\XsdValidatingReader.cs (5)
1412if (_coreReader.Read()) 2331if (_coreReader.Read()) 2519while (_coreReader.Read()) 2593while (_coreReader.Read()) 2654if (_coreReader.Read())
System\Xml\Dom\XmlLoader.cs (9)
48if (!_reader.Read()) 63if (!_reader.Read()) 81reader.Read(); 89reader.Read(); 235while (r.Read()); 363while (_reader.Read() && _reader.NodeType != XmlNodeType.EndEntity) 559while (r.Read()); 763while (_reader.Read() && (node = LoadNodeDirect()) != null) 771while (_reader.Read() && (node = LoadNode(true)) != null)
System\Xml\Schema\Inference\Infer.cs (4)
186while (_xtr.NodeType != XmlNodeType.Element && _xtr.Read()) ; 692_xtr.Read(); 782do { _xtr.Read(); } while ((!_xtr.EOF) && ((_xtr.NodeType == XmlNodeType.CDATA) || (_xtr.NodeType == XmlNodeType.Text) || (_xtr.NodeType == XmlNodeType.Comment) || (_xtr.NodeType == XmlNodeType.ProcessingInstruction) || (_xtr.NodeType == XmlNodeType.Whitespace) || (_xtr.NodeType == XmlNodeType.SignificantWhitespace) || (_xtr.NodeType == XmlNodeType.XmlDeclaration))); 958_xtr.Read();
System\Xml\Schema\Parser.cs (2)
52while (ParseReaderNode() && reader.Read()) { } 70while (reader.NodeType != XmlNodeType.Element && reader.Read()) { }
System\Xml\Schema\Preprocessor.cs (1)
387while (reader.Read()) ; // wellformness check
System\Xml\Schema\XmlSchemaSet.cs (1)
248while (reader.Read()) ; // wellformness check;
System\Xml\Schema\XmlSchemaValidator.cs (1)
1853while (Reader.Read()) ; // wellformness check
System\Xml\Serialization\XmlSerializationReader.cs (3)
1206_r.Read(); 1399_r.Read(); 1410Reader.Read();
System\Xml\XPath\XPathDocument.cs (2)
182if (topLevelReader && !reader.Read()) 286while (reader.Read());
System\Xml\XPath\XPathNavigator.cs (3)
1047while (validatingReader.Read()) 2036if (!reader.Read()) 2134while (reader.Read() && (level > 0));
System\Xml\Xsl\Xslt\XsltInput.cs (8)
257_reader.Read(); 260_reader.Read(); 398_reader.Read(); 420_reader.Read(); 424_reader.Read(); 475_reader.Read(); 479_reader.Read(); 509_reader.Read();
System.Private.Xml.Linq (10)
System\Xml\Linq\XComment.cs (1)
50r.Read();
System\Xml\Linq\XContainer.cs (2)
836while (cr.ReadContentFrom(this, r) && r.Read()) ; 849while (cr.ReadContentFromContainer(this, r) && r.Read()) ;
System\Xml\Linq\XDeclaration.cs (1)
65r.Read();
System\Xml\Linq\XDocument.cs (1)
425if (reader.ReadState == ReadState.Initial) reader.Read();
System\Xml\Linq\XDocumentType.cs (1)
52r.Read();
System\Xml\Linq\XElement.cs (2)
2020r.Read(); 2024r.Read();
System\Xml\Linq\XProcessingInstruction.cs (1)
55r.Read();
System\Xml\Linq\XText.cs (1)
42r.Read();
System.Xaml (9)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (7)
165bool more = Reader.Read(); //passed as ref arg to ReadStartElement and ReadEndElement 254more = Reader.Read(); 324more = Reader.Read(); 336more = Reader.Read(); 1172more = Reader.Read(); 1276more = Reader.Read(); 1353more = Reader.Read();
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
104return _reader.Read();
System\Xaml\Parser\XamlScanner.cs (1)
163if (_xmlReader.Read())