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