3 writes to MetadataReferenceResolver
Microsoft.CodeAnalysis (1)
Compilation\CompilationOptions.cs (1)
319this.MetadataReferenceResolver = metadataReferenceResolver;
Microsoft.CodeAnalysis.CSharp (1)
CSharpCompilationOptions.cs (1)
599return new CSharpCompilationOptions(this) { MetadataReferenceResolver = resolver };
Microsoft.CodeAnalysis.VisualBasic (1)
VisualBasicCompilationOptions.vb (1)
962Return New VisualBasicCompilationOptions(Me) With {.MetadataReferenceResolver = resolver}
23 references to MetadataReferenceResolver
Microsoft.CodeAnalysis (9)
Compilation\CompilationOptions.cs (5)
344&& object.Equals(this.MetadataReferenceResolver, other.MetadataReferenceResolver) 644object.Equals(this.MetadataReferenceResolver, other.MetadataReferenceResolver) && 691Hash.Combine(this.MetadataReferenceResolver,
Compilation\DeterministicKeyBuilder.cs (1)
501WriteType(writer, "metadataReferenceResolver", options.MetadataReferenceResolver?.GetType());
ReferenceManager\CommonReferenceManager.Resolution.cs (3)
805if (compilation.Options.MetadataReferenceResolver == null) 874Debug.Assert(compilation.Options.MetadataReferenceResolver != null); 876var references = compilation.Options.MetadataReferenceResolver.ResolveReference(reference, basePath, MetadataReferenceProperties.Assembly.WithRecursiveAliases(true));
Microsoft.CodeAnalysis.CSharp (3)
CSharpCompilationOptions.cs (2)
255metadataReferenceResolver: other.MetadataReferenceResolver, 594if (ReferenceEquals(resolver, this.MetadataReferenceResolver))
Symbols\ReferenceManager.cs (1)
387compilation.Options.MetadataReferenceResolver,
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Compilation\CompilationAPITests.cs (1)
2005var c3 = c1.WithOptions(TestOptions.ReleaseDll.WithMetadataReferenceResolver(c1.Options.MetadataReferenceResolver));
Compilation\CSharpCompilationOptionsTests.cs (2)
93TestHiddenProperty((old, value) => old.WithMetadataReferenceResolver(value), opt => opt.MetadataReferenceResolver, new TestMetadataReferenceResolver()); 134TestProperty((old, value) => old.WithMetadataReferenceResolver(value), opt => opt.MetadataReferenceResolver, new TestMetadataReferenceResolver());
Microsoft.CodeAnalysis.EditorFeatures (1)
Interactive\InteractiveSession.cs (1)
265var metadataResolver = (RuntimeMetadataReferenceResolver)compilationOptions.MetadataReferenceResolver!;
Microsoft.CodeAnalysis.Features (2)
Completion\Providers\Scripting\AbstractDirectivePathCompletionProvider.cs (1)
167if (document.Project.CompilationOptions?.MetadataReferenceResolver is RuntimeMetadataReferenceResolver resolver)
Completion\Providers\Scripting\AbstractReferenceDirectiveCompletionProvider.cs (1)
51var resolver = context.Document.Project.CompilationOptions.MetadataReferenceResolver as RuntimeMetadataReferenceResolver;
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
RoundTripUtil.cs (1)
230case nameof(CompilationOptions.MetadataReferenceResolver):
Microsoft.CodeAnalysis.VisualBasic (3)
Symbols\ReferenceManager.vb (1)
334compilation.Options.MetadataReferenceResolver,
VisualBasicCompilationOptions.vb (2)
328metadataReferenceResolver:=other.MetadataReferenceResolver, 958If resolver Is Me.MetadataReferenceResolver Then
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Compilation\CompilationAPITests.vb (1)
2280Dim c3 = c1.WithOptions(TestOptions.ReleaseDll.WithMetadataReferenceResolver(c1.Options.MetadataReferenceResolver))