41 writes to CloseInput
Microsoft.Build (2)
Construction\Solution\ProjectInSolution.cs (1)
302var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
Construction\Solution\SolutionFile.cs (1)
1148var readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
Microsoft.Build.BuildCheck.UnitTests (1)
TestAssemblyInfo.cs (1)
114var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
Microsoft.Build.CommandLine.UnitTests (1)
TestAssemblyInfo.cs (1)
114var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
Microsoft.Build.Engine.OM.UnitTests (1)
TestAssemblyInfo.cs (1)
114var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
Microsoft.Build.Engine.UnitTests (1)
TestAssemblyInfo.cs (1)
114var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
Microsoft.Build.Framework.UnitTests (1)
TestAssemblyInfo.cs (1)
114var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
Microsoft.Build.Tasks.Core (16)
AddToWin32Manifest.cs (1)
160using (XmlReader xr = XmlReader.Create(stream, new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true }))
AppConfig\AppConfig.cs (1)
28var readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
AssemblyDependency\GenerateBindingRedirects.cs (1)
339var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
BootstrapperUtil\BootstrapperBuilder.cs (1)
542var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
GenerateResource.cs (1)
1767XmlReaderSettings readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
ManifestUtil\ApplicationManifest.cs (1)
530var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
ManifestUtil\AssemblyIdentity.cs (1)
196var readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
ManifestUtil\DeployManifest.cs (1)
216var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
ManifestUtil\Manifest.cs (1)
379var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
ManifestUtil\ManifestReader.cs (2)
231var settings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = false }; 245var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = false };
ManifestUtil\SecurityUtil.cs (1)
697var xrSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
RedistList.cs (1)
662var readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
XamlTaskFactory\RelationsParser.cs (1)
188XmlReaderSettings settings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
XslTransformation.cs (2)
333return XmlReader.Create(new StreamReader(_data[itemPos]), new XmlReaderSettings { CloseInput = true }, _data[itemPos]); 470using (XmlReader reader = XmlReader.Create(new StreamReader(_data), new XmlReaderSettings { CloseInput = true }, _data))
Microsoft.Build.Tasks.UnitTests (1)
TestAssemblyInfo.cs (1)
114var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
Microsoft.Build.Utilities.Core (3)
PlatformManifest.cs (1)
99XmlReaderSettings readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
SDKManifest.cs (1)
318XmlReaderSettings readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
ToolLocationHelper.cs (1)
3131XmlReaderSettings readerSettings = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true };
Microsoft.Build.Utilities.UnitTests (1)
TestAssemblyInfo.cs (1)
114var xrs = new XmlReaderSettings { DtdProcessing = DtdProcessing.Ignore, CloseInput = true, IgnoreWhitespace = true };
Microsoft.CodeAnalysis (1)
RuleSet\RuleSetProcessor.cs (1)
277xmlReaderSettings.CloseInput = true;
Microsoft.Extensions.Configuration.Xml (1)
XmlStreamConfigurationProvider.cs (1)
43CloseInput = false, // caller will close the stream
PresentationCore (1)
MS\Internal\FontFace\CompositeFontParser.cs (1)
226settings.CloseInput = true;
System.Data.Common (1)
System\Data\SQLTypes\SqlXml.cs (1)
21private static readonly XmlReaderSettings s_defaultXmlReaderSettingsCloseInput = new XmlReaderSettings() { ConformanceLevel = ConformanceLevel.Fragment, CloseInput = true };
System.Private.Xml (6)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
412settings.CloseInput = _closeInput;
System\Xml\Schema\Preprocessor.cs (2)
362_readerSettings!.CloseInput = true; 372_readerSettings!.CloseInput = true;
System\Xml\Schema\XmlSchemaValidator.cs (1)
1849readerSettings.CloseInput = true;
System\Xml\Xsl\QueryReaderSettings.cs (2)
32_xmlReaderSettings.CloseInput = true; 52_xmlReaderSettings.CloseInput = true;
System.Xaml (3)
System\Xaml\InfosetObjects\XamlXmlReader.cs (3)
90return XmlReader.Create(fileName, new XmlReaderSettings { CloseInput = closeInput, DtdProcessing = DtdProcessing.Prohibit }); 124return XmlReader.Create(stream, new XmlReaderSettings { CloseInput = closeInput, DtdProcessing = DtdProcessing.Prohibit }); 158return XmlReader.Create(textReader, new XmlReaderSettings { CloseInput = closeInput, DtdProcessing = DtdProcessing.Prohibit });
3 references to CloseInput
System.Private.Xml (3)
System\Xml\Core\XmlReader.cs (2)
1723reader = new XmlSqlBinaryReader(input, bytes, byteCount, string.Empty, settings.CloseInput, settings); 1727reader = new XmlTextReaderImpl(input, bytes, byteCount, settings, null, string.Empty, inputContext, settings.CloseInput);
System\Xml\Core\XmlTextReaderImpl.cs (1)
771_closeInput = settings.CloseInput;