11 references to WithMetadataReferenceResolver
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CSharpCompiler.cs (1)
165.WithMetadataReferenceResolver(referenceDirectiveResolver)
CSharpCompilationOptions.cs (1)
648WithMetadataReferenceResolver(resolver);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Compilation\CompilationAPITests.cs (1)
2005var c3 = c1.WithOptions(TestOptions.ReleaseDll.WithMetadataReferenceResolver(c1.Options.MetadataReferenceResolver));
Compilation\CSharpCompilationOptionsTests.cs (1)
134TestProperty((old, value) => old.WithMetadataReferenceResolver(value), opt => opt.MetadataReferenceResolver, new TestMetadataReferenceResolver());
Compilation\ReferenceManagerTests.cs (1)
1280options: TestOptions.ReleaseDll.WithMetadataReferenceResolver(resolver));
Symbols\CompilationCreationTests.cs (4)
2703options: TestOptions.ReleaseDll.WithMetadataReferenceResolver(new Resolver(data, core, system))); 2739options: TestOptions.ReleaseDll.WithMetadataReferenceResolver(new Resolver(data, core, system))); 2784options: TestOptions.ReleaseDll.WithMetadataReferenceResolver(new DummyReferenceResolver(csClasses01))); 2794options: TestOptions.ReleaseDll.WithMetadataReferenceResolver(null));
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
TestOptions.cs (2)
82public static readonly CSharpCompilationOptions DebugDllThrowing = DebugDll.WithMetadataReferenceResolver(new ThrowingMetadataReferenceResolver()); 83public static readonly CSharpCompilationOptions DebugExeThrowing = DebugExe.WithMetadataReferenceResolver(new ThrowingMetadataReferenceResolver());