10 references to WithMetadataResolver
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (2)
InteractiveSessionReferencesTests.cs (2)
121var options = ScriptOptions.WithMetadataResolver(ScriptMetadataResolver.WithSearchPaths(RuntimeEnvironment.GetRuntimeDirectory())); 226WithMetadataResolver(ScriptMetadataResolver.WithSearchPaths(RuntimeEnvironment.GetRuntimeDirectory())).
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (3)
InteractiveSessionTests.cs (3)
1643ScriptOptions.WithMetadataResolver(TestRuntimeMetadataReferenceResolver.Instance), 1701WithMetadataResolver(TestRuntimeMetadataReferenceResolver.Instance). 1768ScriptOptions.WithMetadataResolver(TestRuntimeMetadataReferenceResolver.Instance),
Microsoft.CodeAnalysis.InteractiveHost (3)
Interactive\Core\InteractiveHost.Service.cs (3)
134scriptOptions: ScriptOptions.Default.WithMetadataResolver(new ScriptMetadataResolver(referenceResolver)), 450newOptions = newOptions.WithMetadataResolver(metadataResolver); 571WithMetadataResolver(metadataResolver).
Microsoft.CodeAnalysis.Scripting (1)
Hosting\CommandLine\CommandLineRunner.cs (1)
334WithMetadataResolver(currentMetadataResolver.
Microsoft.CodeAnalysis.Scripting.TestUtilities (1)
ScriptTestBase.cs (1)
38.WithMetadataResolver(ScriptMetadataResolver)