18 references to XmlFileResolver
Microsoft.CodeAnalysis (2)
CommandLine\CommonCompiler.LoggingXmlFileResolver.cs (1)
14: base(baseDirectory)
XmlFileResolver.cs (1)
18public static XmlFileResolver Default { get; } = new XmlFileResolver(baseDirectory: null);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Attributes\AttributeTests_Security.cs (3)
1502var resolver = new XmlFileResolver(tempDir.Path); 1585var resolver = new XmlFileResolver(tempDir.Path); 1629TestOptions.ReleaseDll.WithXmlReferenceResolver(new XmlFileResolver(tempDir.Path)));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
Compilation\CompilationAPITests.cs (1)
2014var c2 = c1.WithOptions(TestOptions.ReleaseDll.WithXmlReferenceResolver(new XmlFileResolver(null)));
Compilation\CSharpCompilationOptionsTests.cs (3)
92TestHiddenProperty((old, value) => old.WithXmlReferenceResolver(value), opt => opt.XmlReferenceResolver, new XmlFileResolver(null)); 133TestProperty((old, value) => old.WithXmlReferenceResolver(value), opt => opt.XmlReferenceResolver, new XmlFileResolver(null)); 404XmlReferenceResolver xmlReferenceResolver = new XmlFileResolver(null);
DocumentationComments\DocumentationCommentCompilerTests.cs (1)
3659var resolver = new XmlFileResolver(rootDir.Path);
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Emit\CompilationEmitTests.vb (1)
3760TestOptions.ReleaseDll.WithXmlReferenceResolver(New XmlFileResolver(Path.GetDirectoryName(filePath))))
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (3)
Compilation\CompilationAPITests.vb (1)
2266Dim c2 = c1.WithOptions(TestOptions.ReleaseDll.WithXmlReferenceResolver(New XmlFileResolver(Nothing)))
Compilation\VisualBasicCompilationOptionsTests.vb (2)
46TestHiddenProperty(Function(old, value) old.WithXmlReferenceResolver(value), Function(opt) opt.XmlReferenceResolver, New XmlFileResolver(Nothing)) 123TestProperty(Function(old, value) old.WithXmlReferenceResolver(value), Function(opt) opt.XmlReferenceResolver, New XmlFileResolver(Nothing))
Microsoft.CodeAnalysis.Workspaces (3)
Serialization\SerializationExtensions.cs (1)
56return new XmlFileResolver(PathUtilities.GetDirectoryName(filePath));
Workspace\CommandLineProject.cs (1)
46var xmlFileResolver = new XmlFileResolver(commandLineArguments.BaseDirectory);
Workspace\ProjectSystem\ProjectSystemProjectOptionsProcessor.cs (1)
200.WithXmlReferenceResolver(new XmlFileResolver(_commandLineArgumentsForCommandLine.BaseDirectory))
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\MSBuildProjectLoader.Worker.cs (1)
352.WithXmlReferenceResolver(new XmlFileResolver(projectDirectory))