24 references to Create
CSharpSyntaxGenerator (1)
SourceGenerator.cs (1)
75var reader = XmlReader.Create(new SourceTextReader(inputText), new XmlReaderSettings { DtdProcessing = DtdProcessing.Prohibit });
ILLink.Tasks (1)
CreateRuntimeRootDescriptorFile.cs (1)
305 using XmlReader reader = XmlReader.Create (sr, new XmlReaderSettings () { XmlResolver = null });
Microsoft.Build (3)
Construction\ProjectRootElement.cs (1)
199using (XmlReader xr = XmlReader.Create(new StringReader(emptyProjectFile), xrs))
Instance\ProjectInstance.cs (1)
2990using (XmlReader xmlReader = XmlReader.Create(sr, xrs))
SolutionConfiguration.cs (1)
118using (XmlReader reader = XmlReader.Create(new StringReader(xmlString), settings))
Microsoft.Build.Engine.OM.UnitTests (1)
Definition\Project_Tests.cs (1)
306using XmlReader reader = XmlReader.Create(new StringReader(emptyProject + emptyProject), new XmlReaderSettings { ConformanceLevel = ConformanceLevel.Fragment });
Microsoft.Build.Tasks.Core (6)
SolutionConfiguration.cs (1)
118using (XmlReader reader = XmlReader.Create(new StringReader(xmlString), settings))
XamlTaskFactory\RelationsParser.cs (1)
217using (XmlReader reader = XmlReader.Create(new StringReader(xml), settings))
XmlPeek.cs (2)
179using (XmlReader reader = XmlReader.Create(new StringReader("<Namespaces>" + namepaces + "</Namespaces>"), settings)) 295return XmlReader.Create(new StringReader(_data), settings: settings);
XmlPoke.cs (1)
165using (XmlReader reader = XmlReader.Create(new StringReader("<Namespaces>" + namepaces + "</Namespaces>"), settings))
XslTransformation.cs (1)
217using (XmlReader reader = XmlReader.Create(new StringReader("<XsltParameters>" + xsltParametersXml + "</XsltParameters>"), settings))
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
734XmlReader.Create(new StringReader(CleanupFileContents(xml)), readerSettings),
Microsoft.CodeAnalysis (1)
DocumentationComments\XmlDocumentationCommentTextReader.cs (1)
43_reader = XmlReader.Create(_textReader, s_xmlSettings);
Microsoft.CodeAnalysis.Workspaces (1)
Shared\Utilities\XmlFragmentParser.cs (1)
61_xmlReader ??= XmlReader.Create(_textReader, s_xmlSettings);
System.Private.Xml.Linq (7)
System\Xml\Linq\XDocument.cs (4)
347using (XmlReader r = XmlReader.Create(textReader, rs)) 383using (XmlReader r = XmlReader.Create(textReader, rs)) 531/// This method uses <see cref="XmlReader.Create(TextReader, XmlReaderSettings)"/>, 553using (XmlReader r = XmlReader.Create(sr, rs))
System\Xml\Linq\XElement.cs (3)
734using (XmlReader r = XmlReader.Create(textReader, rs)) 769using (XmlReader r = XmlReader.Create(textReader, rs)) 907using (XmlReader r = XmlReader.Create(sr, rs))
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\EncryptedXml.cs (1)
836using (XmlReader xr = XmlReader.Create(sr, Utils.GetSecureXmlReaderSettings(_xmlResolver)))
System.Xaml (1)
System\Xaml\InfosetObjects\XamlXmlReader.cs (1)
158return XmlReader.Create(textReader, new XmlReaderSettings { CloseInput = closeInput, DtdProcessing = DtdProcessing.Prohibit });