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