23 references to WithSourceReferenceResolver
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateGenerator\CompileTimeCreationTests.cs (1)
161return options.WithSourceReferenceResolver(
Microsoft.CodeAnalysis.CSharp (1)
CSharpCompilationOptions.cs (1)
642WithSourceReferenceResolver(resolver);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\GotoTest.cs (1)
1128var options = TestOptions.DebugDll.WithSourceReferenceResolver(resolver);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (4)
PDB\CheckSumTest.cs (2)
26TestOptions.DebugDll.WithSourceReferenceResolver(new SourceFileResolver(ImmutableArray.Create<string>(), baseDirectory))); 304TestOptions.DebugDll.WithSourceReferenceResolver(null));
PDB\PDBTests.cs (2)
174options: TestOptions.DebugDll.WithSourceReferenceResolver(SourceFileResolver.Default)); 218options: TestOptions.DebugDll.WithSourceReferenceResolver(SourceFileResolver.Default));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Attributes\AttributeTests_CallerInfoAttributes.cs (3)
4175TestOptions.ReleaseExe.WithSourceReferenceResolver(SourceFileResolver.Default)); 4213options: TestOptions.ReleaseExe.WithSourceReferenceResolver(SourceFileResolver.Default)); 4271TestOptions.ReleaseExe.WithSourceReferenceResolver(new SourceFileResolver(ImmutableArray<string>.Empty, baseDirectory: @"C:\A\B")));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\InteractiveUsingTests.cs (3)
365options: TestOptions.DebugDll.WithSourceReferenceResolver(resolver)); 436options: TestOptions.DebugDll.WithSourceReferenceResolver(resolver), 486options: TestOptions.DebugDll.WithSourceReferenceResolver(resolver).WithUsings("System.IO", "System.IO.Path"));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (9)
Compilation\CompilationAPITests.cs (1)
336342", returnType: typeof(int), options: TestOptions.DebugDll.WithSourceReferenceResolver(resolver));
Compilation\LoadDirectiveTests.cs (6)
21var options = TestOptions.DebugDll.WithSourceReferenceResolver(TestSourceReferenceResolver.Default); 34var options = TestOptions.DebugDll.WithSourceReferenceResolver(TestSourceReferenceResolver.Default); 53var options = TestOptions.DebugDll.WithSourceReferenceResolver(resolver); 78var options = TestOptions.DebugDll.WithSourceReferenceResolver(resolver); 156var options = TestOptions.DebugDll.WithSourceReferenceResolver(resolver); 176options = TestOptions.DebugDll.WithSourceReferenceResolver(resolver);
DocumentationComments\DocumentationCommentCompilerTests.cs (1)
7357options: TestOptions.ReleaseDll.WithSourceReferenceResolver(SourceFileResolver.Default).WithXmlReferenceResolver(XmlFileResolver.Default),
Symbols\Source\FileModifierTests.cs (1)
842var comp3 = CreateCompilation(testSource2, options: options.WithSourceReferenceResolver(resolver), assemblyName: "filetypes");
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ProjectSystemShim\TempPECompilerService.cs (1)
62.WithSourceReferenceResolver(SourceFileResolver.Default)