26 types derived from XmlReader
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
15private sealed class XmlReaderNoIXmlLineInfo : XmlReader
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
21internal class XmlWrappingReader : XmlReader, IXmlLineInfo, IXmlNamespaceResolver {
System.Data.Common (1)
System\Data\xmlsaver.cs (1)
3300internal sealed class DataTextReader : XmlReader
System.IO.Packaging (1)
System\IO\Packaging\XmlWrappingReader.cs (1)
13internal class XmlWrappingReader : XmlReader, IXmlLineInfo, IXmlNamespaceResolver
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
16internal sealed class ExtensionDataReader : XmlReader
System\Runtime\Serialization\XmlSerializableReader.cs (1)
13internal sealed class XmlSerializableReader : XmlReader, IXmlLineInfo, IXmlTextParser // IXmlTextParser (Normalized, WhitespaceHandling) was added. Is it ever used?
System\Xml\XmlDictionaryReader.cs (1)
18public abstract class XmlDictionaryReader : XmlReader
System.Private.Xml (17)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
17internal sealed partial class XmlSqlBinaryReader : XmlReader, IXmlNamespaceResolver
System\Xml\Core\XmlAsyncCheckReader.cs (1)
11internal class XmlAsyncCheckReader : XmlReader
System\Xml\Core\XmlTextReader.cs (1)
16public class XmlTextReader : XmlReader, IXmlLineInfo, IXmlNamespaceResolver
System\Xml\Core\XmlTextReaderImpl.cs (1)
17internal sealed partial class XmlTextReaderImpl : XmlReader, IXmlLineInfo, IXmlNamespaceResolver
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
20internal sealed partial class XmlTextReaderImpl : XmlReader, IXmlLineInfo, IXmlNamespaceResolver
System\Xml\Core\XmlValidatingReader.cs (1)
15public class XmlValidatingReader : XmlReader, IXmlLineInfo, IXmlNamespaceResolver
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
17internal sealed partial class XmlValidatingReaderImpl : XmlReader, IXmlLineInfo, IXmlNamespaceResolver
System\Xml\Core\XmlValidatingReaderImplAsync.cs (1)
17internal sealed partial class XmlValidatingReaderImpl : XmlReader, IXmlLineInfo, IXmlNamespaceResolver
System\Xml\Core\XmlWrappingReader.cs (1)
12internal partial class XmlWrappingReader : XmlReader, IXmlLineInfo
System\Xml\Core\XmlWrappingReaderAsync.cs (1)
13internal partial class XmlWrappingReader : XmlReader, IXmlLineInfo
System\Xml\Core\XsdCachingReader.cs (1)
15internal sealed partial class XsdCachingReader : XmlReader, IXmlLineInfo
System\Xml\Core\XsdCachingReaderAsync.cs (1)
15internal sealed partial class XsdCachingReader : XmlReader, IXmlLineInfo
System\Xml\Core\XsdValidatingReader.cs (1)
40internal sealed partial class XsdValidatingReader : XmlReader, IXmlSchemaInfo, IXmlLineInfo, IXmlNamespaceResolver
System\Xml\Core\XsdValidatingReaderAsync.cs (1)
17internal sealed partial class XsdValidatingReader : XmlReader, IXmlSchemaInfo, IXmlLineInfo, IXmlNamespaceResolver
System\Xml\Dom\XmlNodeReader.cs (1)
1126public class XmlNodeReader : XmlReader, IXmlNamespaceResolver
System\Xml\XPath\XPathNavigatorReader.cs (1)
15internal class XPathNavigatorReader : XmlReader, IXmlNamespaceResolver
System\Xml\Xsl\XsltOld\ReaderOutput.cs (1)
13internal sealed class ReaderOutput : XmlReader, IRecordOutput
System.Private.Xml.Linq (1)
System\Xml\Linq\XNodeReader.cs (1)
8internal sealed class XNodeReader : XmlReader, IXmlLineInfo
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
21internal class XmlWrappingReader : XmlReader, IXmlLineInfo, IXmlNamespaceResolver {
1410 references to XmlReader
BoundTreeGenerator (2)
Program.cs (2)
51using (var reader = XmlReader.Create(infilename, new XmlReaderSettings { DtdProcessing = DtdProcessing.Prohibit }))
ConfigurationSchemaGenerator.Tests (2)
GeneratorTests.cs (2)
161using var reader = XmlReader.Create(stream);
CSharpSyntaxGenerator (2)
Program.cs (2)
88var reader = XmlReader.Create(inputFile, new XmlReaderSettings { DtdProcessing = DtdProcessing.Prohibit });
dotnet-svcutil-lib (2)
Metadata\ServiceDescriptor.cs (2)
123var xmlReader = await (Task<System.Xml.XmlReader>)methodInfo.Invoke(typeInstance, new object[] { MetadataUrl });
Extensibility.MessageEncoder.IntegrationTests (2)
CustomTextMessageEncoder.cs (2)
56XmlReader reader = XmlReader.Create(stream);
ILLink.Tasks (2)
CreateRuntimeRootDescriptorFile.cs (2)
305 using XmlReader reader = XmlReader.Create (sr, new XmlReaderSettings () { XmlResolver = null });
IOperationGenerator (2)
Program.cs (2)
25using (var reader = XmlReader.Create(inFileName, new XmlReaderSettings { DtdProcessing = DtdProcessing.Prohibit }))
Microsoft.AspNetCore.Mvc.Formatters.Xml (18)
ProblemDetailsWrapper.cs (3)
46public virtual void ReadXml(XmlReader reader) 71/// <param name="reader">The <see cref="XmlReader"/>.</param> 73protected virtual void ReadValue(XmlReader reader, string name)
SerializableErrorWrapper.cs (2)
55/// <param name="reader">The <see cref="XmlReader"/> stream from which the object is deserialized.</param> 56public void ReadXml(XmlReader reader)
ValidationProblemDetailsWrapper.cs (2)
39protected override void ReadValue(XmlReader reader, string name) 54private void ReadErrorProperty(XmlReader reader)
XmlDataContractSerializerInputFormatter.cs (4)
142using var xmlReader = CreateXmlReader(readStream, encoding); 181/// Called during deserialization to get the <see cref="XmlReader"/>. 185/// <returns>The <see cref="XmlReader"/> used during deserialization.</returns> 186protected virtual XmlReader CreateXmlReader(Stream readStream, Encoding encoding)
XmlSerializerInputFormatter.cs (7)
126using var xmlReader = CreateXmlReader(readStream, encoding, type); 192/// Called during deserialization to get the <see cref="XmlReader"/>. 197/// <returns>The <see cref="XmlReader"/> used during deserialization.</returns> 198protected virtual XmlReader CreateXmlReader(Stream readStream, Encoding encoding, Type type) 204/// Called during deserialization to get the <see cref="XmlReader"/>. 208/// <returns>The <see cref="XmlReader"/> used during deserialization.</returns> 209protected virtual XmlReader CreateXmlReader(Stream readStream, Encoding encoding)
Microsoft.Build (41)
BackEnd\Components\SdkResolution\SdkResolverManifest.cs (3)
74using (XmlReader reader = XmlReader.Create(stream, readerSettings)) 102private static SdkResolverManifest ParseSdkResolverElement(XmlReader reader, string filePath)
Construction\ProjectRootElement.cs (10)
163internal ProjectRootElement(XmlReader xmlReader, ProjectRootElementCacheBase projectRootElementCache, bool isExplicitlyLoaded, 199using (XmlReader xr = XmlReader.Create(new StringReader(emptyProjectFile), xrs)) 801public static ProjectRootElement Create(XmlReader xmlReader) 811public static ProjectRootElement Create(XmlReader xmlReader, ProjectCollection projectCollection) 821public static ProjectRootElement Create(XmlReader xmlReader, ProjectCollection projectCollection, bool preserveFormatting) 1620/// See <see cref="ProjectRootElement.ReloadFrom(XmlReader, bool, bool?)"/> 1633/// See <see cref="ProjectRootElement.ReloadFrom(XmlReader, bool, bool?)"/> 1668public void ReloadFrom(XmlReader reader, bool throwIfUnsavedChanges = true, bool? preserveFormatting = null) 2105private static XmlDocumentWithLocation LoadDocument(XmlReader reader, bool preserveFormatting)
Construction\Solution\ProjectInSolution.cs (2)
306using (XmlReader xmlReader = XmlReader.Create(fs, xrSettings))
Construction\Solution\SolutionFile.cs (2)
1148using (XmlReader xmlReader = XmlReader.Create(fs, readerSettings))
Definition\Project.cs (10)
287public Project(XmlReader xmlReader) 302public Project(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion) 318public Project(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection) 335public Project(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) 353public Project(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) 358private Project(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings, 527/// Create a <see cref="XmlReader"/> based project. 529/// <param name="reader">The <see cref="XmlReader"/> to evaluate the project from.</param> 531public static Project FromXmlReader(XmlReader reader, ProjectOptions options) 1904public ProjectImpl(Project owner, XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
Definition\ProjectCollection.cs (3)
1228public Project LoadProject(XmlReader xmlReader) 1240public Project LoadProject(XmlReader xmlReader, string toolsVersion) 1253public Project LoadProject(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion)
ElementLocation\XmlDocumentWithLocation.cs (1)
126public override void Load(XmlReader reader)
Instance\ProjectInstance.cs (2)
2990using (XmlReader xmlReader = XmlReader.Create(sr, xrs))
ObjectModelRemoting\ConstructionObjectLinks\ProjectRootElementLink.cs (2)
206/// Facilitate remoting the <see cref="ProjectRootElement.ReloadFrom(XmlReader, bool, bool?)"/>. 208public abstract void ReloadFrom(XmlReader reader, bool throwIfUnsavedChanges, bool preserveFormatting);
SolutionConfiguration.cs (2)
118using (XmlReader reader = XmlReader.Create(new StringReader(xmlString), settings))
Xml\XmlReaderExtension.cs (4)
74internal XmlReader Reader { get; } 85private static XmlReader GetXmlReader(string file, StreamReader input, bool loadAsReadOnly, out Encoding encoding) 93XmlReader reader = new XmlTextReader(uri, input) { DtdProcessing = DtdProcessing.Ignore }; 106private static Encoding GetEncodingFromAttribute(XmlReader reader)
Microsoft.Build.BuildCheck.UnitTests (2)
TestAssemblyInfo.cs (2)
115using (XmlReader xr = XmlReader.Create(File.OpenRead(potentialVersionsPropsPath), xrs))
Microsoft.Build.CommandLine.UnitTests (2)
TestAssemblyInfo.cs (2)
115using (XmlReader xr = XmlReader.Create(File.OpenRead(potentialVersionsPropsPath), xrs))
Microsoft.Build.Engine.OM.UnitTests (146)
Construction\ProjectChooseElement_Tests.cs (9)
37ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 55ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 74ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 98ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 117ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 137ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 157ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 177ProjectRootElement project = ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 253ProjectRootElement.Create(XmlReader.Create(new StringReader(content)));
Construction\ProjectExtensionsElement_Tests.cs (2)
55ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 74ProjectRootElement.Create(XmlReader.Create(new StringReader(content)));
Construction\ProjectImportElement_Tests.cs (4)
48ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 65ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 82ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 144ProjectRootElement project = ProjectRootElement.Create(XmlReader.Create(new StringReader(content)));
Construction\ProjectImportGroupElement_Tests.cs (5)
189ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 209ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 229ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 246ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 356ProjectRootElement project = ProjectRootElement.Create(XmlReader.Create(new StringReader(content)));
Construction\ProjectItemDefinitionElement_Tests.cs (1)
196ProjectRootElement.Create(XmlReader.Create(new StringReader(content)));
Construction\ProjectItemDefinitionGroupElement_Tests.cs (1)
44ProjectRootElement.Create(XmlReader.Create(new StringReader(content)));
Construction\ProjectItemElement_Tests.cs (13)
134ProjectRootElement.Create(XmlReader.Create(new StringReader(project))); 162ProjectRootElement.Create(XmlReader.Create(new StringReader(project))); 190ProjectRootElement.Create(XmlReader.Create(new StringReader(project))); 218ProjectRootElement.Create(XmlReader.Create(new StringReader(project))); 238() => { ProjectRootElement.Create(XmlReader.Create(new StringReader(project))); }); 261() => { ProjectRootElement.Create(XmlReader.Create(new StringReader(project))); }); 303ProjectRootElement.Create(XmlReader.Create(new StringReader(project))); 447ProjectRootElement.Create(XmlReader.Create(new StringReader(project))); 472ProjectRootElement.Create(XmlReader.Create(new StringReader(project))); 497ProjectRootElement.Create(XmlReader.Create(new StringReader(project))); 529ProjectRootElement.Create(XmlReader.Create(new StringReader(project))); 557ProjectRootElement.Create(XmlReader.Create(new StringReader(project))); 585ProjectRootElement.Create(XmlReader.Create(new StringReader(project)));
Construction\ProjectMetadataElement_Tests.cs (8)
61ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 82ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 105ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 127ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 150ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 172ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 198ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 385ProjectRootElement.Create(XmlReader.Create(new StringReader(content)));
Construction\ProjectOnErrorElement_Tests.cs (7)
80ProjectRootElement project = ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 106ProjectRootElement project = ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 129ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 150ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 170ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 190ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 210ProjectRootElement.Create(XmlReader.Create(new StringReader(content)));
Construction\ProjectOutputElement_Tests.cs (7)
69ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 91ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 113ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 135ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 159ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 181ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 203ProjectRootElement.Create(XmlReader.Create(new StringReader(content)));
Construction\ProjectPropertyElement_Tests.cs (5)
72ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 91ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 110ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 129ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 150ProjectRootElement.Create(XmlReader.Create(new StringReader(content)));
Construction\ProjectRootElement_Tests.cs (24)
274ProjectRootElement.Create(XmlReader.Create(new StringReader("XXX"))); 287ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 303ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 320ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 335ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 352ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 406ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 467var reader1 = XmlReader.Create(path); 472var reader2 = XmlReader.Create(path); 559XmlReader reader = XmlReader.Create(new StringReader("<Project xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\"/>")); 1345using var xmlReader = XmlReader.Create(new StringReader(ObjectModelHelpers.CleanupFileContents(SimpleProject))); 1528XmlReader.Create(new StringReader(c)), 1602using var xmlReader = XmlReader.Create(new StringReader(changedProjectContents1)); 1643XmlReader.Create( 1755using var xmlReader = XmlReader.Create(new StringReader(ObjectModelHelpers.CleanupFileContents(ComplexProject))); 1810XmlReader.Create( 1830XmlReader.Create( 1846XmlReader.Create(new StringReader(ObjectModelHelpers.CleanupFileContents(c))),
Construction\ProjectTargetElement_Tests.cs (2)
174ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 191ProjectRootElement.Create(XmlReader.Create(new StringReader(content)));
Construction\ProjectUsingTaskElement_Tests.cs (14)
45ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 62ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 79ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 96ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 113ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 130ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 147ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 164ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 181ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 358ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 378ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 397ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 445ProjectRootElement project = ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 466ProjectRootElement project = ProjectRootElement.Create(XmlReader.Create(new StringReader(content)));
Construction\UsingTaskBodyElement_Tests.cs (2)
48ProjectRootElement.Create(XmlReader.Create(new StringReader(content))); 68ProjectRootElement.Create(XmlReader.Create(new StringReader(content)));
Construction\UsingTaskParameterElement_Tests.cs (1)
92ProjectRootElement.Create(XmlReader.Create(new StringReader(content)));
Construction\UsingTaskParameterGroup_Tests.cs (1)
129ProjectRootElement.Create(XmlReader.Create(new StringReader(content)));
Definition\Project_Tests.cs (16)
246XmlReader reader = XmlReader.Create(new StringReader(String.Empty)); 259XmlReader reader = XmlReader.Create(new StringReader(String.Empty)); 273XmlReader reader = XmlReader.Create(new StringReader(ProjectRootElement.Create().RawXml)); 292XmlReader reader = XmlReader.Create(new StringReader(String.Empty)); 306using XmlReader reader = XmlReader.Create(new StringReader(emptyProject + emptyProject), new XmlReaderSettings { ConformanceLevel = ConformanceLevel.Fragment }); 1532using var xmlReaderChangedContent = XmlReader.Create(new StringReader(changedImportContents)); 1597using (var xmlReaderChangedContents = XmlReader.Create(new StringReader(changedProjectContents))) 2655Project project = new Project(XmlReader.Create(new StringReader(projectOriginalContents))); 2703Project project = new Project(XmlReader.Create(new StringReader(projectOriginalContents)));
Definition\ProjectCollection_Tests.cs (12)
249using XmlReader reader = CreateProjectXmlReader(); 265using XmlReader reader = CreateProjectXmlReader(); 1267using XmlReader reader = CreateProjectXmlReader(); 1276using var reader2 = CreateProjectXmlReader(); 1285using var reader3 = CreateProjectXmlReader(); 1294using var reader4 = CreateProjectXmlReader(); 1303using var reader5 = CreateProjectXmlReader(); 1313using var reader6 = CreateProjectXmlReader(); 1321using var reader7 = CreateProjectXmlReader(); 1471private static XmlReader CreateProjectXmlReader() 1474XmlReader reader = XmlReader.Create(new StringReader(xml.RawXml));
Definition\ProjectItemDefinition_Tests.cs (8)
485Project project = new Project(XmlReader.Create(new StringReader(content))); 507Project project = new Project(XmlReader.Create(new StringReader(content))); 529Project project = new Project(XmlReader.Create(new StringReader(content))); 551Project project = new Project(XmlReader.Create(new StringReader(content))); 573Project project = new Project(XmlReader.Create(new StringReader(content))); 595Project project = new Project(XmlReader.Create(new StringReader(content))); 617Project project = new Project(XmlReader.Create(new StringReader(content))); 639Project project = new Project(XmlReader.Create(new StringReader(content)));
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectRootElementLink.cs (2)
143public void ReloadFrom(XmlReader reader, bool throwIfUnsavedChanges, bool preserveFormatting) { this.ProjectXml.ReloadFrom(reader, throwIfUnsavedChanges, preserveFormatting); } 330public override void ReloadFrom(XmlReader reader, bool throwIfUnsavedChanges, bool preserveFormatting)
TestAssemblyInfo.cs (2)
115using (XmlReader xr = XmlReader.Create(File.OpenRead(potentialVersionsPropsPath), xrs))
Microsoft.Build.Engine.UnitTests (38)
BackEnd\BuildRequestConfiguration_Tests.cs (2)
558using var xmlReader = XmlReader.Create(new StringReader(projectContents));
BackEnd\OnError_Tests.cs (1)
559Project p = new Project(XmlReader.Create(new StringReader(ObjectModelHelpers.CleanupFileContents(@"
BackEnd\ResultsCache_Tests.cs (2)
313using XmlReader xmlReader = XmlReader.Create(textReader);
Construction\XmlReaderWithoutLocation_Tests.cs (5)
17private XmlReader _wrappedReader; 19public XmlReaderNoIXmlLineInfo(XmlReader wrappedReader) 158XmlReader reader = XmlReader.Create(new StringReader( 162using XmlReader noLineInfoReader = new XmlReaderNoIXmlLineInfo(reader);
Definition\ItemDefinitionGroup_Tests.cs (7)
165Project p = new Project(XmlReader.Create(new StringReader( 194Project p = new Project(XmlReader.Create(new StringReader( 222Project p = new Project(XmlReader.Create(new StringReader( 816Project p = new Project(XmlReader.Create(new StringReader(@" 835Project p = new Project(XmlReader.Create(new StringReader(@" 851Project p = new Project(XmlReader.Create(new StringReader(@" 1062Project p = new Project(XmlReader.Create(new StringReader(@"
Definition\Project_Internal_Tests.cs (2)
335using (XmlReader xmlReader = XmlReader.Create(projectRootElement.FullPath))
Definition\ProjectEvaluationContext_Tests.cs (2)
205using var xmlReader = XmlReader.Create(new StringReader("<Project Sdk=\"foo\"></Project>"));
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));
Evaluation\Evaluator_Tests.cs (3)
1071Project project = new Project(XmlReader.Create(new StringReader(manifest)), null, null, pc, ProjectLoadSettings.RejectCircularImports); 3139Project project = new Project(XmlReader.Create(new StringReader(content)), globalProperties, null); 4987new Project(XmlReader.Create(new StringReader(projectContents)), null, "Fake", fakeProjectCollection));
Evaluation\Preprocessor_Tests.cs (1)
366using (XmlReader xr = XmlTextReader.Create(sr))
Evaluation\ProjectSdkImplicitImport_Tests.cs (8)
305Project project = new Project(ProjectRootElement.Create(XmlReader.Create(new StringReader(content)))); 329() => new Project(ProjectRootElement.Create(XmlReader.Create(new StringReader(content))))); 397ProjectRootElement.Create(XmlReader.Create(new StringReader(content))))); 421Project project = new Project(ProjectRootElement.Create(XmlReader.Create(new StringReader(content)))); 519using var xmlReader = XmlReader.Create(new StringReader(projectContents)); 665using var xmlReader = XmlReader.Create(new StringReader(projectContents));
TestAssemblyInfo.cs (2)
115using (XmlReader xr = XmlReader.Create(File.OpenRead(potentialVersionsPropsPath), xrs))
Microsoft.Build.Framework.UnitTests (2)
TestAssemblyInfo.cs (2)
115using (XmlReader xr = XmlReader.Create(File.OpenRead(potentialVersionsPropsPath), xrs))
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (57)
TargetTests.cs (57)
28XmlReader xmlReader = XmlReader.Create(new StringReader($@" 48XmlReader xmlReader = XmlReader.Create(new StringReader($@" 72XmlReader xmlReader = XmlReader.Create(new StringReader($@" 96XmlReader xmlReader = XmlReader.Create(new StringReader($@" 121XmlReader xmlReader = XmlReader.Create(new StringReader($@" 148XmlReader xmlReader = XmlReader.Create(new StringReader($@" 180XmlReader xmlReader = XmlReader.Create(new StringReader($@" 213XmlReader xmlReader = XmlReader.Create(new StringReader($@" 242XmlReader xmlReader = XmlReader.Create(new StringReader($@" 281XmlReader xmlReader = XmlReader.Create(new StringReader($@" 323XmlReader xmlReader = XmlReader.Create(new StringReader($@" 359XmlReader xmlReader = XmlReader.Create(new StringReader($@" 418XmlReader xmlReader = XmlReader.Create(new StringReader($@" 446XmlReader xmlReader = XmlReader.Create(new StringReader($@" 470XmlReader xmlReader = XmlReader.Create(new StringReader($@" 496XmlReader xmlReader = XmlReader.Create(new StringReader($@" 523XmlReader xmlReader = XmlReader.Create(new StringReader($@" 545XmlReader xmlReader = XmlReader.Create(new StringReader($@" 577XmlReader xmlReader = XmlReader.Create(new StringReader($@" 594XmlReader xmlReader = XmlReader.Create(new StringReader($@" 619XmlReader xmlReader = XmlReader.Create(new StringReader($@" 644XmlReader xmlReader = XmlReader.Create(new StringReader($@" 684XmlReader xmlReader = XmlReader.Create(new StringReader($@" 737XmlReader xmlReader = XmlReader.Create(new StringReader($@" 799XmlReader xmlReader = XmlReader.Create(new StringReader($@" 868XmlReader xmlReader = XmlReader.Create(new StringReader($@" 883XmlReader xmlReader = XmlReader.Create(new StringReader($@" 903XmlReader xmlReader = XmlReader.Create(new StringReader($""" 924private static ProjectInstance CreateProjectInstance(XmlReader reader)
Microsoft.Build.Tasks.Core (71)
AddToWin32Manifest.cs (2)
160using (XmlReader xr = XmlReader.Create(stream, new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true }))
AppConfig\AppConfig.cs (3)
25XmlReader reader = null; 38reader = XmlReader.Create(fs, readerSettings); 78internal void Read(XmlReader reader)
AppConfig\BindingRedirect.cs (1)
35internal void Read(XmlReader reader)
AppConfig\DependentAssembly.cs (1)
42internal void Read(XmlReader reader)
AppConfig\RuntimeSection.cs (1)
19internal void Read(XmlReader reader)
AssemblyDependency\GenerateBindingRedirects.cs (2)
340using (XmlReader xr = XmlReader.Create(File.OpenRead(appConfigItem.ItemSpec), xrs))
BootstrapperUtil\BootstrapperBuilder.cs (4)
544using (var xr = XmlReader.Create(fs, xrs)) 844using (XmlReader xmlReader = XmlReader.Create(streamReader, xmlReaderSettings, filePath))
GenerateApplicationManifest.cs (2)
456using (XmlReader xr = XmlReader.Create(s, xrSettings))
ManifestUtil\ApplicationManifest.cs (2)
532using (XmlReader xr = XmlReader.Create(fs, xrs))
ManifestUtil\AssemblyIdentity.cs (4)
198using (XmlReader xmlReader = XmlReader.Create(fs, readerSettings)) 217using (XmlReader xr = XmlReader.Create(s, xrSettings))
ManifestUtil\DeployManifest.cs (2)
218using (XmlReader xr = XmlReader.Create(fs, xrSettings))
ManifestUtil\Manifest.cs (2)
381using (XmlReader xr = XmlReader.Create(fs, xrSettings))
ManifestUtil\ManifestReader.cs (8)
73using (XmlReader xr = XmlReader.Create(m, xrSettings)) 81using (XmlReader xr = XmlReader.Create(s, xrSettings)) 232using XmlReader r = XmlReader.Create(s, settings); 246using (XmlReader xr = XmlReader.Create(s, xrSettings))
ManifestUtil\mansign2.cs (2)
621using (XmlReader reader = XmlReader.Create(stringReader, settings, manifestDom.BaseURI))
ManifestUtil\SecurityUtil.cs (2)
700using (XmlReader xr = XmlReader.Create(fs, xrSettings))
ManifestUtil\TrustInfo.cs (4)
456using (XmlReader xr = XmlReader.Create(s, xrSettings)) 706using (XmlReader xr = XmlReader.Create(input, xrSettings))
ManifestUtil\XmlUtil.cs (2)
100using (XmlReader reader = XmlReader.Create(clonedInput))
RedistList.cs (5)
653XmlReader reader = null; 665reader = XmlReader.Create(fs, readerSettings); 727private static void ParseRemapSection(AssemblyTableInfo assemblyTableInfo, string path, string redistName, XmlReader reader, List<AssemblyRemapping> mapping) 784private static void ParseFileListSection(AssemblyTableInfo assemblyTableInfo, string path, string redistName, XmlReader reader, Dictionary<string, AssemblyEntry> assemblyEntries, List<AssemblyRemapping> remapEntries) 828private static AssemblyEntry ReadFileListEntry(AssemblyTableInfo assemblyTableInfo, string path, string redistName, XmlReader reader, bool fullFusionNameRequired)
SolutionConfiguration.cs (2)
118using (XmlReader reader = XmlReader.Create(new StringReader(xmlString), settings))
XmlPeek.cs (6)
82using (XmlReader xr = xmlinput.CreateReader(ProhibitDtd)) 179using (XmlReader reader = XmlReader.Create(new StringReader("<Namespaces>" + namepaces + "</Namespaces>"), settings)) 282public XmlReader CreateReader(bool prohibitDtd) 291return XmlReader.Create(_fs, settings: settings); 295return XmlReader.Create(new StringReader(_data), settings: settings);
XmlPoke.cs (4)
69using (XmlReader sr = XmlReader.Create(fs, xrs)) 165using (XmlReader reader = XmlReader.Create(new StringReader("<Namespaces>" + namepaces + "</Namespaces>"), settings))
XslTransformation.cs (10)
171using (XmlReader xr = xmlinput.CreateReader(i)) 217using (XmlReader reader = XmlReader.Create(new StringReader("<XsltParameters>" + xsltParametersXml + "</XsltParameters>"), settings)) 329public XmlReader CreateReader(int itemPos) 333return XmlReader.Create(new StreamReader(_data[itemPos]), new XmlReaderSettings { CloseInput = true }, _data[itemPos]); 337return XmlReader.Create(new StringReader(_data[itemPos])); 456using var xmlReader = XmlReader.Create(sr); 470using (XmlReader reader = XmlReader.Create(new StreamReader(_data), new XmlReaderSettings { CloseInput = true }, _data))
Microsoft.Build.Tasks.UnitTests (2)
TestAssemblyInfo.cs (2)
115using (XmlReader xr = XmlReader.Create(File.OpenRead(potentialVersionsPropsPath), xrs))
Microsoft.Build.UnitTests.Shared (7)
ObjectModelHelpers.cs (2)
666XmlReader.Create(new StringReader(cleanedProject)), 731XmlReader.Create(new StringReader(CleanupFileContents(xml)), readerSettings),
ProjectFromString.cs (5)
19private XmlReader _reader; 38_reader = XmlReader.Create(new StringReader(s)); 52private XmlReader _reader; 66_reader = XmlReader.Create(new StringReader(s)); 73_reader = XmlReader.Create(new StringReader(s));
Microsoft.Build.Utilities.Core (6)
PlatformManifest.cs (2)
102using (XmlReader xmlReader = XmlReader.Create(fs, readerSettings))
SDKManifest.cs (2)
321using (XmlReader xmlReader = XmlReader.Create(fs, readerSettings))
ToolLocationHelper.cs (2)
3133using (XmlReader reader = XmlReader.Create(fs, readerSettings))
Microsoft.Build.Utilities.UnitTests (2)
TestAssemblyInfo.cs (2)
115using (XmlReader xr = XmlReader.Create(File.OpenRead(potentialVersionsPropsPath), xrs))
Microsoft.CodeAnalysis (13)
Desktop\AssemblyPortabilityPolicy.cs (3)
49private static bool ReadToChild(XmlReader reader, int depth, string elementName, string elementNamespace = "") 65using (XmlReader xml = XmlReader.Create(input, s_xmlSettings))
DocumentationComments\DocumentationCommentIncludeCache.cs (2)
55using (XmlReader reader = XmlReader.Create(stream, s_xmlSettings))
DocumentationComments\XmlDocumentationCommentTextReader.cs (3)
15/// As a performance optimization, this class tries to re-use the same underlying <see cref="XmlReader"/> instance 20private XmlReader _reader; 43_reader = XmlReader.Create(_textReader, s_xmlSettings);
DocumentationComments\XmlDocumentationCommentTextReader.XmlStream.cs (3)
27/// We use <see cref="XmlReader"/> to validate XML doc comments. Unfortunately it cannot be reset and thus can't be pooled. 32/// at the end. That should be sufficient for <see cref="XmlReader"/> to not reach the end of this reader before the next 74public static bool ReachedEnd(XmlReader reader)
RuleSet\RuleSetProcessor.cs (2)
69using (XmlReader xmlReader = XmlReader.Create(stream, settings))
Microsoft.CodeAnalysis.Features (4)
PdbSourceDocument\ImplementationAssemblyLookupService.cs (2)
162using var xr = XmlReader.Create(fr);
SymbolSearch\Windows\SymbolSearchUpdateEngine.Update.cs (2)
568using var reader = XmlReader.Create(stream, settings);
Microsoft.CodeAnalysis.Workspaces (10)
Shared\Utilities\DocumentationComment.cs (2)
166private static void ParseCallback(XmlReader reader, CommentBuilder builder) 228private void ParseCallback(XmlReader reader)
Shared\Utilities\XmlFragmentParser.cs (6)
18/// PERF: We try to re-use the same underlying <see cref="XmlReader"/> to reduce the allocation costs of multiple parses. 22private XmlReader _xmlReader; 36/// It is important that the <paramref name="callback"/> action advances the <see cref="XmlReader"/>, 39public static void ParseFragment<TArg>(string xmlFragment, Action<XmlReader, TArg> callback, TArg arg) 57private void ParseInternal<TArg>(string text, Action<XmlReader, TArg> callback, TArg arg) 61_xmlReader ??= XmlReader.Create(_textReader, s_xmlSettings);
Utilities\Documentation\XmlDocumentationProvider.cs (2)
62using var xmlReader = XmlReader.Create(stream, s_xmlSettings);
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\BuildHostProcessManager.cs (2)
302using var xmlReader = XmlReader.Create(fileStream, s_xmlSettings);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
Build\ProjectBuildManager.cs (2)
98using var xmlReader = XmlReader.Create(readStream, s_xmlReaderSettings);
Microsoft.DotNet.XliffTasks (4)
Model\XlfDocument.cs (4)
311XmlReader xmlSchemaReader = XmlReader.Create(xmlSchemaResourceStream); 313XmlReader xliffSchemaReader = XmlReader.Create(xliffSchemaResourceStream);
Microsoft.Extensions.Configuration.Xml (12)
XmlDocumentDecryptor.cs (8)
55/// Creates an <see cref="XmlReader"/> that decrypts data transparently. 58/// <param name="settings">The settings for the new <see cref="XmlReader"/> instance.</param> 59/// <returns>An <see cref="XmlReader"/> that decrypts data transparently.</returns> 62public XmlReader CreateDecryptingXmlReader(Stream input, XmlReaderSettings? settings) 72using (var reader = XmlReader.Create(memStream, settings)) 91return XmlReader.Create(memStream, settings); 103protected virtual XmlReader DecryptDocumentAndCreateXmlReader(XmlDocument document)
XmlStreamConfigurationProvider.cs (4)
51using (XmlReader reader = decryptor.CreateDecryptingXmlReader(stream, readerSettings)) 192private static string GetLineInfo(XmlReader reader) 199private static void ReadAttributes(XmlReader reader, XmlConfigurationElement element) 231private static string? GetName(XmlReader reader)
Microsoft.Svcutil.NamedPipeMetadataImporter (5)
NamedPipeMetadataImporter.cs (5)
22public XmlReader GetReader(Uri uri) 30public async Task<XmlReader> GetMetadatadataAsync(Uri uri) 40var tcs = new TaskCompletionSource<XmlReader>(); 75public void RequestCallback(IAsyncResult result, TaskCompletionSource<XmlReader> tcs) 87XmlReader xmlReader = response.GetReaderAtBodyContents();
Microsoft.VisualStudio.LanguageServices (2)
ColorSchemes\ColorSchemeApplier.ColorSchemeReader.cs (2)
27using var xmlReader = XmlReader.Create(schemeStream, s_xmlSettings);
netstandard (1)
netstandard.cs (1)
2496[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlReader))]
PresentationBuildTasks (15)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
783XmlReader xmlReader = xamlDefTagNode.XmlReader;
MS\Internal\MarkupCompiler\ParserExtension.cs (1)
393XmlReader xmlReader,
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlNodes.cs (3)
1966XmlReader xmlReader, 1980internal XmlReader XmlReader 1993XmlReader _xmlReader;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlParser.cs (1)
1068XmlReader reader,
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (3)
125XmlReader xmlReader) 5237internal XmlReader XmlReader 6815XmlReader _xmlReader;
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (3)
49public XmlCompatibilityReader(XmlReader baseReader) 72public XmlCompatibilityReader(XmlReader baseReader, 79public XmlCompatibilityReader(XmlReader baseReader,
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (3)
25protected XmlReader _reader; 32internal XmlWrappingReader( XmlReader baseReader ) { 174protected XmlReader Reader {
PresentationCore (4)
MS\Internal\FontFace\CompositeFontParser.cs (4)
234private XmlReader CreateXmlReader(Stream fileStream) 243XmlReader baseReader = XmlReader.Create(fileStream, settings); 960private XmlReader _reader;
PresentationFramework (44)
MS\Internal\Annotations\Serializer.cs (1)
89public object Deserialize(XmlReader reader)
MS\Internal\IO\Packaging\XamlFilter.cs (2)
1017private XmlReader _topLevelReader; 1029private XmlReader _xamlReader;
System\Windows\Annotations\Annotation.cs (4)
271public void ReadXml(XmlReader reader) 515internal static bool IsNamespaceDeclaration(XmlReader reader) 545internal static void CheckForNonNamespaceAttribute(XmlReader reader, string elementName) 603private void ReadAttributes(XmlReader reader)
System\Windows\Annotations\AnnotationResource.cs (2)
167public void ReadXml(XmlReader reader) 434private void ReadAttributes(XmlReader reader)
System\Windows\Annotations\LocatorGroup.cs (1)
127public void ReadXml(XmlReader reader)
System\Windows\Annotations\LocatorPartList.cs (1)
210public void ReadXml(XmlReader reader)
System\Windows\Data\XmlDataProvider.cs (5)
407public void ReadXml(XmlReader reader) 419private void ParseInline(XmlReader xmlReader) 457XmlReader xmlReader = (XmlReader) arg; 462private void CreateDocFromInlineXml(XmlReader xmlReader)
System\Windows\Documents\FixedFindEngine.cs (2)
373XmlReader xmlReader = new XmlCompatibilityReader(xmlTextReader, _predefinedNamespaces); 380xmlReader = XmlReader.Create(xmlReader, settings);
System\Windows\Documents\FixedSchema.cs (6)
89XmlReader xmlReader = xmlTextReader; 100xmlReader = XmlReader.Create(xmlReader, schema.GetXmlReaderSettings()); 116XmlReader 126XmlReader _compatReader; 136XmlReader xmlReader, 150XmlReader xmlReader )
System\Windows\Documents\XPSS0ValidatingLoader.cs (2)
69XmlReader reader = XmlReader.Create(stream, null, pc);
System\Windows\Markup\ParserContext.cs (1)
132internal ParserContext( XmlReader xmlReader )
System\Windows\Markup\RestrictiveXamlXmlReader.cs (2)
73public RestrictiveXamlXmlReader(XmlReader xmlReader, XamlSchemaContext schemaContext, XamlXmlReaderSettings settings) : base(xmlReader, schemaContext, settings) 80internal RestrictiveXamlXmlReader(XmlReader xmlReader, XamlSchemaContext schemaContext, XamlXmlReaderSettings settings, List<Type> safeTypes) : base(xmlReader, schemaContext, settings)
System\Windows\Markup\XamlNodes.cs (1)
1966XmlReader xmlReader,
System\Windows\Markup\XamlReader.cs (14)
69XmlReader xmlReader = XmlReader.Create(stringReader); 130public static object Load(XmlReader reader) 143public static object Load(XmlReader reader, bool useRestrictiveXamlReader) 179XmlReader reader = XmlReader.Create(stream, null, parserContext); 236public object LoadAsync(XmlReader reader) 255public object LoadAsync(XmlReader reader, bool useRestrictiveXamlReader) 324private object LoadAsync(XmlReader reader, ParserContext parserContext) 329private object LoadAsync(XmlReader reader, ParserContext parserContext, bool useRestrictiveXamlReader) 798XmlReader reader, 818XmlReader reader, 840XmlReader reader, 1176private XmlReader _xmlReader;
ReachFramework (9)
Packaging\XpsDocument.cs (1)
823XmlReader xmlReader = new XmlTextReader( stream );
Packaging\XpsFixedDocumentReaderWriter.cs (1)
1090XmlReader reader,
Packaging\XpsFixedPageReaderWriter.cs (2)
152XmlReader XmlReader { get; } 549public XmlReader XmlReader
Packaging\XPSSignatureDefinition.cs (5)
412ReadXML( XmlReader reader ) 457ReadAttributes( XmlReader reader ) 547ReadElement( XmlReader reader ) 573ReadData( XmlReader reader ) 606ReadEndElement( XmlReader reader )
System.Configuration.ConfigurationManager (19)
System\Configuration\AppSettingsSection.cs (2)
88protected internal override void DeserializeElement(XmlReader reader, bool serializeCollectionKey) 136(XmlReader)internalReader);
System\Configuration\ConfigurationElement.cs (4)
508internal void CheckLockedElement(string elementName, XmlReader reader) 1383protected internal virtual void DeserializeElement(XmlReader reader, bool serializeCollectionKey) 1708private static object DeserializePropertyValue(ConfigurationProperty prop, XmlReader reader) 1853protected virtual bool OnDeserializeUnrecognizedElement(string elementName, XmlReader reader)
System\Configuration\ConfigurationElementCollection.cs (1)
1094protected override bool OnDeserializeUnrecognizedElement(string elementName, XmlReader reader)
System\Configuration\ConfigurationErrorsException.cs (4)
66public ConfigurationErrorsException(string message, XmlReader reader) : 70public ConfigurationErrorsException(string message, Exception inner, XmlReader reader) : 242public static int GetLineNumber(XmlReader reader) 247public static string GetFilename(XmlReader reader)
System\Configuration\ConfigurationSection.cs (1)
37protected internal virtual void DeserializeSection(XmlReader reader)
System\Configuration\DefaultSection.cs (1)
49protected internal override void DeserializeSection(XmlReader xmlReader)
System\Configuration\IgnoreSection.cs (1)
49protected internal override void DeserializeSection(XmlReader xmlReader)
System\Configuration\PropertySourceInfo.cs (3)
11internal PropertySourceInfo(XmlReader reader) 21private static string GetFilename(XmlReader reader) 28private static int GetLineNumber(XmlReader reader)
System\Configuration\SettingValueElement.cs (1)
32protected internal override void DeserializeElement(XmlReader reader, bool serializeCollectionKey)
System\Diagnostics\SourceElementsCollection.cs (1)
72protected internal override void DeserializeElement(XmlReader reader, bool serializeCollectionKey)
System.Data.Common (88)
System\Data\Common\DataStorage.cs (1)
277public virtual object ConvertXmlToObject(XmlReader xmlReader, XmlRootAttribute? xmlAttrib)
System\Data\Common\ObjectStorage.cs (1)
359public override object ConvertXmlToObject(XmlReader xmlReader, XmlRootAttribute? xmlAttrib)
System\Data\Common\SqlUDTStorage.cs (1)
171public override object ConvertXmlToObject(XmlReader xmlReader, XmlRootAttribute? xmlAttrib)
System\Data\DataColumn.cs (1)
1765internal object ConvertXmlToObject(XmlReader xmlReader, XmlRootAttribute? xmlAttrib)
System\Data\DataSet.cs (18)
196protected SchemaSerializationMode DetermineSchemaSerializationMode(XmlReader reader) 1570public void InferXmlSchema(XmlReader? reader, string[]? nsArray) 1650/// Reads the XML schema from the specified <see cref="System.Xml.XmlReader" /> into the <see cref="System.Data.DataSet" /> 1653public void ReadXmlSchema(XmlReader? reader) => ReadXmlSchema(reader, false); 1656internal void ReadXmlSchema(XmlReader? reader, bool denyResolving) 1768internal static bool MoveToElement(XmlReader reader, int depth) 1777private static void MoveToElement(XmlReader reader) 1784internal static void ReadEndElement(XmlReader reader) 1801internal void ReadXSDSchema(XmlReader reader) 1841internal void ReadXDRSchema(XmlReader reader) 2035public XmlReadMode ReadXml(XmlReader? reader) => ReadXml(reader, false); 2038internal XmlReadMode ReadXml(XmlReader? reader, bool denyResolving) 2414private void ReadXmlDiffgram(XmlReader reader) 2545public XmlReadMode ReadXml(XmlReader? reader, XmlReadMode mode) => ReadXml(reader, mode, false); 2548internal XmlReadMode ReadXml(XmlReader? reader, XmlReadMode mode, bool denyResolving) 3376protected virtual void ReadXmlSerializable(XmlReader reader) 3495void IXmlSerializable.ReadXml(XmlReader reader) 3533private void ReadXmlSerializableInternal(XmlReader reader)
System\Data\DataTable.cs (14)
5662public XmlReadMode ReadXml(XmlReader? reader) => ReadXml(reader, false); 5676private bool IsEmptyXml(XmlReader reader) 5700internal XmlReadMode ReadXml(XmlReader? reader, bool denyResolving) 5943internal XmlReadMode ReadXml(XmlReader? reader, XmlReadMode mode, bool denyResolving) 6235internal static void ReadEndElement(XmlReader reader) 6250internal static void ReadXDRSchema(XmlReader reader) 6257internal static bool MoveToElement(XmlReader reader, int depth) 6267private void ReadXmlDiffgram(XmlReader reader) 6377internal void ReadXSDSchema(XmlReader reader) 6430public void ReadXmlSchema(XmlReader? reader) 6436internal void ReadXmlSchema(XmlReader? reader, bool denyResolving) 6700void IXmlSerializable.ReadXml(XmlReader reader) 6723private void ReadXmlSerializableInternal(XmlReader reader) 6746protected virtual void ReadXmlSerializable(XmlReader? reader) => ReadXml(reader, XmlReadMode.DiffGram, true);
System\Data\ProviderBase\SchemaMapping.cs (4)
344System.Xml.XmlReader reader = System.Xml.XmlReader.Create(new System.IO.StringReader(xml), settings, (string?)null); 613else if (typeof(System.Xml.XmlReader).IsAssignableFrom(fieldType)) 838else if (typeof(System.Xml.XmlReader).IsAssignableFrom(fieldType))
System\Data\SQLTypes\SQLBinary.cs (1)
414void IXmlSerializable.ReadXml(XmlReader reader)
System\Data\SQLTypes\SQLBoolean.cs (1)
481void IXmlSerializable.ReadXml(XmlReader reader)
System\Data\SQLTypes\SQLByte.cs (1)
490void IXmlSerializable.ReadXml(XmlReader reader)
System\Data\SQLTypes\SQLBytes.cs (1)
524void IXmlSerializable.ReadXml(XmlReader r)
System\Data\SQLTypes\SQLChars.cs (1)
490void IXmlSerializable.ReadXml(XmlReader r)
System\Data\SQLTypes\SQLDateTime.cs (1)
632void IXmlSerializable.ReadXml(XmlReader reader)
System\Data\SQLTypes\SQLDecimal.cs (1)
3349void IXmlSerializable.ReadXml(XmlReader reader)
System\Data\SQLTypes\SQLDouble.cs (1)
406void IXmlSerializable.ReadXml(XmlReader reader)
System\Data\SQLTypes\SQLGuid.cs (1)
295void IXmlSerializable.ReadXml(XmlReader reader)
System\Data\SQLTypes\SQLInt16.cs (1)
491void IXmlSerializable.ReadXml(XmlReader reader)
System\Data\SQLTypes\SQLInt32.cs (1)
506void IXmlSerializable.ReadXml(XmlReader reader)
System\Data\SQLTypes\SQLInt64.cs (1)
565void IXmlSerializable.ReadXml(XmlReader reader)
System\Data\SQLTypes\SQLMoney.cs (1)
562void IXmlSerializable.ReadXml(XmlReader reader)
System\Data\SQLTypes\SQLSingle.cs (1)
416void IXmlSerializable.ReadXml(XmlReader reader)
System\Data\SQLTypes\SQLString.cs (1)
922void IXmlSerializable.ReadXml(XmlReader reader)
System\Data\SQLTypes\SqlXml.cs (12)
19private static readonly Func<Stream, XmlReaderSettings, XmlParserContext?, XmlReader> s_sqlReaderDelegate = CreateSqlReaderDelegate(); 41public SqlXml(XmlReader? value) 72public XmlReader CreateReader() 91XmlReader r = CreateSqlXmlReader(stream); 96internal static XmlReader CreateSqlXmlReader(Stream stream, bool closeInput = false, bool throwTargetInvocationExceptions = false) 118private static Func<Stream, XmlReaderSettings, XmlParserContext?, XmlReader> CreateSqlReaderDelegate() 122return CreateSqlReaderMethodInfo.CreateDelegate<Func<Stream, XmlReaderSettings, XmlParserContext?, XmlReader>>(); 126s_createSqlReaderMethodInfo ??= typeof(System.Xml.XmlReader).GetMethod("CreateSqlReader", BindingFlags.Static | BindingFlags.NonPublic)!; 147XmlReader reader = CreateReader(); 177private static MemoryStream CreateMemoryStreamFromXmlReader(XmlReader reader) 208void IXmlSerializable.ReadXml(XmlReader r) 243XmlReader reader = CreateReader();
System\Data\XmlDataLoader.cs (3)
253private bool FIgnoreNamespace(XmlReader node) 547private XmlReader? _dataReader; 582internal void LoadData(XmlReader reader)
System\Data\XMLDiffLoader.cs (10)
19internal void LoadDiffGram(DataSet ds, XmlReader dataTextReader) 21XmlReader reader = DataTextReader.CreateReader(dataTextReader); 51internal void LoadDiffGram(DataTable dt, XmlReader dataTextReader) 53XmlReader reader = DataTextReader.CreateReader(dataTextReader); 74internal void ProcessDiffs(DataSet ds, XmlReader ssync) 125internal void ProcessDiffs(XmlReader ssync) 178internal static void ProcessErrors(DataSet ds, XmlReader ssync) 218internal void ProcessErrors(ArrayList dt, XmlReader ssync) 289private int ReadOldRowData(DataSet? ds, ref DataTable? table, ref int pos, XmlReader row) 452internal static void SkipWhitespaces(XmlReader reader)
System\Data\xmlsaver.cs (4)
3302private readonly XmlReader _xmlreader; 3304internal static XmlReader CreateReader(XmlReader xr) 3310private DataTextReader(XmlReader input)
System\Data\XmlToDatasetMap.cs (3)
57public object? this[XmlReader dataReader] 461public object? GetColumnSchema(DataTable table, XmlReader dataReader, bool fIgnoreNamespace) 492public DataTable? GetTableForNode(XmlReader node, bool fIgnoreNamespace)
System\Xml\XmlDataDocument.cs (1)
1178public override void Load(XmlReader reader)
System.IO.Packaging (24)
System\IO\Packaging\InternalRelationshipCollection.cs (2)
230using (XmlReader baseReader = XmlReader.Create(s))
System\IO\Packaging\PackagingUtilities.cs (2)
29internal static void PerformInitialReadAndVerifyEncoding(XmlReader reader) 83internal static int GetNonXmlnsAttributeCount(XmlReader reader)
System\IO\Packaging\PartBasedPackageProperties.cs (6)
373private void RecordNewBinding(PackageXmlEnum propertyenum, object? value, bool initializing, XmlReader? reader) 485using (XmlReader reader = XmlReader.Create(stream, xrs)) 602internal static void ValidateXsiType(XmlReader reader, object ns, string name) 636private static string GetStringData(XmlReader reader) 656private static DateTime GetDateData(XmlReader reader)
System\IO\Packaging\XmlCompatibilityReader.cs (4)
31public XmlCompatibilityReader(XmlReader baseReader) 54public XmlCompatibilityReader(XmlReader baseReader, 61public XmlCompatibilityReader(XmlReader baseReader, 74public XmlCompatibilityReader(XmlReader baseReader,
System\IO\Packaging\XmlWrappingReader.cs (3)
15protected XmlReader _reader; 19internal XmlWrappingReader(XmlReader baseReader) 172protected XmlReader Reader
System\IO\Packaging\ZipPackage.cs (7)
967using (XmlReader reader = XmlReader.Create(s, xrs)) 1161private void ProcessDefaultTagAttributes(XmlReader reader) 1188private void ProcessOverrideTagAttributes(XmlReader reader) 1217private static void ProcessEndElement(XmlReader reader, string elementName) 1275private static void ValidateXmlAttribute(string attributeName, string? attributeValue, string tagName, XmlReader reader) 1287private static void ThrowIfXmlAttributeMissing(string attributeName, string? attributeValue, string tagName, XmlReader reader)
System.Private.DataContractSerialization (34)
System\Runtime\Serialization\DataContractSerializer.cs (3)
311public override object? ReadObject(XmlReader reader) 318public override object? ReadObject(XmlReader reader, bool verifyObjectName) 325public override bool IsStartObject(XmlReader reader)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (3)
221public override bool IsStartObject(XmlReader reader) 246public override object? ReadObject(XmlReader reader) 253public override object? ReadObject(XmlReader reader, bool verifyObjectName)
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (2)
16public JsonReaderDelegator(XmlReader reader) 21public JsonReaderDelegator(XmlReader reader, DateTimeFormat? dateTimeFormat)
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (1)
257protected override XmlReaderDelegator CreateReaderDelegatorForReader(XmlReader xmlReader)
System\Runtime\Serialization\SchemaExporter.cs (2)
355using var xmlReader = XmlReader.Create(new StringReader(stringWriter.ToString()));
System\Runtime\Serialization\SchemaImporter.cs (1)
602XmlSchema serializationSchema = XmlSchema.Read(XmlReader.Create(new StringReader(Globals.SerializationSchema)), null)!; // Source is our constant. Schema is valid.
System\Runtime\Serialization\XmlObjectSerializer.cs (3)
279public virtual object? ReadObject(XmlReader reader) 295public virtual object? ReadObject(XmlReader reader, bool verifyObjectName) 308public virtual bool IsStartObject(XmlReader reader)
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
1092protected virtual XmlReaderDelegator CreateReaderDelegatorForReader(XmlReader xmlReader)
System\Runtime\Serialization\XmlReaderDelegator.cs (3)
15protected XmlReader reader; 19public XmlReaderDelegator(XmlReader reader) 27internal XmlReader UnderlyingReader
System\Runtime\Serialization\XmlSerializableReader.cs (3)
18private XmlReader _innerReader = null!; // initialized in BeginRead 20private XmlReader InnerReader 53XmlReader reader = this.InnerReader;
System\Runtime\Serialization\XmlSerializableServices.cs (2)
12public static XmlNode[] ReadNodes(XmlReader xmlReader) 47private static bool IsValidAttribute(XmlReader xmlReader)
System\Xml\XmlDictionaryAsyncCheckWriter.cs (4)
103public override void WriteAttributes(XmlReader reader, bool defattr) 109public override Task WriteAttributesAsync(XmlReader reader, bool defattr) 277public override void WriteNode(XmlReader reader, bool defattr) 283public override Task WriteNodeAsync(XmlReader reader, bool defattr)
System\Xml\XmlDictionaryReader.cs (3)
22public static XmlDictionaryReader CreateDictionaryReader(XmlReader reader) 1314private readonly XmlReader _reader; 1317public XmlWrappedReader(XmlReader reader, XmlNamespaceManager? nsMgr)
System\Xml\XmlDictionaryWriter.cs (3)
375public override void WriteNode(XmlReader reader, bool defattr) 655public override void WriteAttributes(XmlReader reader, bool defattr) 731public override void WriteNode(XmlReader reader, bool defattr)
System.Private.Xml (300)
System\Xml\BinaryXml\XmlBinaryReader.cs (4)
364_data = new byte[XmlReader.DefaultBufferSize]; 365_end = stream.Read(_data, 0, XmlReader.DefaultBufferSize); 461return XmlReader.HasValueInternal(_nodetype); 3235XmlReader r = _textXmlReader;
System\Xml\Core\ReadContentAsBinaryHelper.cs (3)
19private readonly XmlReader _reader; 36internal ReadContentAsBinaryHelper(XmlReader reader) 48internal static ReadContentAsBinaryHelper CreateOrReset(ReadContentAsBinaryHelper? helper, XmlReader reader)
System\Xml\Core\XmlAsyncCheckReader.cs (10)
13private readonly XmlReader _coreReader; 16internal XmlReader CoreReader 24public static XmlAsyncCheckReader CreateAsyncCheckWrapper(XmlReader reader) 48public XmlAsyncCheckReader(XmlReader reader) 733public override XmlReader ReadSubtree() 736XmlReader subtreeReader = _coreReader.ReadSubtree(); 921public XmlAsyncCheckReaderWithNS(XmlReader reader) 949public XmlAsyncCheckReaderWithLineInfo(XmlReader reader) 983public XmlAsyncCheckReaderWithLineInfoNS(XmlReader reader) 1011public XmlAsyncCheckReaderWithLineInfoNSSchema(XmlReader reader)
System\Xml\Core\XmlAsyncCheckWriter.cs (4)
314public override void WriteAttributes(XmlReader reader, bool defattr) 320public override void WriteNode(XmlReader reader, bool defattr) 555public override Task WriteAttributesAsync(XmlReader reader, bool defattr) 563public override Task WriteNodeAsync(XmlReader reader, bool defattr)
System\Xml\Core\XmlCharCheckingReader.cs (2)
48internal XmlCharCheckingReader(XmlReader reader, bool checkCharacters, bool ignoreWhitespace, bool ignoreComments, bool ignorePis, DtdProcessing dtdProcessing) 640internal XmlCharCheckingReaderWithNS(XmlReader reader, IXmlNamespaceResolver readerAsNSResolver, bool checkCharacters, bool ignoreWhitespace, bool ignoreComments, bool ignorePis, DtdProcessing dtdProcessing)
System\Xml\Core\XmlRawWriter.cs (2)
204public override void WriteAttributes(XmlReader reader, bool defattr) 209public override void WriteNode(XmlReader reader, bool defattr)
System\Xml\Core\XmlRawWriterAsync.cs (2)
148public override Task WriteAttributesAsync(XmlReader reader, bool defattr) 153public override Task WriteNodeAsync(XmlReader reader, bool defattr)
System\Xml\Core\XmlReader.cs (20)
1267public virtual XmlReader ReadSubtree() 1571internal static ConformanceLevel GetV1ConformanceLevel(XmlReader reader) 1577private static XmlTextReaderImpl? GetXmlTextReaderImpl(XmlReader reader) 1609public static XmlReader Create(string inputUri) 1619public static XmlReader Create(string inputUri, XmlReaderSettings? settings) 1625public static XmlReader Create(string inputUri, XmlReaderSettings? settings, XmlParserContext? inputContext) 1632public static XmlReader Create(Stream input) 1642public static XmlReader Create(Stream input, XmlReaderSettings? settings) 1648public static XmlReader Create(Stream input, XmlReaderSettings? settings, string? baseUri) 1655public static XmlReader Create(Stream input, XmlReaderSettings? settings, XmlParserContext? inputContext) 1662public static XmlReader Create(TextReader input) 1672public static XmlReader Create(TextReader input, XmlReaderSettings? settings) 1678public static XmlReader Create(TextReader input, XmlReaderSettings? settings, string? baseUri) 1685public static XmlReader Create(TextReader input, XmlReaderSettings? settings, XmlParserContext? inputContext) 1692public static XmlReader Create(XmlReader reader, XmlReaderSettings? settings) 1701internal static XmlReader CreateSqlReader(Stream input, XmlReaderSettings? settings, XmlParserContext inputContext) 1707XmlReader reader; 1770private readonly XmlReader _reader; 1772internal XmlReaderDebuggerDisplayProxy(XmlReader reader)
System\Xml\Core\XmlReaderSettings.cs (22)
38private delegate XmlReader AddValidationFunc(XmlReader reader, XmlResolver? resolver, bool addConformanceWrapper); 319internal XmlReader CreateReader(string inputUri, XmlParserContext? inputContext) 327XmlReader reader = new XmlTextReaderImpl(inputUri, this, inputContext, tmpResolver); 343internal XmlReader CreateReader(Stream input, Uri? baseUri, string? baseUriString, XmlParserContext? inputContext) 350XmlReader reader = new XmlTextReaderImpl(input, null, 0, this, baseUri, baseUriString, inputContext, _closeInput); 366internal XmlReader CreateReader(TextReader input, string? baseUriString, XmlParserContext? inputContext) 373XmlReader reader = new XmlTextReaderImpl(input, this, baseUriString, inputContext); 389internal XmlReader CreateReader(XmlReader reader) 430internal XmlReader AddValidation(XmlReader reader) 446private XmlReader AddValidationAndConformanceWrapper(XmlReader reader) 457private XmlReader AddValidationAndConformanceInternal(XmlReader reader, XmlResolver? resolver, bool addConformanceWrapper) 480private XmlReader AddValidationInternal(XmlReader reader, XmlResolver? resolver, bool addConformanceWrapper) 503private XmlValidatingReaderImpl CreateDtdValidatingReader(XmlReader baseReader) 507private XmlReader AddConformanceWrapper(XmlReader baseReader) 521if (_conformanceLevel != ConformanceLevel.Auto && _conformanceLevel != XmlReader.GetV1ConformanceLevel(baseReader))
System\Xml\Core\XmlSubtreeReader.cs (1)
99internal XmlSubtreeReader(XmlReader reader) : base(reader)
System\Xml\Core\XmlTextReaderImpl.cs (9)
271private XmlReader _outerReader; 1551internal XmlReader OuterReader 1620if (!XmlReader.CanReadContentAs(_curNode.type)) 1667if (!XmlReader.CanReadContentAs(_curNode.type)) 1790if (!XmlReader.HasValueInternal(_curNode.type)) 2867bufferSize = XmlReader.CalcBufferSize(stream); 2928_ps.chars = new char[XmlReader.AsyncBufferSize + 1]; 2932_ps.chars = new char[XmlReader.DefaultBufferSize + 1]; 8902if (!XmlReader.IsTextualNode(_curNode.type))
System\Xml\Core\XmlTextReaderImplAsync.cs (7)
416if (!XmlReader.CanReadContentAs(_curNode.type)) 472if (!XmlReader.CanReadContentAs(_curNode.type)) 615if (!XmlReader.HasValueInternal(_curNode.type)) 894bufferSize = XmlReader.CalcBufferSize(stream); 957bufferSize = XmlReader.AsyncBufferSize; 961bufferSize = XmlReader.DefaultBufferSize; 5281if (!XmlReader.IsTextualNode(_curNode.type))
System\Xml\Core\XmlValidatingReader.cs (2)
25public XmlValidatingReader(XmlReader reader) 295public XmlReader Reader
System\Xml\Core\XmlValidatingReaderImpl.cs (7)
83private readonly XmlReader _coreReader; 111private XmlReader _outerReader; 118internal XmlValidatingReaderImpl(XmlReader reader) 199internal XmlValidatingReaderImpl(XmlReader reader, ValidationEventHandler? settingsEventHandler, bool processIdentityConstraints) 737internal XmlReader OuterReader 861internal XmlReader Reader 865return (XmlReader)_coreReader;
System\Xml\Core\XmlWrappingReader.cs (2)
17protected XmlReader reader; 23internal XmlWrappingReader(XmlReader baseReader)
System\Xml\Core\XmlWriter.cs (2)
313public virtual void WriteAttributes(XmlReader reader, bool defattr) 358public virtual void WriteNode(XmlReader reader, bool defattr)
System\Xml\Core\XmlWriterAsync.cs (5)
231public virtual Task WriteAttributesAsync(XmlReader reader, bool defattr) 236async Task Core(XmlReader reader, bool defattr) 280public virtual Task WriteNodeAsync(XmlReader reader, bool defattr) 296internal async Task WriteNodeAsync_CallSyncReader(XmlReader reader, bool defattr) 358internal async Task WriteNodeAsync_CallAsyncReader(XmlReader reader, bool defattr)
System\Xml\Core\XsdCachingReader.cs (5)
27private XmlReader _coreReader; 59internal XsdCachingReader(XmlReader reader, IXmlLineInfo? lineInfo, CachingEventHandler handlerMethod) 90internal void Reset(XmlReader reader) 157return XmlReader.HasValueInternal(_cachedNode!.NodeType); 635internal XmlReader GetCoreReader()
System\Xml\Core\XsdValidatingReader.cs (4)
60private XmlReader _coreReader; 126internal XsdValidatingReader(XmlReader reader, XmlResolver? xmlResolver, XmlReaderSettings readerSettings, XmlSchemaObject? partialValidationType) 164internal XsdValidatingReader(XmlReader reader, XmlResolver? xmlResolver, XmlReaderSettings readerSettings) 169private void SetupValidator(XmlReaderSettings readerSettings, XmlReader reader, XmlSchemaObject? partialValidationType)
System\Xml\Dom\XmlDocument.cs (2)
1181public virtual XmlNode? ReadNode(XmlReader reader) 1311public virtual void Load(XmlReader reader)
System\Xml\Dom\XmlLoader.cs (9)
16private XmlReader? _reader; 23internal void Load(XmlDocument doc, XmlReader reader, bool preserveWhitespace) 68internal XmlNode? ReadCurrentNode(XmlDocument doc, XmlReader reader) 99XmlReader r = _reader!; 253XmlReader r = _reader; 303XmlReader r = _reader; 322XmlReader r = _reader!; 458XmlReader r = _reader!; 566XmlReader r = _reader!;
System\Xml\Schema\Inference\Infer.cs (5)
106private XmlReader? _xtr; 164public XmlSchemaSet InferSchema(XmlReader instanceDocument) 169public XmlSchemaSet InferSchema(XmlReader instanceDocument, XmlSchemaSet schemas) 175internal XmlSchemaSet InferSchema1(XmlReader instanceDocument, XmlSchemaSet schemas) 1029internal XmlSchemaElement FindMatchingElement(bool bCreatingNewType, XmlReader xtr, XmlSchemaComplexType ct, ref int lastUsedSeqItem, XmlSchema? parentSchema, bool setMaxoccurs)
System\Xml\Schema\Parser.cs (5)
21private XmlReader? _reader; 49public SchemaType Parse(XmlReader reader, string? targetNamespace) 56public void StartParsing(XmlReader reader, string? targetNamespace) 335XmlReader r = _reader; 420XmlReader r = _reader;
System\Xml\Schema\ParserAsync.cs (1)
16public async Task StartParsingAsync(XmlReader reader, string? targetNamespace)
System\Xml\Schema\Preprocessor.cs (5)
359XmlReader? reader = null; 364reader = XmlReader.Create((Stream)obj, _readerSettings, ruri.ToString()); 366else if (returnType.IsSubclassOf(typeof(XmlReader))) 368reader = (XmlReader)obj; 374reader = XmlReader.Create((TextReader)obj, _readerSettings, ruri.ToString());
System\Xml\Schema\XdrBuilder.cs (2)
364private readonly XmlReader _reader; 397XmlReader reader,
System\Xml\Schema\XmlSchema.cs (1)
71public static XmlSchema? Read(XmlReader reader, ValidationEventHandler? validationEventHandler)
System\Xml\Schema\XmlSchemaAttribute.cs (2)
117internal XmlReader? Validate(XmlReader reader, XmlResolver? resolver, XmlSchemaSet schemaSet, ValidationEventHandler valEventHandler)
System\Xml\Schema\XmlSchemaCollection.cs (2)
116public XmlSchema? Add(string? ns, XmlReader reader) 126public XmlSchema? Add(string? ns, XmlReader reader, XmlResolver? resolver)
System\Xml\Schema\XmlSchemaElement.cs (2)
193internal XmlReader? Validate(XmlReader reader, XmlResolver? resolver, XmlSchemaSet schemaSet, ValidationEventHandler valEventHandler)
System\Xml\Schema\XmlSchemaSet.cs (6)
244XmlReader reader = XmlReader.Create(schemaUri, _readerSettings); 265public XmlSchema? Add(string? targetNamespace, XmlReader schemaDocument) 793internal void Add(string? targetNamespace, XmlReader reader, Hashtable validatedNamespaces) 893private void SetDtdProcessing(XmlReader reader) 1084internal XmlSchema? ParseSchema(string? targetNamespace, XmlReader reader)
System\Xml\Schema\XmlSchemaType.cs (2)
207internal XmlReader? Validate(XmlReader reader, XmlResolver? resolver, XmlSchemaSet schemaSet, ValidationEventHandler valEventHandler)
System\Xml\Schema\XmlSchemaValidator.cs (2)
1831XmlReader? Reader = null; 1839Reader = XmlReader.Create(stm, readerSettings, ruri.ToString());
System\Xml\Schema\XsdBuilder.cs (4)
120private readonly XmlReader _reader; 122public BuilderNamespaceManager(XmlNamespaceManager nsMgr, XmlReader reader) 624private readonly XmlReader _reader; 678XmlReader reader,
System\Xml\Serialization\Compilation.cs (2)
547internal bool CanRead(XmlMapping mapping, XmlReader xmlReader) 605internal object? InvokeReader(XmlMapping mapping, XmlReader xmlReader, XmlDeserializationEvents events, string? encodingStyle)
System\Xml\Serialization\IXmlSerializable.cs (1)
18void ReadXml(XmlReader reader);
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (4)
38public ReflectionXmlSerializationReader(XmlMapping mapping, XmlReader xmlReader, XmlDeserializationEvents events, string? encodingStyle) 928Func<object, string> readFunc = (state) => ((XmlReader)state).ReadElementContentAsString(); 2003value = WritePrimitive(attribute.Mapping!, (state) => ((XmlReader)state).Value, Reader); 2062private static bool XmlNodeEqual(XmlReader source, string name, string? ns)
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (1)
256_writer.Write(typeof(XmlReader).FullName);
System\Xml\Serialization\XmlSerializationILGen.cs (2)
73private static readonly Type[] s_xmlReaderType = new Type[] { typeof(XmlReader) }; 348MethodInfo XmlReader_IsStartElement = typeof(XmlReader).GetMethod(
System\Xml\Serialization\XmlSerializationReader.cs (3)
22private XmlReader _r = null!; 114internal void Init(XmlReader r, XmlDeserializationEvents events, string? encodingStyle) 156protected XmlReader Reader
System\Xml\Serialization\XmlSerializationReaderILGen.cs (46)
236MethodInfo XmlReader_get_NameTable = typeof(XmlReader).GetMethod( 290MethodInfo XmlReader_IsStartElement = typeof(XmlReader).GetMethod( 409MethodInfo XmlReader_MoveToContent = typeof(XmlReader).GetMethod( 524MethodInfo XmlReader_MoveToElement = typeof(XmlReader).GetMethod( 539MethodInfo XmlReader_get_IsEmptyElement = typeof(XmlReader).GetMethod( 549MethodInfo XmlReader_Skip = typeof(XmlReader).GetMethod( 564MethodInfo XmlReader_ReadStartElement = typeof(XmlReader).GetMethod( 660MethodInfo XmlReader_MoveToContent = typeof(XmlReader).GetMethod( 710MethodInfo XmlReader_ReadXXXString = typeof(XmlReader).GetMethod( 726MethodInfo XmlReader_get_Value = typeof(XmlReader).GetMethod( 760MethodInfo XmlReader_ReadXXXString = typeof(XmlReader).GetMethod( 776MethodInfo XmlReader_get_Value = typeof(XmlReader).GetMethod( 825MethodInfo XmlReader_method = typeof(XmlReader).GetMethod( 883MethodInfo XmlReader_ReadXXXString = typeof(XmlReader).GetMethod( 899MethodInfo XmlReader_get_Value = typeof(XmlReader).GetMethod( 1198MethodInfo XmlReader_ReadStartElement = typeof(XmlReader).GetMethod( 1223MethodInfo XmlReader_ReadString = typeof(XmlReader).GetMethod( 1632MethodInfo XmlReader_MoveToElement = typeof(XmlReader).GetMethod( 1642MethodInfo XmlReader_get_IsEmptyElement = typeof(XmlReader).GetMethod( 1651MethodInfo XmlReader_Skip = typeof(XmlReader).GetMethod( 1665MethodInfo XmlReader_ReadStartElement = typeof(XmlReader).GetMethod( 1681MethodInfo XmlReader_MoveToContent = typeof(XmlReader).GetMethod( 1766MethodInfo XmlReader_get_LocalName = typeof(XmlReader).GetMethod( 1771MethodInfo XmlReader_get_NamespaceURI = typeof(XmlReader).GetMethod( 1832MethodInfo XmlReader_MoveToNextAttribute = typeof(XmlReader).GetMethod( 1891MethodInfo XmlReader_get_Name = typeof(XmlReader).GetMethod( 1896MethodInfo XmlReader_get_LocalName = typeof(XmlReader).GetMethod( 1901MethodInfo XmlReader_get_Value = typeof(XmlReader).GetMethod( 1966MethodInfo XmlReader_get_Name = typeof(XmlReader).GetMethod( 1990new Type[] { typeof(XmlReader) } 2101MethodInfo XmlReader_get_Value = typeof(XmlReader).GetMethod( 2257MethodInfo XmlReader_get_NodeType = typeof(XmlReader).GetMethod( 2295MethodInfo XmlReader_get_NodeType = typeof(XmlReader).GetMethod( 2352MethodInfo XmlReader_ReadString = typeof(XmlReader).GetMethod( 2396MethodInfo XmlReader_ReadString = typeof(XmlReader).GetMethod( 2921MethodInfo XmlReader_get_IsEmptyElement = typeof(XmlReader).GetMethod( 2937MethodInfo XmlReader_Skip = typeof(XmlReader).GetMethod( 2947MethodInfo XmlReader_ReadStartElement = typeof(XmlReader).GetMethod( 2959MethodInfo XmlReader_MoveToContent = typeof(XmlReader).GetMethod( 3059MethodInfo XmlReader_get_IsEmptyElement = typeof(XmlReader).GetMethod( 3068MethodInfo XmlReader_Skip = typeof(XmlReader).GetMethod( 3090MethodInfo XmlReader_get_IsEmptyElement = typeof(XmlReader).GetMethod( 3100MethodInfo XmlReader_Skip = typeof(XmlReader).GetMethod( 3170MethodInfo XmlReader_Skip = typeof(XmlReader).GetMethod( 3389MethodInfo XmlReader_MoveToContent = typeof(XmlReader).GetMethod( 3414MethodInfo XmlReader_get_NodeType = typeof(XmlReader).GetMethod(
System\Xml\Serialization\XmlSerializer.cs (9)
423XmlReader xmlReader = XmlReader.Create(stream, new XmlReaderSettings() { IgnoreWhitespace = true }); 438public object? Deserialize(XmlReader xmlReader) 444public object? Deserialize(XmlReader xmlReader, XmlDeserializationEvents events) 450public object? Deserialize(XmlReader xmlReader, string? encodingStyle) 456public object? Deserialize(XmlReader xmlReader, string? encodingStyle, XmlDeserializationEvents events) 501private object? DeserializeUsingReflection(XmlReader xmlReader, string? encodingStyle, XmlDeserializationEvents events) 514public virtual bool CanDeserialize(XmlReader xmlReader) 904private object? DeserializePrimitive(XmlReader xmlReader, XmlDeserializationEvents events)
System\Xml\XmlNodeType.cs (1)
181/// replacement as a result of a call to <see cref='System.Xml.XmlReader.ResolveEntity'/>
System\Xml\XPath\XPathDocument.cs (3)
62public XPathDocument(XmlReader reader) : this(reader, XmlSpace.Default) 69public XPathDocument(XmlReader reader, XmlSpace space) 152internal void LoadFromReader(XmlReader reader, XmlSpace space)
System\Xml\XPath\XPathNavigator.cs (20)
551public virtual XmlReader ReadSubtree() 1045XmlReader validatingReader = GetValidatingReader(reader, schemas, validationEventHandler, schemaType, schemaElement, schemaAttribute); 1053private static XmlReader GetValidatingReader(XmlReader reader, XmlSchemaSet schemas, ValidationEventHandler validationEvent, XmlSchemaType? schemaType, XmlSchemaElement? schemaElement, XmlSchemaAttribute? schemaAttribute) 1073return XmlReader.Create(reader, readerSettings); 1298public virtual void ReplaceSelf(XmlReader newNode) 1318XmlReader reader = newNode.CreateReader(); 1447XmlReader reader = CreateContextReader(newChild, true); 1451public virtual void AppendChild(XmlReader newChild) 1468XmlReader reader = newChild.CreateReader(); 1474XmlReader reader = CreateContextReader(newChild, true); 1478public virtual void PrependChild(XmlReader newChild) 1495XmlReader reader = newChild.CreateReader(); 1501XmlReader reader = CreateContextReader(newSibling, false); 1505public virtual void InsertBefore(XmlReader newSibling) 1522XmlReader reader = newSibling.CreateReader(); 1528XmlReader reader = CreateContextReader(newSibling, false); 1532public virtual void InsertAfter(XmlReader newSibling) 1549XmlReader reader = newSibling.CreateReader(); 2022internal static void BuildSubtree(XmlReader reader, XmlWriter writer)
System\Xml\Xsl\QueryReaderSettings.cs (3)
35public QueryReaderSettings(XmlReader reader) 87public XmlReader CreateReader(Stream stream, string? baseUri) 89XmlReader reader;
System\Xml\Xsl\Runtime\WhitespaceRuleReader.cs (3)
17public static XmlReader CreateReader(XmlReader baseReader, WhitespaceRuleLookup? wsRules) 47private WhitespaceRuleReader(XmlReader baseReader, WhitespaceRuleLookup wsRules) : base(baseReader)
System\Xml\Xsl\Runtime\XmlQueryContext.cs (4)
51if (defaultDataSource is XmlReader) 53_readerSettings = new QueryReaderSettings((XmlReader)defaultDataSource); 172XmlReader reader = _readerSettings.CreateReader(stream, uriResolved?.ToString()); 185else if (dataSource is XmlReader reader)
System\Xml\Xsl\Xslt\XsltInput.cs (3)
23private readonly XmlReader _reader; 41public XsltInput(XmlReader reader, Compiler compiler, KeywordsTable atoms) 72private static void EnsureExpandEntities(XmlReader reader)
System\Xml\Xsl\Xslt\XsltLoader.cs (8)
47XmlReader? reader = stylesheet as XmlReader; 111private void Load(XmlReader reader) 200private XmlReader CreateReader(Uri uri, XmlResolver xmlResolver) 210XmlReader? reader = input as XmlReader; 227using (XmlReader reader = CreateReader(uri, _xmlResolver)) 233private Stylesheet LoadStylesheet(XmlReader reader, bool include)
System\Xml\Xsl\XsltOld\ReaderOutput.cs (1)
119return XmlReader.HasValueInternal(NodeType);
System\Xml\Xslt\XslCompiledTransform.cs (17)
83public void Load(XmlReader stylesheet) 91public void Load(XmlReader stylesheet, XsltSettings? settings, XmlResolver? stylesheetResolver) 280public void Transform(XmlReader input, XmlWriter results) 288public void Transform(XmlReader input, XsltArgumentList? arguments, XmlWriter results) 296public void Transform(XmlReader input, XsltArgumentList? arguments, TextWriter results) 305public void Transform(XmlReader input, XsltArgumentList? arguments, Stream results) 326using XmlReader reader = XmlReader.Create(inputUri); 335using XmlReader reader = XmlReader.Create(inputUri); 344using XmlReader reader = XmlReader.Create(inputUri); 354using XmlReader reader = XmlReader.Create(inputUri); 365using XmlReader reader = XmlReader.Create(inputUri); 376public void Transform(XmlReader input, XsltArgumentList? arguments, XmlWriter results, XmlResolver? documentResolver)
System\Xml\Xslt\XslTransform.cs (6)
50public void Load(XmlReader stylesheet) 54public void Load(XmlReader stylesheet, XmlResolver? resolver) 116public XmlReader Transform(XPathNavigator input, XsltArgumentList? args, XmlResolver? resolver) 123public XmlReader Transform(XPathNavigator input, XsltArgumentList? args) 165public XmlReader Transform(IXPathNavigable input, XsltArgumentList? args, XmlResolver? resolver) 172public XmlReader Transform(IXPathNavigable input, XsltArgumentList? args)
System.Private.Xml.Linq (105)
System\Xml\Linq\XCData.cs (1)
26internal XCData(XmlReader r) : base(r) { }
System\Xml\Linq\XComment.cs (1)
47internal XComment(XmlReader r)
System\Xml\Linq\XContainer.cs (9)
831internal void ReadContentFrom(XmlReader r) 839internal void ReadContentFrom(XmlReader r, LoadOptions o) 852internal async Task ReadContentFromAsync(XmlReader r, CancellationToken cancellationToken) 864internal async Task ReadContentFromAsync(XmlReader r, LoadOptions o, CancellationToken cancellationToken) 894public ContentReader(XContainer rootContainer, XmlReader r, LoadOptions o) 901public bool ReadContentFrom(XContainer rootContainer, XmlReader r) 955public async ValueTask<bool> ReadContentFromAsync(XContainer rootContainer, XmlReader r) 1011public bool ReadContentFromContainer(XContainer rootContainer, XmlReader r) 1125public async ValueTask<bool> ReadContentFromContainerAsync(XContainer rootContainer, XmlReader r)
System\Xml\Linq\XDeclaration.cs (1)
60internal XDeclaration(XmlReader r)
System\Xml\Linq\XDocument.cs (34)
162/// <see cref="XmlReader"/>. Note: Use <see cref="XDocument.Parse(string)"/> 171/// <seealso cref="XmlReader.Create(string)"/> 175/// This method uses the <see cref="XmlReader.Create(string)"/> method to create 176/// an <see cref="XmlReader"/> to read the raw XML into the underlying 194/// <see cref="XmlReader.Create(string)"/> 197/// This method uses the <see cref="XmlReader.Create(string)"/> method to create 198/// an <see cref="XmlReader"/> to read the raw XML into an underlying 217using (XmlReader r = XmlReader.Create(uri, rs)) 264using (XmlReader r = XmlReader.Create(stream, rs)) 300using (XmlReader r = XmlReader.Create(stream, rs)) 347using (XmlReader r = XmlReader.Create(textReader, rs)) 383using (XmlReader r = XmlReader.Create(textReader, rs)) 391/// passed in <see cref="XmlReader"/>. 394/// An <see cref="XmlReader"/> containing the XML to be read into the new 399/// in <see cref="XmlReader"/>. 401public static XDocument Load(XmlReader reader) 408/// passed in <see cref="XmlReader"/>. 411/// An <see cref="XmlReader"/> containing the XML to be read into the new 419/// in <see cref="XmlReader"/>. 421public static XDocument Load(XmlReader reader, LoadOptions options) 437/// passed in <see cref="XmlReader"/>. 440/// An <see cref="XmlReader"/> containing the XML to be read into the new 451/// in <see cref="XmlReader"/>. 453public static Task<XDocument> LoadAsync(XmlReader reader, LoadOptions options, CancellationToken cancellationToken) 462private static async Task<XDocument> LoadAsyncInternal(XmlReader reader, LoadOptions options, CancellationToken cancellationToken) 480private static XDocument InitLoad(XmlReader reader, LoadOptions options) 531/// This method uses <see cref="XmlReader.Create(TextReader, XmlReaderSettings)"/>, 553using (XmlReader r = XmlReader.Create(sr, rs))
System\Xml\Linq\XDocumentType.cs (1)
46internal XDocumentType(XmlReader r)
System\Xml\Linq\XElement.cs (40)
141internal XElement(XmlReader r) 157internal XElement(XmlReader r, LoadOptions o) 162internal static async Task<XElement> CreateAsync(XmlReader r, CancellationToken cancellationToken) 547/// <see cref="XmlReader"/>. Note: Use <see cref="XDocument.Parse(string)"/> 557/// <seealso cref="XmlReader.Create(string)"/> 562/// This method uses the <see cref="XmlReader.Create(string)"/> method to create 563/// an <see cref="XmlReader"/> to read the raw XML into the underlying 581/// <see cref="XmlReader.Create(string)"/> 585/// This method uses the <see cref="XmlReader.Create(string)"/> method to create 586/// an <see cref="XmlReader"/> to read the raw XML into an underlying 605using (XmlReader r = XmlReader.Create(uri, rs)) 652using (XmlReader r = XmlReader.Create(stream, rs)) 687using (XmlReader r = XmlReader.Create(stream, rs)) 734using (XmlReader r = XmlReader.Create(textReader, rs)) 769using (XmlReader r = XmlReader.Create(textReader, rs)) 777/// passed in <see cref="XmlReader"/>. 780/// An <see cref="XmlReader"/> containing the XML to be read into the new 785/// in <see cref="XmlReader"/>. 787public static XElement Load(XmlReader reader) 794/// passed in <see cref="XmlReader"/>. 797/// An <see cref="XmlReader"/> containing the XML to be read into the new 805/// in <see cref="XmlReader"/>. 807public static XElement Load(XmlReader reader, LoadOptions options) 820/// passed in <see cref="XmlReader"/>. 823/// An <see cref="XmlReader"/> containing the XML to be read into the new 833/// in <see cref="XmlReader"/>. 835public static Task<XElement> LoadAsync(XmlReader reader, LoadOptions options, CancellationToken cancellationToken) 844private static async Task<XElement> LoadAsyncInternal(XmlReader reader, LoadOptions options, CancellationToken cancellationToken) 907using (XmlReader r = XmlReader.Create(sr, rs)) 1875/// The <see cref="XmlReader"/> stream from which the <see cref="XElement"/> 1878void IXmlSerializable.ReadXml(XmlReader reader) 2014private void ReadElementFrom(XmlReader r, LoadOptions o) 2027private async Task ReadElementFromAsync(XmlReader r, LoadOptions o, CancellationToken cancellationTokentoken) 2046private void ReadElementFromImpl(XmlReader r, LoadOptions o)
System\Xml\Linq\XNode.cs (15)
283/// Creates an <see cref="XmlReader"/> for the node. 285/// <returns>An <see cref="XmlReader"/> that can be used to read the node and its descendants.</returns> 286public XmlReader CreateReader() 292/// Creates an <see cref="XmlReader"/> for the node. 297/// <returns>An <see cref="XmlReader"/> that can be used to read the node and its descendants.</returns> 298public XmlReader CreateReader(ReaderOptions readerOptions) 416/// Creates an <see cref="XNode"/> from an <see cref="XmlReader"/>. 421/// <param name="reader">An <see cref="XmlReader"/> positioned at the node to read into this <see cref="XNode"/>.</param> 424/// Thrown if the <see cref="XmlReader"/> is not positioned on a recognized node type. 426public static XNode ReadFrom(XmlReader reader) 453/// Creates an <see cref="XNode"/> from an <see cref="XmlReader"/>. 458/// <param name="reader">An <see cref="XmlReader"/> positioned at the node to read into this <see cref="XNode"/>.</param> 462/// Thrown if the <see cref="XmlReader"/> is not positioned on a recognized node type. 464public static Task<XNode> ReadFromAsync(XmlReader reader, CancellationToken cancellationToken) 473private static async Task<XNode> ReadFromAsyncInternal(XmlReader reader, CancellationToken cancellationToken)
System\Xml\Linq\XProcessingInstruction.cs (1)
51internal XProcessingInstruction(XmlReader r)
System\Xml\Linq\XText.cs (1)
39internal XText(XmlReader r)
System\Xml\XPath\XNodeNavigator.cs (1)
681public override XmlReader ReadSubtree()
System.Runtime.Serialization.Schema (1)
System\Runtime\Serialization\Schema\CodeExporter.cs (1)
1719CodeParameterDeclarationExpression readerArg = new CodeParameterDeclarationExpression(typeof(XmlReader), "reader");
System.Security.Cryptography.Xml (17)
System\Security\Cryptography\Xml\EncryptedXml.cs (2)
836using (XmlReader xr = XmlReader.Create(sr, Utils.GetSecureXmlReaderSettings(_xmlResolver)))
System\Security\Cryptography\Xml\TransformChain.cs (1)
86XmlReader valReader = Utils.PreProcessStreamInput(currentInputStream, resolver, baseUri);
System\Security\Cryptography\Xml\Utils.cs (7)
180internal static XmlReader PreProcessStreamInput(Stream inputStream, XmlResolver? xmlResolver, string? baseUri) 183XmlReader reader = XmlReader.Create(inputStream, settings, baseUri); 215using XmlReader reader = XmlReader.Create(stringReader, settings, baseUri); 238using XmlReader reader = XmlReader.Create(stringReader, settings, baseUri);
System\Security\Cryptography\Xml\XmlDecryptionTransform.cs (1)
154XmlReader xmlReader = Utils.PreProcessStreamInput(stream, resolver, BaseURI!);
System\Security\Cryptography\Xml\XmlDsigEnvelopedSignatureTransform.cs (1)
83XmlReader xmlReader = Utils.PreProcessStreamInput(stream, resolver, BaseURI!);
System\Security\Cryptography\Xml\XmlDsigXPathTransform.cs (1)
137XmlReader valReader = Utils.PreProcessStreamInput(stream, resolver, BaseURI!);
System\Security\Cryptography\Xml\XmlDsigXsltTransform.cs (4)
125XmlReader readerXsl = XmlReader.Create(sr, settings, (string)null!); 129XmlReader reader = XmlReader.Create(_inputStream!, settings, BaseURI);
System.ServiceModel.Primitives (72)
Extensions\XmlReaderExtensions.cs (2)
11internal static string ReadElementString(this XmlReader reader) 22internal static string ReadElementString(this XmlReader reader, string localname, string ns)
Internals\System\Xml\XmlMtomWriter.cs (2)
644XmlReader contentTypeReader = XmlDictionaryReader.CreateBinaryReader(_contentTypeStream, null, XmlDictionaryReaderQuotas.Max, null, null); 705public override void WriteAttributes(XmlReader reader, bool defattr)
SMDiagnostics\System\ServiceModel\Diagnostics\ExceptionUtility.cs (2)
67internal Exception ThrowHelperXml(XmlReader reader, string message) 72internal Exception ThrowHelperXml(XmlReader reader, string message, Exception inner)
System\IdentityModel\Selectors\SecurityTokenSerializer.cs (12)
22public bool CanReadToken(XmlReader reader) 40public bool CanReadKeyIdentifier(XmlReader reader) 58public bool CanReadKeyIdentifierClause(XmlReader reader) 77public SecurityToken ReadToken(XmlReader reader, SecurityTokenResolver tokenResolver) 99public SecurityKeyIdentifier ReadKeyIdentifier(XmlReader reader) 121public SecurityKeyIdentifierClause ReadKeyIdentifierClause(XmlReader reader) 145protected abstract bool CanReadTokenCore(XmlReader reader); 147protected abstract bool CanReadKeyIdentifierCore(XmlReader reader); 149protected abstract bool CanReadKeyIdentifierClauseCore(XmlReader reader); 152protected abstract SecurityToken ReadTokenCore(XmlReader reader, SecurityTokenResolver tokenResolver); 154protected abstract SecurityKeyIdentifier ReadKeyIdentifierCore(XmlReader reader); 156protected abstract SecurityKeyIdentifierClause ReadKeyIdentifierClauseCore(XmlReader reader);
System\IdentityModel\Tokens\KeyInfoSerializer.cs (6)
111protected override bool CanReadTokenCore(XmlReader reader) 116protected override SecurityToken ReadTokenCore(XmlReader reader, SecurityTokenResolver tokenResolver) 132protected override bool CanReadKeyIdentifierCore(XmlReader reader) 146protected override SecurityKeyIdentifier ReadKeyIdentifierCore(XmlReader reader) 225protected override bool CanReadKeyIdentifierClauseCore(XmlReader reader) 239protected override SecurityKeyIdentifierClause ReadKeyIdentifierClauseCore(XmlReader reader)
System\ServiceModel\Channels\Message.cs (2)
136static public Message CreateMessage(MessageVersion version, string action, XmlReader body) 206static public Message CreateMessage(XmlReader envelopeReader, int maxSizeOfHeaders, MessageVersion version)
System\ServiceModel\Channels\MessageFault.cs (3)
636using (XmlReader r = _detail.GetReader(0)) 666using (XmlReader r = _detail.GetReader(0)) 684using (XmlReader r = _detail.GetReader(0))
System\ServiceModel\Channels\MessageHeaders.cs (3)
1831using (XmlReader reader = GetBufferedMessageHeaderReader(bufferedMessageData, bufferedMessageHeaderIndex)) 1839using (XmlReader reader = GetBufferedMessageHeaderReader(bufferedMessageData, bufferedMessageHeaderIndex)) 1848using (XmlReader reader = GetBufferedMessageHeaderReader(bufferedMessageData, bufferedMessageHeaderIndex))
System\ServiceModel\Channels\MtomMessageEncoder.cs (2)
171internal XmlReader TakeStreamedReader(Stream stream, string contentType, bool isMtomContentType) 410XmlReader reader = _factory.TakeStreamedReader(stream, contentType, contentType == null || IsMTOMContentType(contentType));
System\ServiceModel\Channels\TextMessageEncoder.cs (2)
456XmlReader reader = TakeStreamedReader(stream, GetEncodingFromContentType(contentType, _contentEncodingMap)); 653private XmlReader TakeStreamedReader(Stream stream, Encoding enc)
System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (1)
23internal static string GetComparableForm(StringBuilder builder, XmlReader reader)
System\ServiceModel\Dispatcher\OperationFormatter.cs (1)
611internal static void TraceAndSkipElement(XmlReader xmlReader)
System\ServiceModel\Security\ISecureConversationSession.cs (1)
12bool TryReadSessionTokenIdentifier(XmlReader reader);
System\ServiceModel\Security\ReceiveSecurityHeader.cs (1)
757private SecurityToken ReadToken(XmlReader reader, SecurityTokenResolver tokenResolver, IList<SecurityTokenAuthenticator> allowedTokenAuthenticators, out SecurityTokenAuthenticator usedTokenAuthenticator)
System\ServiceModel\Security\RequestSecurityToken.cs (1)
462internal static RequestSecurityToken CreateFrom(SecurityStandardsManager standardsManager, XmlReader reader)
System\ServiceModel\Security\RequestSecurityTokenResponse.cs (3)
602public static RequestSecurityTokenResponse CreateFrom(XmlReader reader) 607public static RequestSecurityTokenResponse CreateFrom(XmlReader reader, MessageSecurityVersion messageSecurityVersion, SecurityTokenSerializer securityTokenSerializer) 612internal static RequestSecurityTokenResponse CreateFrom(SecurityStandardsManager standardsManager, XmlReader reader)
System\ServiceModel\Security\SecuritySessionClientSettings.cs (1)
1380public bool TryReadSessionTokenIdentifier(XmlReader reader)
System\ServiceModel\Security\TrustDriver.cs (5)
90public abstract RequestSecurityToken CreateRequestSecurityToken(XmlReader reader); 93public abstract RequestSecurityTokenResponse CreateRequestSecurityTokenResponse(XmlReader reader); 96public abstract RequestSecurityTokenResponseCollection CreateRequestSecurityTokenResponseCollection(XmlReader xmlReader); 98public abstract bool IsAtRequestSecurityTokenResponse(XmlReader reader); 100public abstract bool IsAtRequestSecurityTokenResponseCollection(XmlReader reader);
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (6)
187protected override bool CanReadTokenCore(XmlReader reader) 201protected override SecurityToken ReadTokenCore(XmlReader reader, SecurityTokenResolver tokenResolver) 273protected override bool CanReadKeyIdentifierCore(XmlReader reader) 278protected override SecurityKeyIdentifier ReadKeyIdentifierCore(XmlReader reader) 307protected override bool CanReadKeyIdentifierClauseCore(XmlReader reader) 312protected override SecurityKeyIdentifierClause ReadKeyIdentifierClauseCore(XmlReader reader)
System\ServiceModel\Security\WSTrust.cs (6)
220public override RequestSecurityToken CreateRequestSecurityToken(XmlReader xmlReader) 297public override RequestSecurityTokenResponse CreateRequestSecurityTokenResponse(XmlReader xmlReader) 318using (XmlReader reader2 = rstrBuffer.GetReader(0)) 393public override RequestSecurityTokenResponseCollection CreateRequestSecurityTokenResponseCollection(XmlReader xmlReader) 723public override bool IsAtRequestSecurityTokenResponse(XmlReader reader) 733public override bool IsAtRequestSecurityTokenResponseCollection(XmlReader reader)
System\ServiceModel\Security\XmlHelper.cs (7)
34internal static XmlQualifiedName GetAttributeValueAsQName(XmlReader reader, string attributeName) 112internal static XmlQualifiedName GetValueAsQName(XmlReader reader, string value) 125internal static string GetWhiteSpace(XmlReader reader) 153internal static bool IsWhitespaceOrComment(XmlReader reader) 179internal static void OnEmptyElementError(XmlReader r) 209internal static void OnUnexpectedChildNodeError(string parentName, XmlReader r) 273using (XmlReader reader = new XmlNodeReader(element))
System\ServiceModel\XmlUtil.cs (3)
19public static string GetXmlLangAttribute(XmlReader reader) 47public static void ReadContentAsQName(XmlReader reader, out string localName, out string ns) 117public static void ParseQName(XmlReader reader, string qname, out string localName, out string ns)
System.ServiceModel.Primitives.Tests (8)
IdentityModel\SecurityTokenSerializerTest.cs (8)
21var xmlReader = XmlReader.Create(new MemoryStream()); 81protected override bool CanReadKeyIdentifierClauseCore(XmlReader reader) 86protected override bool CanReadKeyIdentifierCore(XmlReader reader) 91protected override bool CanReadTokenCore(XmlReader reader) 111protected override SecurityKeyIdentifierClause ReadKeyIdentifierClauseCore(XmlReader reader) 116protected override SecurityKeyIdentifier ReadKeyIdentifierCore(XmlReader reader) 121protected override SecurityToken ReadTokenCore(XmlReader reader, SecurityTokenResolver tokenResolver)
System.ServiceModel.Syndication (148)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (25)
74public override bool CanRead(XmlReader reader) 86void IXmlSerializable.ReadXml(XmlReader reader) 106public override void ReadFrom(XmlReader reader) 128internal static void ReadCategory(XmlReader reader, SyndicationCategory category, string version, bool preserveAttributeExtensions, bool preserveElementExtensions, int maxExtensionSize) 205internal static TextSyndicationContent ReadTextContentFrom(XmlReader reader, string context, bool preserveAttributeExtensions) 232internal void ReadItemFrom(XmlReader reader, SyndicationItem result) 237internal bool TryParseFeedElementFrom(XmlReader reader, SyndicationFeed result) 301internal bool TryParseItemElementFrom(XmlReader reader, SyndicationItem result) 494protected virtual SyndicationItem ReadItem(XmlReader reader, SyndicationFeed feed) 510protected virtual IEnumerable<SyndicationItem> ReadItems(XmlReader reader, SyndicationFeed feed, out bool areAllItemsRead) 549private static TextSyndicationContent ReadTextContentFromHelper(XmlReader reader, string type, string context, bool preserveAttributeExtensions) 617private void ReadCategory(XmlReader reader, SyndicationCategory category) 622private SyndicationCategory ReadCategoryFrom(XmlReader reader, SyndicationFeed feed) 629private SyndicationCategory ReadCategoryFrom(XmlReader reader, SyndicationItem item) 636private SyndicationContent ReadContentFrom(XmlReader reader, SyndicationItem item) 696private void ReadFeed(XmlReader reader) 702private SyndicationFeed ReadFeedFrom(XmlReader reader, SyndicationFeed result, bool isSourceFeed) 824private void ReadItemFrom(XmlReader reader, SyndicationItem result, Uri feedBaseUri) 903private void ReadLink(XmlReader reader, SyndicationLink link, Uri baseUri) 992private SyndicationLink ReadLinkFrom(XmlReader reader, SyndicationFeed feed) 999private SyndicationLink ReadLinkFrom(XmlReader reader, SyndicationItem item) 1006private SyndicationPerson ReadPersonFrom(XmlReader reader, SyndicationFeed feed) 1013private SyndicationPerson ReadPersonFrom(XmlReader reader, SyndicationItem item) 1020private void ReadPersonFrom(XmlReader reader, SyndicationPerson result) 1089private TextSyndicationContent ReadTextContentFrom(XmlReader reader, string context)
System\ServiceModel\Syndication\Atom10ItemFormatter.cs (4)
66public override bool CanRead(XmlReader reader) 78void IXmlSerializable.ReadXml(XmlReader reader) 98public override void ReadFrom(XmlReader reader) 122private void ReadItem(XmlReader reader)
System\ServiceModel\Syndication\AtomPub10CategoriesDocumentFormatter.cs (4)
63public override bool CanRead(XmlReader reader) 75void IXmlSerializable.ReadXml(XmlReader reader) 100public override void ReadFrom(XmlReader reader) 156private void ReadDocument(XmlReader reader)
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (9)
49public override bool CanRead(XmlReader reader) 61void IXmlSerializable.ReadXml(XmlReader reader) 86public override void ReadFrom(XmlReader reader) 119internal static CategoriesDocument ReadCategories(XmlReader reader, Uri baseUri, CreateInlineCategoriesDelegate inlineCategoriesFactory, CreateReferencedCategoriesDelegate referencedCategoriesFactory, string version, int maxExtensionSize) 169private static void ReadInlineCategories(XmlReader reader, InlineCategoriesDocument inlineCategories, Uri baseUri, string version, int maxExtensionSize) 242private static void ReadReferencedCategories(XmlReader reader, ReferencedCategoriesDocument referencedCategories, Uri baseUri, Uri link, string version, int maxExtensionSize) 352private ResourceCollectionInfo ReadCollection(XmlReader reader, Workspace workspace) 427private void ReadDocument(XmlReader reader) 504private Workspace ReadWorkspace(XmlReader reader, ServiceDocument document)
System\ServiceModel\Syndication\CategoriesDocument.cs (3)
43public static CategoriesDocument Load(XmlReader reader) 62protected internal virtual bool TryParseElement(XmlReader reader, string version) 77internal void LoadElementExtensions(XmlReader readerOverUnparsedExtensions, int maxExtensionSize)
System\ServiceModel\Syndication\CategoriesDocumentFormatter.cs (2)
32public abstract bool CanRead(XmlReader reader); 33public abstract void ReadFrom(XmlReader reader);
System\ServiceModel\Syndication\ExtensibleSyndicationObject.cs (1)
66internal void LoadElementExtensions(XmlReader readerOverUnparsedExtensions, int maxExtensionSize)
System\ServiceModel\Syndication\FeedUtils.cs (1)
12public static string AddLineInfo(XmlReader reader, string error)
System\ServiceModel\Syndication\ResourceCollectionInfo.cs (2)
102protected internal virtual bool TryParseElement(XmlReader reader, string version) 117internal void LoadElementExtensions(XmlReader readerOverUnparsedExtensions, int maxExtensionSize)
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (17)
74public override bool CanRead(XmlReader reader) 86void IXmlSerializable.ReadXml(XmlReader reader) 106public override void ReadFrom(XmlReader reader) 134internal void ReadItemFrom(XmlReader reader, SyndicationItem result) 146protected virtual SyndicationItem ReadItem(XmlReader reader, SyndicationFeed feed) 162protected virtual IEnumerable<SyndicationItem> ReadItems(XmlReader reader, SyndicationFeed feed, out bool areAllItemsRead) 221internal static SyndicationLink ReadAlternateLink(XmlReader reader, Uri baseUri, TryParseUriCallback uriParser, bool preserveAttributeExtensions) 252private SyndicationCategory ReadCategory(XmlReader reader, SyndicationFeed feed) 259private SyndicationCategory ReadCategory(XmlReader reader, SyndicationItem item) 266private void ReadCategory(XmlReader reader, SyndicationCategory category) 301private void ReadFeed(XmlReader reader) 307private void ReadItemFrom(XmlReader reader, SyndicationItem result, Uri feedBaseUri) 499private SyndicationLink ReadMediaEnclosure(XmlReader reader, Uri baseUri) 552private SyndicationPerson ReadPerson(XmlReader reader, SyndicationFeed feed) 559private SyndicationPerson ReadPerson(XmlReader reader, SyndicationItem item) 566private void ReadPerson(XmlReader reader, SyndicationPerson person) 598private void ReadXml(XmlReader reader, SyndicationFeed result)
System\ServiceModel\Syndication\Rss20ItemFormatter.cs (4)
89public override bool CanRead(XmlReader reader) 101void IXmlSerializable.ReadXml(XmlReader reader) 121public override void ReadFrom(XmlReader reader) 145private void ReadItem(XmlReader reader)
System\ServiceModel\Syndication\ServiceDocument.cs (4)
44public static ServiceDocument Load(XmlReader reader) 49public static TServiceDocument Load<TServiceDocument>(XmlReader reader) where TServiceDocument : ServiceDocument, new() 76protected internal virtual bool TryParseElement(XmlReader reader, string version) 91internal void LoadElementExtensions(XmlReader readerOverUnparsedExtensions, int maxExtensionSize)
System\ServiceModel\Syndication\ServiceDocumentFormatter.cs (10)
33public abstract bool CanRead(XmlReader reader); 34public abstract void ReadFrom(XmlReader reader); 112protected static void LoadElementExtensions(XmlReader reader, CategoriesDocument categories, int maxExtensionSize) 122protected static void LoadElementExtensions(XmlReader reader, ResourceCollectionInfo collection, int maxExtensionSize) 132protected static void LoadElementExtensions(XmlReader reader, Workspace workspace, int maxExtensionSize) 142protected static void LoadElementExtensions(XmlReader reader, ServiceDocument document, int maxExtensionSize) 192protected static bool TryParseElement(XmlReader reader, ResourceCollectionInfo collection, string version) 202protected static bool TryParseElement(XmlReader reader, ServiceDocument document, string version) 212protected static bool TryParseElement(XmlReader reader, Workspace workspace, string version) 222protected static bool TryParseElement(XmlReader reader, CategoriesDocument categories, string version)
System\ServiceModel\Syndication\SyndicationCategory.cs (2)
59protected internal virtual bool TryParseElement(XmlReader reader, string version) 74internal void LoadElementExtensions(XmlReader readerOverUnparsedExtensions, int maxExtensionSize)
System\ServiceModel\Syndication\SyndicationContent.cs (1)
58public static XmlSyndicationContent CreateXmlContent(XmlReader xmlReader)
System\ServiceModel\Syndication\SyndicationElementExtension.cs (7)
22public SyndicationElementExtension(XmlReader xmlReader) 136using (XmlReader reader = GetReader()) 153using (XmlReader reader = GetReader()) 159public XmlReader GetReader() 190using (XmlReader reader = GetReader()) 314using (XmlReader reader = XmlReader.Create(stream))
System\ServiceModel\Syndication\SyndicationElementExtensionCollection.cs (2)
86public void Add(XmlReader xmlReader) 96public XmlReader GetReaderAtElementExtensions()
System\ServiceModel\Syndication\SyndicationFeed.cs (9)
252using (XmlReader reader = documentationElement.GetReader()) 267using (XmlReader reader = timeToLiveElement.GetReader()) 296using (XmlReader reader = skipHoursElement.GetReader()) 330using (XmlReader reader = skipDaysElement.GetReader()) 367using (XmlReader reader = textInputElement.GetReader()) 410public static SyndicationFeed Load(XmlReader reader) => Load<SyndicationFeed>(reader); 412public static TSyndicationFeed Load<TSyndicationFeed>(XmlReader reader) where TSyndicationFeed : SyndicationFeed, new() 484protected internal virtual bool TryParseElement(XmlReader reader, string version) 525internal void LoadElementExtensions(XmlReader readerOverUnparsedExtensions, int maxExtensionSize)
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (18)
53public abstract bool CanRead(XmlReader reader); 55public abstract void ReadFrom(XmlReader reader); 131protected internal static void LoadElementExtensions(XmlReader reader, SyndicationFeed feed, int maxExtensionSize) 141protected internal static void LoadElementExtensions(XmlReader reader, SyndicationItem item, int maxExtensionSize) 151protected internal static void LoadElementExtensions(XmlReader reader, SyndicationCategory category, int maxExtensionSize) 161protected internal static void LoadElementExtensions(XmlReader reader, SyndicationLink link, int maxExtensionSize) 171protected internal static void LoadElementExtensions(XmlReader reader, SyndicationPerson person, int maxExtensionSize) 251protected internal static bool TryParseContent(XmlReader reader, SyndicationItem item, string contentType, string version, out SyndicationContent content) 256protected internal static bool TryParseElement(XmlReader reader, SyndicationFeed feed, string version) 266protected internal static bool TryParseElement(XmlReader reader, SyndicationItem item, string version) 276protected internal static bool TryParseElement(XmlReader reader, SyndicationCategory category, string version) 286protected internal static bool TryParseElement(XmlReader reader, SyndicationLink link, string version) 296protected internal static bool TryParseElement(XmlReader reader, SyndicationPerson person, string version) 416internal Uri UriFromString(string uriString, UriKind uriKind, string localName, string namespaceURI, XmlReader reader) 421internal static Uri UriFromString(TryParseUriCallback uriParser, string uriString, UriKind uriKind, string localName, string namespaceURI, XmlReader reader) 447internal DateTimeOffset DateFromString(string dateTimeString, XmlReader reader) 489internal static void CreateBufferIfRequiredAndWriteNode(ref XmlBuffer buffer, ref XmlDictionaryWriter extWriter, XmlReader reader, int maxExtensionSize) 555internal static void MoveToStartElement(XmlReader reader)
System\ServiceModel\Syndication\SyndicationItem.cs (5)
156public static SyndicationItem Load(XmlReader reader) => Load<SyndicationItem>(reader); 158public static TSyndicationItem Load<TSyndicationItem>(XmlReader reader) where TSyndicationItem : SyndicationItem, new() 234protected internal virtual bool TryParseContent(XmlReader reader, string contentType, string version, out SyndicationContent content) 240protected internal virtual bool TryParseElement(XmlReader reader, string version) 255internal void LoadElementExtensions(XmlReader readerOverUnparsedExtensions, int maxExtensionSize)
System\ServiceModel\Syndication\SyndicationItemFormatter.cs (11)
33public abstract bool CanRead(XmlReader reader); 35public abstract void ReadFrom(XmlReader reader); 69protected static void LoadElementExtensions(XmlReader reader, SyndicationItem item, int maxExtensionSize) 74protected static void LoadElementExtensions(XmlReader reader, SyndicationCategory category, int maxExtensionSize) 79protected static void LoadElementExtensions(XmlReader reader, SyndicationLink link, int maxExtensionSize) 84protected static void LoadElementExtensions(XmlReader reader, SyndicationPerson person, int maxExtensionSize) 109protected static bool TryParseContent(XmlReader reader, SyndicationItem item, string contentType, string version, out SyndicationContent content) 114protected static bool TryParseElement(XmlReader reader, SyndicationItem item, string version) 119protected static bool TryParseElement(XmlReader reader, SyndicationCategory category, string version) 124protected static bool TryParseElement(XmlReader reader, SyndicationLink link, string version) 129protected static bool TryParseElement(XmlReader reader, SyndicationPerson person, string version)
System\ServiceModel\Syndication\SyndicationLink.cs (2)
137protected internal virtual bool TryParseElement(XmlReader reader, string version) 152internal void LoadElementExtensions(XmlReader readerOverUnparsedExtensions, int maxExtensionSize)
System\ServiceModel\Syndication\SyndicationPerson.cs (2)
60protected internal virtual bool TryParseElement(XmlReader reader, string version) 75internal void LoadElementExtensions(XmlReader readerOverUnparsedExtensions, int maxExtensionSize)
System\ServiceModel\Syndication\Workspace.cs (2)
59protected internal virtual bool TryParseElement(XmlReader reader, string version) 74internal void LoadElementExtensions(XmlReader readerOverUnparsedExtensions, int maxExtensionSize)
System\ServiceModel\Syndication\XmlSyndicationContent.cs (1)
20public XmlSyndicationContent(XmlReader reader)
System.Speech (4)
artifacts\obj\System.Speech\Debug\net10.0\System.Speech.notsupported.cs (4)
469public SrgsDocument(System.Xml.XmlReader srgsGrammar) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); } 495public static void Compile(System.Xml.XmlReader reader, System.IO.Stream outputStream) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); } 498public static void CompileClassLibrary(System.Xml.XmlReader reader, string outputPath, string[] referencedAssemblies, string keyFile) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); } 695public void AppendSsml(System.Xml.XmlReader ssmlFile) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); }
System.Web.Services.Description (6)
System\Web\Services\Description\ServiceDescription.cs (6)
189public override bool CanDeserialize(System.Xml.XmlReader xmlReader) 236public static ServiceDescription Read(XmlReader reader) 277public static ServiceDescription Read(XmlReader reader, bool validate) 290XmlReader validatingReader = XmlReader.Create(reader, readerSettings); 306public static bool CanRead(XmlReader reader)
System.Windows.Forms (3)
System\Resources\ResXResourceReader.cs (3)
208private static void SetupNameTable(XmlReader reader) 327private static Point GetPosition(XmlReader reader) 510private void ParseAssemblyNode(XmlReader reader)
System.Xaml (35)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (4)
49public XmlCompatibilityReader(XmlReader baseReader) 72public XmlCompatibilityReader(XmlReader baseReader, 79public XmlCompatibilityReader(XmlReader baseReader, 92public XmlCompatibilityReader(XmlReader baseReader,
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (3)
25protected XmlReader _reader; 32internal XmlWrappingReader( XmlReader baseReader ) { 174protected XmlReader Reader {
System\Windows\Markup\XData.cs (3)
20private XmlReader _reader; 41get => _reader ??= Xml.XmlReader.Create(new StringReader(Text)); 44_reader = value as XmlReader;
System\Xaml\InfosetObjects\XamlXmlReader.cs (12)
30public XamlXmlReader(XmlReader xmlReader) 37public XamlXmlReader(XmlReader xmlReader, XamlXmlReaderSettings settings) 44public XamlXmlReader(XmlReader xmlReader, XamlSchemaContext schemaContext) 52public XamlXmlReader(XmlReader xmlReader, XamlSchemaContext schemaContext, XamlXmlReaderSettings settings) 89private XmlReader CreateXmlReader(string fileName, XamlXmlReaderSettings settings) 92return XmlReader.Create(fileName, new XmlReaderSettings { CloseInput = closeInput, DtdProcessing = DtdProcessing.Prohibit }); 123private XmlReader CreateXmlReader(Stream stream, XamlXmlReaderSettings settings) 126return XmlReader.Create(stream, new XmlReaderSettings { CloseInput = closeInput, DtdProcessing = DtdProcessing.Prohibit }); 157private XmlReader CreateXmlReader(TextReader textReader, XamlXmlReaderSettings settings) 160return XmlReader.Create(textReader, new XmlReaderSettings { CloseInput = closeInput, DtdProcessing = DtdProcessing.Prohibit }); 163private void Initialize(XmlReader givenXmlReader, XamlSchemaContext schemaContext, XamlXmlReaderSettings settings) 165XmlReader myXmlReader;
System\Xaml\Parser\XamlScanner.cs (2)
20XmlReader _xmlReader; 43internal XamlScanner(XamlParserContext context, XmlReader xmlReader, XamlXmlReaderSettings settings)
System\Xaml\Runtime\ClrObjectRuntime.cs (2)
534XmlReader reader = xData.XmlReader as XmlReader;
System\Xaml\XamlServices.cs (9)
26using (XmlReader xmlReader = XmlReader.Create(stringReader)) 37using (XmlReader xmlReader = XmlReader.Create(fileName)) 48using (XmlReader xmlReader = XmlReader.Create(stream)) 59using (XmlReader xmlReader = XmlReader.Create(textReader)) 66public static object Load(XmlReader xmlReader)
System.Xaml.Tests (4)
System\Windows\Markup\XDataTests.cs (4)
36XmlReader reader = Assert.IsAssignableFrom<XmlReader>(data.XmlReader); 50XmlReader reader = XmlReader.Create(new StringReader("<Text />"));
System.Xml (1)
System.Xml.cs (1)
225[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlReader))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
153[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlReader))]
VisualBasicSyntaxGenerator (2)
XML\ReadTree.vb (2)
77Using schemaReader = XmlReader.Create(GetType(ReadTree).GetTypeInfo().Assembly.GetManifestResourceStream("VBSyntaxModelSchema.xsd")) 83Using reader = XmlReader.Create(fileStream, readerSettings)
xunit.console (3)
Utility\TransformFactory.cs (3)
76using (var xsltReader = XmlReader.Create(xsltStream)) 77using (var xmlReader = xml.CreateReader())