17 references to PreserveWhitespace
dotnet-user-jwts (1)
src\Tools\Shared\SecretsHelpers\UserSecretsCreator.cs (1)
18var projectDocument = XDocument.Load(projectPath, LoadOptions.PreserveWhitespace);
dotnet-user-secrets (1)
src\Tools\Shared\SecretsHelpers\UserSecretsCreator.cs (1)
18var projectDocument = XDocument.Load(projectPath, LoadOptions.PreserveWhitespace);
Microsoft.Build.Tasks.Core (2)
GenerateResource.cs (1)
3062XDocument doc = XDocument.Load(xmlReader, LoadOptions.PreserveWhitespace);
ResourceHandling\MSBuildResXReader.cs (1)
31XDocument doc = XDocument.Load(xmlReader, LoadOptions.PreserveWhitespace);
Microsoft.CodeAnalysis (1)
DocumentationComments\DocumentationCommentIncludeCache.cs (1)
57var document = XDocument.Load(reader, LoadOptions.PreserveWhitespace | LoadOptions.SetLineInfo);
Microsoft.CodeAnalysis.CSharp (1)
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (1)
98doc = XDocument.Parse(unprocessed, LoadOptions.PreserveWhitespace);
Microsoft.CodeAnalysis.Features (2)
DocumentationComments\AbstractDocumentationCommentFormattingService.cs (2)
282var summaryElement = XElement.Parse(inputString, LoadOptions.PreserveWhitespace); 303var summaryElement = XElement.Parse(inputString, LoadOptions.PreserveWhitespace);
Microsoft.CodeAnalysis.VisualBasic (1)
Compilation\DocumentationComments\DocumentationCommentCompiler.Includes.vb (1)
177doc = XDocument.Parse(unprocessed, LoadOptions.PreserveWhitespace)
Microsoft.CodeAnalysis.Workspaces (2)
Shared\Extensions\ISymbolExtensions.cs (2)
243var element = XElement.Parse(xmlText, LoadOptions.PreserveWhitespace); 392var document = XDocument.Parse(inheritedDocumentation.FullXmlFragment, LoadOptions.PreserveWhitespace);
Microsoft.DotNet.Arcade.Sdk (1)
src\SourceBuild\ReadSourceBuildIntermediateNupkgDependencies.cs (1)
45XElement root = XElement.Load(VersionDetailsXmlFile, LoadOptions.PreserveWhitespace);
Microsoft.DotNet.VersionTools (1)
Automation\NupkgInfoFactory.cs (1)
58XDocument doc = XDocument.Load(nuspecFileStream, LoadOptions.PreserveWhitespace);
Microsoft.Extensions.SecretManager.Tools.Tests (2)
InitCommandTest.cs (2)
105var projectDocumentWithoutSecret = XDocument.Load(projectFile, LoadOptions.PreserveWhitespace); 110var projectDocumentWithSecret = XDocument.Load(projectFile, LoadOptions.PreserveWhitespace);
System.Private.Xml.Linq (2)
System\Xml\Linq\XDocument.cs (1)
533/// <see cref="LoadOptions.PreserveWhitespace"/> is enabled then
System\Xml\Linq\XNode.cs (1)
675if ((o & LoadOptions.PreserveWhitespace) == 0) rs.IgnoreWhitespace = true;