2 writes to MetadataResolver
Microsoft.CodeAnalysis.Scripting (2)
ScriptOptions.cs (2)
169MetadataResolver = metadataResolver; 311=> MetadataResolver == resolver ? this : new ScriptOptions(this) { MetadataResolver = resolver };
10 references to MetadataResolver
Microsoft.CodeAnalysis.CSharp.Scripting (1)
CSharpScriptCompiler.cs (1)
68metadataReferenceResolver: script.Options.MetadataResolver,
Microsoft.CodeAnalysis.InteractiveHost (3)
Interactive\Core\InteractiveHost.Service.cs (3)
79Debug.Assert(scriptOptions.MetadataResolver is ScriptMetadataResolver); 88=> (ScriptMetadataResolver)ScriptOptions.MetadataResolver; 320var resolvedReferences = state.ScriptOptions.MetadataResolver.ResolveReference(reference, baseFilePath: null, properties: MetadataReferenceProperties.Assembly);
Microsoft.CodeAnalysis.Scripting (5)
Hosting\CommandLine\CommandLineRunner.cs (1)
324var currentMetadataResolver = (RuntimeMetadataReferenceResolver)options.MetadataResolver;
Script.cs (1)
251var resolver = Options.MetadataResolver;
ScriptOptions.cs (3)
185metadataResolver: other.MetadataResolver, 308/// Creates a new <see cref="ScriptOptions"/> with specified <see cref="MetadataResolver"/>. 311=> MetadataResolver == resolver ? this : new ScriptOptions(this) { MetadataResolver = resolver };
Microsoft.CodeAnalysis.VisualBasic.Scripting (1)
VisualBasicScriptCompiler.vb (1)
91metadataReferenceResolver:=script.Options.MetadataResolver,