46 references to XmlTextReader
Microsoft.Build.Engine.UnitTests (4)
EscapingInProjects_Tests.cs (3)
832using System.Xml.XmlReader reader = new System.Xml.XmlTextReader(new StringReader(projectString)); 878using System.Xml.XmlReader reader = new System.Xml.XmlTextReader(new StringReader(projectString)); 910using System.Xml.XmlReader reader = new System.Xml.XmlTextReader(new StringReader(projectString));
Instance\HostServices_Tests.cs (1)
506using var xmlReader = new XmlTextReader(new StringReader(contents));
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
PDB\CSharpPDBTestBase.cs (1)
49using (var reader = new XmlTextReader(new StringReader(pdb)) { DtdProcessing = DtdProcessing.Prohibit })
PresentationFramework (5)
MS\Internal\Ink\ClipboardProcessor.cs (1)
341UIElement newElement = XamlReader.Load(new XmlTextReader(new StringReader(xml))) as UIElement;
MS\Internal\Ink\XamlClipboardData.cs (1)
96UIElement element = XamlReader.Load(new System.Xml.XmlTextReader(new System.IO.StringReader(xml)), useRestrictiveXamlReader: true) as UIElement;
System\windows\Documents\TextEditorCopyPaste.cs (1)
913object xamlObject = XamlReader.Load(new XmlTextReader(new System.IO.StringReader(pasteXaml)), useRestrictiveXamlReader: true);
System\Windows\Documents\TextRange.cs (1)
1372object xamlObject = XamlReader.Load(new XmlTextReader(new System.IO.StringReader(value)), _useRestrictiveXamlXmlReader);
System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (1)
369embeddedObject = (DependencyObject)XamlReader.Load(new XmlTextReader(new StringReader(_xml)));
System.Configuration.ConfigurationManager (1)
System\Configuration\ConfigXmlReader.cs (1)
25base(new StringReader(rawXml))
System.Data.Common (28)
System\Data\Common\ObjectStorage.cs (1)
345using (XmlTextReader xmlTextReader = new XmlTextReader(strReader))
System\Data\Common\SQLTypes\SQLBinaryStorage.cs (1)
107using (XmlTextReader xmlTextReader = new XmlTextReader(strReader))
System\Data\Common\SQLTypes\SQlBooleanStorage.cs (1)
141using (XmlTextReader xmlTextReader = new XmlTextReader(strReader))
System\Data\Common\SQLTypes\SQLBytesStorage.cs (1)
105using (XmlTextReader xmlTextReader = new XmlTextReader(strReader))
System\Data\Common\SQLTypes\SQLByteStorage.cs (1)
217using (XmlTextReader xmlTextReader = new XmlTextReader(strReader))
System\Data\Common\SQLTypes\SQLCharsStorage.cs (1)
108using (XmlTextReader xmlTextReader = new XmlTextReader(strReader))
System\Data\Common\SQLTypes\SQLDateTimeStorage.cs (1)
143using (XmlTextReader xmlTextReader = new XmlTextReader(strReader))
System\Data\Common\SQLTypes\SQLDecimalStorage.cs (1)
215using (XmlTextReader xmlTextReader = new XmlTextReader(strReader))
System\Data\Common\SQLTypes\SQLDoubleStorage.cs (1)
216using (XmlTextReader xmlTextReader = new XmlTextReader(strReader))
System\Data\Common\SQLTypes\SQLGuidStorage.cs (1)
108using (XmlTextReader xmlTextReader = new XmlTextReader(strReader))
System\Data\Common\SQLTypes\SQLInt16Storage.cs (1)
216using (XmlTextReader xmlTextReader = new XmlTextReader(strReader))
System\Data\Common\SQLTypes\SQLInt32Storage.cs (1)
216using (XmlTextReader xmlTextReader = new XmlTextReader(strReader))
System\Data\Common\SQLTypes\SQLInt64Storage.cs (1)
217using (XmlTextReader xmlTextReader = new XmlTextReader(strReader))
System\Data\Common\SQLTypes\SQLMoneyStorage.cs (1)
216using (XmlTextReader xmlTextReader = new XmlTextReader(strReader))
System\Data\Common\SQLTypes\SQLSingleStorage.cs (1)
214using (XmlTextReader xmlTextReader = new XmlTextReader(strReader))
System\Data\Common\SQLTypes\SQLStringStorage.cs (1)
169using (XmlTextReader xmlTextReader = new XmlTextReader(strReader))
System\Data\Common\SqlUDTStorage.cs (1)
157using (XmlTextReader xmlTextReader = new XmlTextReader(strReader))
System\Data\DataSet.cs (6)
478ReadXmlSchema(new XmlTextReader(new StringReader(strSchema)), true); 501ReadXml(new XmlTextReader(new StringReader(strData)), XmlReadMode.DiffGram); 1640InferXmlSchema(new XmlTextReader(reader), nsArray); 1894ReadXmlSchema(new XmlTextReader(reader), false); 2369XmlTextReader xr = new XmlTextReader(reader); 2860XmlTextReader xmlreader = (mode == XmlReadMode.Fragment) ? new XmlTextReader(reader.ReadToEnd(), XmlNodeType.Element, null) : new XmlTextReader(reader);
System\Data\DataTable.cs (4)
327ds.ReadXmlSchema(new XmlTextReader(new StringReader(strSchema))); 339ds.ReadXml(new XmlTextReader(new StringReader(strData)), XmlReadMode.DiffGram); 5666XmlTextReader xr = new XmlTextReader(reader); 6451ReadXmlSchema(new XmlTextReader(reader), false);
System\Data\DataViewManager.cs (1)
109var r = new XmlTextReader(new StringReader(value));
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\SchemaExporter.cs (1)
69XmlSchema? schema = XmlSchema.Read(new XmlTextReader(reader) { DtdProcessing = DtdProcessing.Prohibit }, null);
System\Runtime\Serialization\SchemaImporter.cs (1)
53XmlSchema? schema = XmlSchema.Read(new XmlTextReader(reader) { DtdProcessing = DtdProcessing.Prohibit }, null);
System.Private.Xml (2)
System\Xml\Schema\XmlSchema.cs (1)
62return Read(new XmlTextReader(reader), validationEventHandler);
System\Xml\Serialization\XmlSerializer.cs (1)
455XmlTextReader xmlReader = new XmlTextReader(textReader);
System.Windows.Forms (3)
System\Resources\ResXResourceReader.cs (2)
250contentReader = new XmlTextReader(new StringReader(_fileContents)); 254contentReader = new XmlTextReader(_reader);
System\Resources\ResXResourceWriter.cs (1)
178XmlTextReader reader = new(new StringReader(ResourceSchema))