4 types derived from SourceFileResolver
Microsoft.CodeAnalysis (1)
CommandLine\CommonCompiler.LoggingSourceFileResolver.cs (1)
12internal sealed class LoggingSourceFileResolver : SourceFileResolver
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\LocationsTests.cs (1)
22private class TestSourceResolver : SourceFileResolver
Microsoft.CodeAnalysis.Scripting (1)
ScriptSourceResolver.cs (1)
15public sealed class ScriptSourceResolver : SourceFileResolver, IEquatable<ScriptSourceResolver>
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
LocationTests.vb (1)
17Inherits SourceFileResolver
12 instantiations of SourceFileResolver
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateGenerator\CompileTimeCreationTests.cs (1)
162new SourceFileResolver(ImmutableArray<string>.Empty, currentDirectory, ImmutableArray.Create(new KeyValuePair<string, string>(currentDirectory, mappedDirectory))));
Microsoft.CodeAnalysis (1)
SourceFileResolver.cs (1)
21public static SourceFileResolver Default { get; } = new SourceFileResolver(ImmutableArray<string>.Empty, baseDirectory: null);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
PDB\CheckSumTest.cs (1)
26TestOptions.DebugDll.WithSourceReferenceResolver(new SourceFileResolver(ImmutableArray.Create<string>(), baseDirectory)));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\AttributeTests_CallerInfoAttributes.cs (1)
4271TestOptions.ReleaseExe.WithSourceReferenceResolver(new SourceFileResolver(ImmutableArray<string>.Empty, baseDirectory: @"C:\A\B")));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\CSharpCompilationOptionsTests.cs (1)
405SourceReferenceResolver sourceReferenceResolver = new SourceFileResolver(ImmutableArray<string>.Empty, null);
Symbols\Source\FileModifierTests.cs (1)
838var resolver = new SourceFileResolver(
Microsoft.CodeAnalysis.EditorFeatures (1)
Interactive\InteractiveSession.cs (1)
395=> new SourceFileResolver(searchPaths, baseDirectory);
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.Service.cs (1)
187return new SourceFileResolver(searchPaths, baseDirectory);
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
PDB\ChecksumTests.vb (1)
31Dim resolver As New SourceFileResolver(ImmutableArray(Of String).Empty, baseDirectory)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Compilation\VisualBasicCompilationOptionsTests.vb (2)
47TestHiddenProperty(Function(old, value) old.WithSourceReferenceResolver(value), Function(opt) opt.SourceReferenceResolver, New SourceFileResolver(ImmutableArray(Of String).Empty, Nothing)) 124TestProperty(Function(old, value) old.WithSourceReferenceResolver(value), Function(opt) opt.SourceReferenceResolver, New SourceFileResolver(ImmutableArray(Of String).Empty, Nothing))
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
LocationTests.vb (1)
20MyBase.New(ImmutableArray(Of String).Empty, Nothing)
20 references to SourceFileResolver
Microsoft.CodeAnalysis (4)
SourceFileResolver.cs (4)
19public class SourceFileResolver : SourceReferenceResolver, IEquatable<SourceFileResolver> 21public static SourceFileResolver Default { get; } = new SourceFileResolver(ImmutableArray<string>.Empty, baseDirectory: null); 132return Equals((SourceFileResolver)obj); 135public bool Equals(SourceFileResolver? other)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
PDB\PDBTests.cs (2)
174options: TestOptions.DebugDll.WithSourceReferenceResolver(SourceFileResolver.Default)); 218options: TestOptions.DebugDll.WithSourceReferenceResolver(SourceFileResolver.Default));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Attributes\AttributeTests_CallerInfoAttributes.cs (2)
4175TestOptions.ReleaseExe.WithSourceReferenceResolver(SourceFileResolver.Default)); 4213options: TestOptions.ReleaseExe.WithSourceReferenceResolver(SourceFileResolver.Default));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
DocumentationComments\DocumentationCommentCompilerTests.cs (1)
7357options: TestOptions.ReleaseDll.WithSourceReferenceResolver(SourceFileResolver.Default).WithXmlReferenceResolver(XmlFileResolver.Default),
Symbols\Source\FileModifierTests.cs (1)
838var resolver = new SourceFileResolver(
Microsoft.CodeAnalysis.EditorFeatures (2)
Interactive\InteractiveSession.cs (2)
287var sourceResolver = (SourceFileResolver)compilationOptions.SourceReferenceResolver!;
Microsoft.CodeAnalysis.Scripting (1)
ScriptOptions.cs (1)
30sourceResolver: SourceFileResolver.Default,
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
PDB\PDBExternalSourceDirectiveTests.vb (1)
782TestOptions.DebugDll.WithSourceReferenceResolver(SourceFileResolver.Default))
Microsoft.CodeAnalysis.VisualBasic.Scripting (1)
VisualBasicScriptCompiler.vb (1)
90sourceReferenceResolver:=SourceFileResolver.Default,
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Semantics\OptionalArgumentTests.vb (1)
2029TestOptions.ReleaseExe.WithSourceReferenceResolver(SourceFileResolver.Default))
Microsoft.CodeAnalysis.Workspaces (2)
Serialization\AbstractOptionsSerializationService.cs (2)
160var sourceReferenceResolver = SourceFileResolver.Default;
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestWorkspace_XmlConsumption.cs (1)
518.WithSourceReferenceResolver(SourceFileResolver.Default)
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ProjectSystemShim\TempPECompilerService.cs (1)
62.WithSourceReferenceResolver(SourceFileResolver.Default)